rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
CLDRFile result = new CLDRFile(null, false); result.dataSource.setLocaleID(localeName); return result; }
CLDRFile result = new CLDRFile(null, false); result.dataSource.setLocaleID(localeName); return result; }
public static CLDRFile make(String localeName) { CLDRFile result = new CLDRFile(null, false); result.dataSource.setLocaleID(localeName); return result; }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/4716264464632750d34da5032a0718e1d756a967/CLDRFile.java/buggy/tools/java/org/unicode/cldr/util/CLDRFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 14934, 6331, 812, 1221, 12, 780, 2573, 461, 13, 288, 377, 202, 5017, 6331, 812, 563, 273, 394, 14934, 6331, 812, 12, 2011, 16, 629, 1769, 202, 202, 2088, 18, 892, 1830, 18, 542, 3916, 734, 12, 6339, 461, 1769, 202, 202, 2463, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 14934, 6331, 812, 1221, 12, 780, 2573, 461, 13, 288, 377, 202, 5017, 6331, 812, 563, 273, 394, 14934, 6331, 812, 12, 2011, 16, 629, 1769, 202, 202, 2088, 18, 892, 1830, 18, 542, 3916, 734, 12, 6339, 461, 1769, 202, 202, 2463, 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, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.ContractMultiplier getContractMultiplier() throws FieldNotFound { org.quickfix.field.ContractMultiplier value = new org.quickfix.field.ContractMultiplier();
public quickfix.field.ContractMultiplier getContractMultiplier() throws FieldNotFound { quickfix.field.ContractMultiplier value = new quickfix.field.ContractMultiplier();
public org.quickfix.field.ContractMultiplier getContractMultiplier() throws FieldNotFound { org.quickfix.field.ContractMultiplier value = new org.quickfix.field.ContractMultiplier(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderCancelRequest.java/clean/src/java/src/quickfix/fix44/OrderCancelRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8924, 23365, 336, 8924, 23365, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8924, 23365, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8924, 23365, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8924, 23365, 336, 8924, 23365, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8924, 23365, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8924, 23365, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
+"I"
private void generateFunctionInit(ClassFileWriter cfw, OptFunctionNode ofn) { final int CONTEXT_ARG = 1; final int SCOPE_ARG = 2; cfw.startMethod(getFunctionInitMethodName(ofn), FUNCTION_INIT_SIGNATURE, (short)(ClassFileWriter.ACC_PRIVATE | ClassFileWriter.ACC_FINAL)); // Call NativeFunction.initScriptFunction cfw.addLoadThis(); cfw.addALoad(CONTEXT_ARG); cfw.addALoad(SCOPE_ARG); cfw.addPush(compilerEnv.getLanguageVersion()); cfw.addPush(ofn.fnode.getFunctionName()); pushParamNamesArray(cfw, ofn.fnode); cfw.addPush(ofn.fnode.getParamCount()); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, "org/mozilla/javascript/NativeFunction", "initScriptFunction", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"I" +"Ljava/lang/String;" +"[Ljava/lang/String;" +"I" +")V"); // precompile all regexp literals int regexpCount = ofn.fnode.getRegexpCount(); if (regexpCount != 0) { cfw.addLoadThis(); pushRegExpArray(cfw, ofn.fnode, CONTEXT_ARG, SCOPE_ARG); cfw.add(ByteCode.PUTFIELD, mainClassName, REGEXP_ARRAY_FIELD_NAME, REGEXP_ARRAY_FIELD_TYPE); } cfw.add(ByteCode.RETURN); // 3 = (scriptThis/functionRef) + scope + context cfw.stopMethod((short)3); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/993454366a57fd32ee051c61ff3a0658292d84f2/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 2083, 2570, 12, 797, 812, 2289, 6080, 91, 16, 4766, 1377, 12056, 2083, 907, 434, 82, 13, 565, 288, 3639, 727, 509, 13862, 67, 10973, 273, 404, 31, 3639, 727, 509, 19296, 67, 10973, 273, 576, 31, 3639, 6080, 91, 18, 1937, 1305, 12, 588, 2083, 2570, 11666, 12, 792, 82, 3631, 13491, 13690, 67, 12919, 67, 26587, 16, 13491, 261, 6620, 21433, 797, 812, 2289, 18, 31414, 67, 20055, 27573, 571, 30614, 2289, 18, 31414, 67, 7263, 1013, 10019, 3639, 368, 3049, 16717, 2083, 18, 2738, 3651, 2083, 3639, 6080, 91, 18, 1289, 2563, 2503, 5621, 3639, 6080, 91, 18, 1289, 1013, 6189, 12, 13181, 67, 10973, 1769, 3639, 6080, 91, 18, 1289, 1013, 6189, 12, 19444, 67, 10973, 1769, 3639, 6080, 91, 18, 1289, 7621, 12, 9576, 3491, 18, 588, 3779, 1444, 10663, 3639, 6080, 91, 18, 1289, 7621, 12, 792, 82, 18, 74, 2159, 18, 588, 25258, 10663, 3639, 1817, 786, 1557, 1076, 12, 8522, 91, 16, 434, 82, 18, 74, 2159, 1769, 3639, 6080, 91, 18, 1289, 7621, 12, 792, 82, 18, 74, 2159, 18, 588, 786, 1380, 10663, 3639, 6080, 91, 18, 1289, 10969, 12, 3216, 1085, 18, 706, 17691, 41, 26854, 16, 8227, 315, 3341, 19, 8683, 15990, 19, 11242, 19, 9220, 2083, 3113, 8227, 315, 2738, 3651, 2083, 3113, 8227, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 8227, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 4766, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 2083, 2570, 12, 797, 812, 2289, 6080, 91, 16, 4766, 1377, 12056, 2083, 907, 434, 82, 13, 565, 288, 3639, 727, 509, 13862, 67, 10973, 273, 404, 31, 3639, 727, 509, 19296, 67, 10973, 273, 576, 31, 3639, 6080, 91, 18, 1937, 1305, 12, 588, 2083, 2570, 11666, 12, 792, 82, 3631, 13491, 13690, 67, 12919, 67, 26587, 16, 13491, 261, 6620, 21433, 797, 812, 2289, 18, 31414, 67, 20055, 27573, 571, 30614, 2289, 18, 31414, 67, 7263, 1013, 10019, 3639, 368, 3049, 16717, 2083, 18, 2738, 3651, 2083, 3639, 6080, 91, 18, 1289, 2563, 2503, 5621, 3639, 6080, 91, 18, 1289, 1013, 6189, 12, 13181, 67, 10973, 1769, 3639, 6080, 91, 18, 1289, 1013, 2 ]
protected Object getLeastAccessedKey(){ Iterator keyIter = getAcesses().keySet().iterator(); Object theReturn = null; int lowestIntVal = -1; while (keyIter.hasNext()) { Object key = keyIter.next(); Integer integ = (Integer)this.getAcesses().get(key); int intval = integ.intValue(); if(intval<lowestIntVal || lowestIntVal==-1){ lowestIntVal = intval; theReturn = key; } } return theReturn; }
protected Object getLeastAccessedKey() { return getLeastAccessedKeyInteger(); }
protected Object getLeastAccessedKey(){ Iterator keyIter = getAcesses().keySet().iterator(); Object theReturn = null; int lowestIntVal = -1; while (keyIter.hasNext()) { Object key = keyIter.next(); Integer integ = (Integer)this.getAcesses().get(key); int intval = integ.intValue(); if(intval<lowestIntVal || lowestIntVal==-1){ lowestIntVal = intval; theReturn = key; } } return theReturn; }
52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/bff8905edce84a4c76050df86d3d2e68e2b734de/CacheMap.java/clean/src/java/com/idega/util/caching/CacheMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1033, 336, 17319, 27762, 653, 1435, 95, 565, 4498, 498, 2360, 273, 4506, 614, 281, 7675, 856, 694, 7675, 9838, 5621, 565, 1033, 326, 990, 273, 446, 31, 565, 509, 11981, 1702, 3053, 273, 300, 21, 31, 565, 1323, 261, 856, 2360, 18, 5332, 2134, 10756, 288, 1377, 1033, 498, 273, 498, 2360, 18, 4285, 5621, 1377, 2144, 5780, 273, 261, 4522, 13, 2211, 18, 588, 37, 614, 281, 7675, 588, 12, 856, 1769, 1377, 509, 8096, 273, 5780, 18, 474, 620, 5621, 1377, 309, 12, 474, 1125, 32, 821, 395, 1702, 3053, 747, 11981, 1702, 3053, 631, 17, 21, 15329, 3639, 11981, 1702, 3053, 273, 8096, 31, 3639, 326, 990, 273, 498, 31, 1377, 289, 565, 289, 565, 327, 326, 990, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1033, 336, 17319, 27762, 653, 1435, 95, 565, 4498, 498, 2360, 273, 4506, 614, 281, 7675, 856, 694, 7675, 9838, 5621, 565, 1033, 326, 990, 273, 446, 31, 565, 509, 11981, 1702, 3053, 273, 300, 21, 31, 565, 1323, 261, 856, 2360, 18, 5332, 2134, 10756, 288, 1377, 1033, 498, 273, 498, 2360, 18, 4285, 5621, 1377, 2144, 5780, 273, 261, 4522, 13, 2211, 18, 588, 37, 614, 281, 7675, 588, 12, 856, 1769, 1377, 509, 8096, 273, 5780, 18, 474, 620, 5621, 1377, 309, 12, 474, 1125, 32, 821, 395, 1702, 3053, 747, 11981, 1702, 3053, 631, 17, 21, 15329, 3639, 11981, 1702, 3053, 273, 8096, 31, 3639, 326, 990, 273, 498, 31, 1377, 289, 565, 2 ]
if (destinationPaths == null) return;
if (destinationPaths == null) { return; }
public void copyProject(IProject project) { errorStatus = null; //Get the project name and location in a two element list ProjectLocationSelectionDialog dialog = new ProjectLocationSelectionDialog( parentShell, project); dialog.setTitle(IDEWorkbenchMessages.CopyProjectOperation_copyProject); if (dialog.open() != Window.OK) return; Object[] destinationPaths = dialog.getResult(); if (destinationPaths == null) return; String newName = (String) destinationPaths[0]; IPath newLocation = new Path((String) destinationPaths[1]); if (!validateCopy(parentShell, project, newName, getModelProviderIds())) return; boolean completed = performProjectCopy(project, newName, newLocation); if (!completed) // ie.- canceled return; // not appropriate to show errors // If errors occurred, open an Error dialog if (errorStatus != null) { ErrorDialog.openError(parentShell, IDEWorkbenchMessages.CopyProjectOperation_copyFailedTitle, null, errorStatus); errorStatus = null; } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/CopyProjectOperation.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyProjectOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1610, 4109, 12, 45, 4109, 1984, 13, 288, 3639, 555, 1482, 273, 446, 31, 3639, 368, 967, 326, 1984, 508, 471, 2117, 316, 279, 2795, 930, 666, 3639, 5420, 2735, 6233, 6353, 6176, 273, 394, 5420, 2735, 6233, 6353, 12, 7734, 982, 13220, 16, 1984, 1769, 3639, 6176, 18, 542, 4247, 12, 10385, 2421, 22144, 5058, 18, 2951, 4109, 2988, 67, 3530, 4109, 1769, 3639, 309, 261, 12730, 18, 3190, 1435, 480, 6076, 18, 3141, 13, 5411, 327, 31, 3639, 1033, 8526, 2929, 4466, 273, 6176, 18, 588, 1253, 5621, 3639, 309, 261, 10590, 4466, 422, 446, 13, 5411, 327, 31, 3639, 514, 13253, 273, 261, 780, 13, 2929, 4466, 63, 20, 15533, 3639, 467, 743, 394, 2735, 273, 394, 2666, 12443, 780, 13, 2929, 4466, 63, 21, 19226, 3639, 309, 16051, 5662, 2951, 12, 2938, 13220, 16, 1984, 16, 13253, 16, 7454, 2249, 2673, 1435, 3719, 540, 202, 2463, 31, 7734, 1250, 5951, 273, 3073, 4109, 2951, 12, 4406, 16, 13253, 16, 394, 2735, 1769, 3639, 309, 16051, 13615, 13, 368, 9228, 18, 17, 17271, 5411, 327, 31, 368, 486, 5505, 358, 2405, 1334, 3639, 368, 971, 1334, 7841, 16, 1696, 392, 1068, 6176, 3639, 309, 261, 1636, 1482, 480, 446, 13, 288, 5411, 1068, 6353, 18, 3190, 668, 12, 2938, 13220, 16, 1599, 41, 2421, 22144, 5058, 18, 2951, 4109, 2988, 67, 3530, 2925, 4247, 16, 10792, 446, 16, 555, 1482, 1769, 5411, 555, 1482, 273, 446, 31, 3639, 289, 565, 289, 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, 1610, 4109, 12, 45, 4109, 1984, 13, 288, 3639, 555, 1482, 273, 446, 31, 3639, 368, 967, 326, 1984, 508, 471, 2117, 316, 279, 2795, 930, 666, 3639, 5420, 2735, 6233, 6353, 6176, 273, 394, 5420, 2735, 6233, 6353, 12, 7734, 982, 13220, 16, 1984, 1769, 3639, 6176, 18, 542, 4247, 12, 10385, 2421, 22144, 5058, 18, 2951, 4109, 2988, 67, 3530, 4109, 1769, 3639, 309, 261, 12730, 18, 3190, 1435, 480, 6076, 18, 3141, 13, 5411, 327, 31, 3639, 1033, 8526, 2929, 4466, 273, 6176, 18, 588, 1253, 5621, 3639, 309, 261, 10590, 4466, 422, 446, 13, 5411, 327, 31, 3639, 514, 13253, 273, 261, 780, 13, 2929, 4466, 63, 20, 15533, 3639, 467, 743, 2 ]
public ProfileManager(ObjectStore os, ObjectStoreWriter userProfileOS) throws ObjectStoreException {
public ProfileManager(ObjectStore os, ObjectStoreWriter userProfileOS) {
public ProfileManager(ObjectStore os, ObjectStoreWriter userProfileOS) throws ObjectStoreException { this.os = os; makeTagCheckers(os.getModel()); this.osw = userProfileOS; }
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/c525a7be8a640a150b0a936efd2ea57840baeeb4/ProfileManager.java/clean/intermine/web/main/src/org/intermine/web/ProfileManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11357, 1318, 12, 921, 2257, 1140, 16, 1033, 2257, 2289, 729, 4029, 4618, 13, 3639, 1216, 1033, 21151, 288, 3639, 333, 18, 538, 273, 1140, 31, 3639, 1221, 1805, 1564, 414, 12, 538, 18, 588, 1488, 10663, 3639, 333, 18, 538, 91, 273, 729, 4029, 4618, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11357, 1318, 12, 921, 2257, 1140, 16, 1033, 2257, 2289, 729, 4029, 4618, 13, 3639, 1216, 1033, 21151, 288, 3639, 333, 18, 538, 273, 1140, 31, 3639, 1221, 1805, 1564, 414, 12, 538, 18, 588, 1488, 10663, 3639, 333, 18, 538, 91, 273, 729, 4029, 4618, 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 ]
public java.util.List getClubListForUserFromTopNodes(com.idega.user.data.User p0,com.idega.idegaweb.IWUserContext p1)throws java.rmi.RemoteException, java.rmi.RemoteException;
public List getClubListForUserFromTopNodes(User user, IWUserContext iwuc) throws RemoteException;
public java.util.List getClubListForUserFromTopNodes(com.idega.user.data.User p0,com.idega.idegaweb.IWUserContext p1)throws java.rmi.RemoteException, java.rmi.RemoteException;
57353 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57353/b9085a11980388ff611f369f0d4dbedb5242fdd2/MemberUserBusiness.java/buggy/src/java/is/idega/idegaweb/member/business/MemberUserBusiness.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 2252, 18, 1367, 18, 682, 13674, 373, 682, 19894, 1265, 3401, 3205, 12, 832, 18, 831, 15833, 18, 1355, 18, 892, 18, 1299, 293, 20, 16, 832, 18, 831, 15833, 18, 831, 15833, 4875, 18, 45, 59, 1299, 1042, 293, 21, 13, 15069, 2252, 18, 8864, 77, 18, 5169, 503, 16, 2252, 18, 8864, 77, 18, 5169, 503, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 2252, 18, 1367, 18, 682, 13674, 373, 682, 19894, 1265, 3401, 3205, 12, 832, 18, 831, 15833, 18, 1355, 18, 892, 18, 1299, 293, 20, 16, 832, 18, 831, 15833, 18, 831, 15833, 4875, 18, 45, 59, 1299, 1042, 293, 21, 13, 15069, 2252, 18, 8864, 77, 18, 5169, 503, 16, 2252, 18, 8864, 77, 18, 5169, 503, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new Column(m_table, m_column);
result = new Column(m_table, m_column);
public Column generateLogicalModel() { if (m_type != null) { return new Column(m_table, m_column, m_type.getTypeCode(), m_type.getSize()); } else { return new Column(m_table, m_column); } }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/404232540a6189e72b44b58b6e693d45eabdcc81/ColumnDef.java/clean/archive/core-platform/src/com/arsdigita/persistence/pdl/ast/ColumnDef.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4753, 2103, 17955, 1488, 1435, 288, 3639, 309, 261, 81, 67, 723, 480, 446, 13, 288, 5411, 327, 394, 4753, 12, 81, 67, 2121, 16, 312, 67, 2827, 16, 312, 67, 723, 18, 588, 15460, 9334, 17311, 312, 67, 723, 18, 588, 1225, 10663, 3639, 289, 469, 288, 5411, 563, 273, 394, 4753, 12, 81, 67, 2121, 16, 312, 67, 2827, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4753, 2103, 17955, 1488, 1435, 288, 3639, 309, 261, 81, 67, 723, 480, 446, 13, 288, 5411, 327, 394, 4753, 12, 81, 67, 2121, 16, 312, 67, 2827, 16, 312, 67, 723, 18, 588, 15460, 9334, 17311, 312, 67, 723, 18, 588, 1225, 10663, 3639, 289, 469, 288, 5411, 563, 273, 394, 4753, 12, 81, 67, 2121, 16, 312, 67, 2827, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (! c.shrinkWrap()) { current.setFloatDistances(new FloatDistances() { public int getLeftFloatDistance() { return c.getBlockFormattingContext().getLeftFloatDistance( c, current, maxAvailableWidth); } public int getRightFloatDistance() { return c.getBlockFormattingContext().getRightFloatDistance( c, current, maxAvailableWidth); } }); current.align(); current.setFloatDistances(null);
if (!c.shrinkWrap()) { current.setFloatDistances(new FloatDistances() { public int getLeftFloatDistance() { return c.getBlockFormattingContext().getLeftFloatDistance(c, current, maxAvailableWidth); } public int getRightFloatDistance() { return c.getBlockFormattingContext().getRightFloatDistance(c, current, maxAvailableWidth); } }); current.align(); current.setFloatDistances(null);
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats) { current.prunePendingInlineBoxes(); int totalLineWidth = positionHorizontally(c, current, 0); current.contentWidth = totalLineWidth; positionVertically(c, block, current); if (! c.shrinkWrap()) { current.setFloatDistances(new FloatDistances() { public int getLeftFloatDistance() { return c.getBlockFormattingContext().getLeftFloatDistance( c, current, maxAvailableWidth); } public int getRightFloatDistance() { return c.getBlockFormattingContext().getRightFloatDistance( c, current, maxAvailableWidth); } }); current.align(); current.setFloatDistances(null); } else { // FIXME Not right, but can't calculated float distance yet // because we don't know how wide the line is. Should save // BFC and BFC offset and use that to calculate float distance // correctly when we're ready to align the line. FloatDistances distances = new FloatDistances(); distances.setLeftFloatDistance(0); distances.setRightFloatDistance(0); current.setFloatDistances(distances); } /* if (c.hasFirstLineStyles()) {// first pop element styles pushed on first line for (int i = 0; i < pushedOnFirstLine.size(); i++) c.popStyle();// Now save the first-line style current.firstLinePseudo = new InlineElement(null, "first-line", null); Style fls = new Style(c.getCurrentStyle(), bounds.width); current.firstLinePseudo.setStartStyle(fls); current.firstLinePseudo.setEndStyle(fls);// then pop first-line styles for (int i = 0; i < c.getFirstLineStyles().size(); i++) c.popStyle();// reinstate element styles for (Iterator i = pushedOnFirstLine.iterator(); i.hasNext();) { c.pushStyle((CascadedStyle) i.next()); } c.clearFirstLineStyles(); } */ if (c.shrinkWrap()) { block.adjustWidthForChild(current.contentWidth); } current.y = previous == null ? 0 : previous.y + previous.height; if (current.height != 0 && current.height < minHeight) {//would like to discard it otherwise, but that could lose inline elements current.height = minHeight; } block.addChild(current); if (pendingFloats.size() > 0) { c.setFloatingY(c.getFloatingY() + current.height); c.getBlockFormattingContext().floatPending(c, pendingFloats); } // new float code if (!block.getStyle().isClearLeft()) { current.x += c.getBlockFormattingContext().getLeftFloatDistance( c, current, maxAvailableWidth); } }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/ceb21dee5f070c3ac63d70ae7b6eb22a7c0b4641/InlineBoxing.java/buggy/src/java/org/xhtmlrenderer/layout/InlineBoxing.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1923, 1670, 12, 6385, 5377, 3514, 783, 16, 5377, 3514, 2416, 16, 2398, 727, 9995, 1042, 276, 16, 8549, 1203, 16, 509, 1131, 2686, 16, 2398, 727, 509, 943, 5268, 2384, 16, 987, 930, 2624, 16, 987, 4634, 4723, 87, 13, 288, 3639, 783, 18, 28545, 8579, 10870, 29521, 5621, 7734, 509, 2078, 1670, 2384, 273, 1754, 44, 6157, 1230, 12, 71, 16, 783, 16, 374, 1769, 3639, 783, 18, 1745, 2384, 273, 2078, 1670, 2384, 31, 7734, 1754, 4828, 6478, 12, 71, 16, 1203, 16, 783, 1769, 7734, 309, 16051, 276, 18, 674, 12334, 2964, 10756, 288, 540, 202, 2972, 18, 542, 4723, 5133, 6872, 12, 2704, 5450, 5133, 6872, 1435, 288, 540, 202, 202, 482, 509, 15930, 4723, 7200, 1435, 288, 540, 1082, 202, 2463, 276, 18, 588, 1768, 23974, 1042, 7675, 588, 3910, 4723, 7200, 12, 540, 6862, 202, 71, 16, 783, 16, 943, 5268, 2384, 1769, 540, 202, 202, 97, 540, 1082, 540, 202, 202, 482, 509, 16609, 4723, 7200, 1435, 288, 540, 1082, 202, 2463, 276, 18, 588, 1768, 23974, 1042, 7675, 588, 4726, 4723, 7200, 12, 540, 6862, 202, 71, 16, 783, 16, 943, 5268, 2384, 1769, 540, 202, 202, 97, 540, 202, 22938, 540, 202, 2972, 18, 7989, 5621, 540, 202, 2972, 18, 542, 4723, 5133, 6872, 12, 2011, 1769, 3639, 289, 469, 288, 540, 202, 759, 9852, 2288, 2145, 16, 1496, 848, 1404, 8894, 1431, 3888, 4671, 540, 202, 759, 2724, 732, 2727, 1404, 5055, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1923, 1670, 12, 6385, 5377, 3514, 783, 16, 5377, 3514, 2416, 16, 2398, 727, 9995, 1042, 276, 16, 8549, 1203, 16, 509, 1131, 2686, 16, 2398, 727, 509, 943, 5268, 2384, 16, 987, 930, 2624, 16, 987, 4634, 4723, 87, 13, 288, 3639, 783, 18, 28545, 8579, 10870, 29521, 5621, 7734, 509, 2078, 1670, 2384, 273, 1754, 44, 6157, 1230, 12, 71, 16, 783, 16, 374, 1769, 3639, 783, 18, 1745, 2384, 273, 2078, 1670, 2384, 31, 7734, 1754, 4828, 6478, 12, 71, 16, 1203, 16, 783, 1769, 7734, 309, 16051, 276, 18, 674, 12334, 2964, 10756, 288, 540, 202, 2972, 18, 542, 4723, 5133, 6872, 12, 2704, 5450, 5133, 6872, 1435, 288, 540, 202, 2 ]
return "javascript:catchBookmark('" + bookmark + "')";
return "javascript:catchBookmark('" + ParameterAccessor.htmlEncode( bookmark ) + "')";
protected String buildBookmarkAction( IAction action, IReportContext context ) { if ( action == null || context == null ) return null; // Get Base URL String baseURL = null; Object renderContext = getRenderContext( context ); if ( renderContext instanceof HTMLRenderContext ) { baseURL = ( (HTMLRenderContext) renderContext ).getBaseURL( ); } if ( renderContext instanceof PDFRenderContext ) { baseURL = ( (PDFRenderContext) renderContext ).getBaseURL( ); } if ( baseURL == null ) return null; // Get bookmark String bookmark = action.getBookmark( ); // In frameset/run mode, use javascript function to fire Ajax request to // link to internal bookmark if ( baseURL.lastIndexOf( IBirtConstants.SERVLET_PATH_FRAMESET ) > 0 || baseURL.lastIndexOf( IBirtConstants.SERVLET_PATH_RUN ) > 0 ) { return "javascript:catchBookmark('" + bookmark + "')"; //$NON-NLS-1$//$NON-NLS-2$ } // Save the URL String StringBuffer link = new StringBuffer( ); boolean realBookmark = false; if ( this.document != null ) { long pageNumber = this.document .getPageNumber( action.getBookmark( ) ); realBookmark = ( pageNumber == this.page && !isEmbeddable ); } try { bookmark = URLEncoder.encode( bookmark, ParameterAccessor.UTF_8_ENCODE ); } catch ( UnsupportedEncodingException e ) { // Does nothing } link.append( baseURL ); link.append( ParameterAccessor.QUERY_CHAR ); // if the document is not null, then use it if ( document != null ) { link.append( ParameterAccessor.PARAM_REPORT_DOCUMENT ); link.append( ParameterAccessor.EQUALS_OPERATOR ); String documentName = document.getName( ); try { documentName = URLEncoder.encode( documentName, ParameterAccessor.UTF_8_ENCODE ); } catch ( UnsupportedEncodingException e ) { // Does nothing } link.append( documentName ); } else if ( action.getReportName( ) != null && action.getReportName( ).length( ) > 0 ) { link.append( ParameterAccessor.PARAM_REPORT ); link.append( ParameterAccessor.EQUALS_OPERATOR ); String reportName = getReportName( context, action ); try { reportName = URLEncoder.encode( reportName, ParameterAccessor.UTF_8_ENCODE ); } catch ( UnsupportedEncodingException e ) { // do nothing } link.append( reportName ); } else { // its an iternal bookmark return "#" + action.getActionString( ); //$NON-NLS-1$ } if ( locale != null ) { link.append( ParameterAccessor.getQueryParameterString( ParameterAccessor.PARAM_LOCALE, locale.toString( ) ) ); } if ( isRtl ) { link.append( ParameterAccessor.getQueryParameterString( ParameterAccessor.PARAM_RTL, String.valueOf( isRtl ) ) ); } // add isMasterPageContent link.append( ParameterAccessor.getQueryParameterString( ParameterAccessor.PARAM_MASTERPAGE, String .valueOf( this.isMasterPageContent ) ) ); if ( realBookmark ) { link.append( "#" ); //$NON-NLS-1$ link.append( bookmark ); } else { link.append( ParameterAccessor.getQueryParameterString( ParameterAccessor.PARAM_BOOKMARK, bookmark ) ); } return link.toString( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ef88ebb73afe5cc4540d743ddd181952658bcf20/ViewerHTMLActionHandler.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 1361, 22966, 1803, 12, 467, 1803, 1301, 16, 467, 4820, 1042, 819, 262, 202, 95, 202, 202, 430, 261, 1301, 422, 446, 747, 819, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 759, 968, 3360, 1976, 202, 202, 780, 17480, 273, 446, 31, 202, 202, 921, 28678, 273, 336, 3420, 1042, 12, 819, 11272, 202, 202, 430, 261, 28678, 1276, 3982, 3420, 1042, 262, 202, 202, 95, 1082, 202, 1969, 1785, 273, 261, 261, 4870, 3420, 1042, 13, 28678, 262, 18, 588, 29064, 12, 11272, 202, 202, 97, 202, 202, 430, 261, 28678, 1276, 12667, 3420, 1042, 262, 202, 202, 95, 1082, 202, 1969, 1785, 273, 261, 261, 17508, 3420, 1042, 13, 28678, 262, 18, 588, 29064, 12, 11272, 202, 202, 97, 202, 202, 430, 261, 17480, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 759, 968, 13696, 202, 202, 780, 13696, 273, 1301, 18, 588, 22966, 12, 11272, 202, 202, 759, 657, 7793, 278, 19, 2681, 1965, 16, 999, 11341, 445, 358, 4452, 18772, 590, 358, 202, 202, 759, 1692, 358, 2713, 13696, 202, 202, 430, 261, 17480, 18, 2722, 31985, 12, 23450, 2714, 2918, 18, 31066, 15146, 67, 4211, 67, 15072, 4043, 262, 405, 374, 9506, 202, 20081, 17480, 18, 2722, 31985, 12, 23450, 2714, 2918, 18, 31066, 15146, 67, 4211, 67, 15238, 262, 405, 374, 262, 202, 202, 95, 1082, 202, 2463, 315, 11242, 30, 14683, 22966, 22076, 397, 5498, 8235, 18, 2620, 5509, 12, 13696, 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, 514, 1361, 22966, 1803, 12, 467, 1803, 1301, 16, 467, 4820, 1042, 819, 262, 202, 95, 202, 202, 430, 261, 1301, 422, 446, 747, 819, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 759, 968, 3360, 1976, 202, 202, 780, 17480, 273, 446, 31, 202, 202, 921, 28678, 273, 336, 3420, 1042, 12, 819, 11272, 202, 202, 430, 261, 28678, 1276, 3982, 3420, 1042, 262, 202, 202, 95, 1082, 202, 1969, 1785, 273, 261, 261, 4870, 3420, 1042, 13, 28678, 262, 18, 588, 29064, 12, 11272, 202, 202, 97, 202, 202, 430, 261, 28678, 1276, 12667, 3420, 1042, 262, 202, 202, 95, 1082, 202, 1969, 1785, 273, 261, 261, 17508, 3420, 1042, 13, 28678, 2 ]
}
}
public String getName() { if (getBaseName() == null) { if (isClass()) { return "#<" + "Class" + ":01x" + Integer.toHexString(System.identityHashCode(this)) + ">"; } else { return "#<" + "Module" + ":01x" + Integer.toHexString(System.identityHashCode(this)) + ">"; } } StringBuffer result = new StringBuffer(getBaseName()); RubyClass objectClass = getRuntime().getObject(); for (RubyModule p = this.getParent(); p != null && p != objectClass; p = p.getParent()) { result.insert(0, "::").insert(0, p.getBaseName()); } return result.toString(); }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/clean/src/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1723, 1435, 288, 3639, 309, 261, 588, 29907, 1435, 422, 446, 13, 288, 540, 202, 430, 261, 291, 797, 10756, 288, 7734, 327, 6619, 32, 6, 397, 315, 797, 6, 397, 6398, 1611, 92, 6, 397, 2144, 18, 869, 14866, 12, 3163, 18, 10781, 21952, 12, 2211, 3719, 397, 14675, 31, 540, 202, 97, 469, 288, 7734, 327, 6619, 32, 6, 397, 315, 3120, 6, 397, 6398, 1611, 92, 6, 397, 2144, 18, 869, 14866, 12, 3163, 18, 10781, 21952, 12, 2211, 3719, 397, 14675, 31, 540, 202, 97, 3639, 289, 7734, 6674, 563, 273, 394, 6674, 12, 588, 29907, 10663, 3639, 19817, 797, 23992, 273, 18814, 7675, 588, 921, 5621, 7734, 364, 261, 54, 10340, 3120, 293, 273, 333, 18, 588, 3054, 5621, 293, 480, 446, 597, 293, 480, 23992, 31, 293, 273, 293, 18, 588, 3054, 10756, 288, 5411, 563, 18, 6387, 12, 20, 16, 31120, 2934, 6387, 12, 20, 16, 293, 18, 588, 29907, 10663, 3639, 289, 3639, 327, 563, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1723, 1435, 288, 3639, 309, 261, 588, 29907, 1435, 422, 446, 13, 288, 540, 202, 430, 261, 291, 797, 10756, 288, 7734, 327, 6619, 32, 6, 397, 315, 797, 6, 397, 6398, 1611, 92, 6, 397, 2144, 18, 869, 14866, 12, 3163, 18, 10781, 21952, 12, 2211, 3719, 397, 14675, 31, 540, 202, 97, 469, 288, 7734, 327, 6619, 32, 6, 397, 315, 3120, 6, 397, 6398, 1611, 92, 6, 397, 2144, 18, 869, 14866, 12, 3163, 18, 10781, 21952, 12, 2211, 3719, 397, 14675, 31, 540, 202, 97, 3639, 289, 7734, 6674, 563, 273, 394, 6674, 12, 588, 29907, 10663, 3639, 19817, 797, 23992, 273, 18814, 7675, 588, 921, 5621, 7734, 364, 261, 54, 10340, 2 ]
Iterator itPubRes = publishedResources.iterator();
Iterator itPubRes = publishedResources.iterator();
public void scrubExportFolders(CmsUUID publishHistoryId) { if (OpenCms.getLog(this).isDebugEnabled()) { OpenCms.getLog(this).debug( "Static export manager scrubbing export folders for project ID " + publishHistoryId); } Set scrubedFolders = new HashSet(); Set scrubedFiles = new HashSet(); // get a export user cms context CmsObject cms; try { cms = OpenCms.initCmsObject(OpenCms.getDefaultUsers().getUserExport()); } catch (CmsException e) { // this should never happen OpenCms.getLog(this).error("Could not init CmsObject with default export user"); return; } List publishedResources; try { publishedResources = cms.readPublishedResources(publishHistoryId); } catch (CmsException e) { if (OpenCms.getLog(this).isErrorEnabled()) { OpenCms.getLog(this) .error( "Static export manager could not read list of changes resources for project ID " + publishHistoryId); } return; } Iterator itPubRes = publishedResources.iterator(); while (itPubRes.hasNext()) { CmsPublishedResource res = (CmsPublishedResource)itPubRes.next(); if (res.isUnChanged() || !res.isVfsResource()) { // unchanged resources and non vfs resources don't need to be deleted continue; } // ensure all siblings are scrubbed if the resource has one List siblings = getSiblingsList(cms, res.getRootPath()); Iterator itSibs = siblings.iterator(); while (itSibs.hasNext()) { String vfsName = (String)itSibs.next(); // get the link name for the published file String rfsName = OpenCms.getStaticExportManager().getRfsName(cms, vfsName); if (OpenCms.getLog(this).isDebugEnabled()) { OpenCms.getLog(this).debug( "Static export checking for deletion vfsName='" + vfsName + "' rfsName='" + rfsName + "'"); } if (rfsName.startsWith(OpenCms.getStaticExportManager().getRfsPrefix()) && (!scrubedFiles.contains(rfsName)) && (!scrubedFolders.contains(CmsResource.getFolderPath(rfsName)))) { if (res.isFolder()) { if (res.isDeleted()) { String exportFolderName = CmsFileUtil.normalizePath(OpenCms.getStaticExportManager() .getExportPath() + rfsName.substring(OpenCms.getStaticExportManager().getRfsPrefix().length() + 1)); try { File exportFolder = new File(exportFolderName); // check if export folder exists, if so delete it if (exportFolder.exists() && exportFolder.canWrite()) { CmsFileUtil.purgeDirectory(exportFolder); // write log message if (OpenCms.getLog(this).isInfoEnabled()) { OpenCms.getLog(this).info( "Static export deleted export folder '" + exportFolderName + "'"); } scrubedFolders.add(rfsName); continue; } } catch (Throwable t) { // ignore, nothing to do about this if (OpenCms.getLog(this).isWarnEnabled()) { OpenCms.getLog(this).warn( "Error deleting static export folder vfsName='" + vfsName + "' rfsName='" + exportFolderName + "'", t); } } } // add index.html to folder name rfsName += CmsStaticExportManager.C_EXPORT_DEFAULT_FILE; if (OpenCms.getLog(this).isDebugEnabled()) { OpenCms.getLog(this).debug("Static export folder index file rfsName='" + rfsName + "'"); } } String rfsExportFileName = CmsFileUtil.normalizePath(OpenCms.getStaticExportManager().getExportPath() + rfsName.substring(OpenCms.getStaticExportManager().getRfsPrefix().length() + 1)); purgeFile(rfsExportFileName); scrubedFiles.add(rfsName); if (!res.isFolder()) { List fileList = getRelatedFilesToPurge(rfsExportFileName); Iterator iter = fileList.iterator(); while (iter.hasNext()) { File file = (File)iter.next(); purgeFile(file.getAbsolutePath()); rfsName = CmsFileUtil.normalizePath(OpenCms.getStaticExportManager().getRfsPrefix() + "/" + file.getAbsolutePath().substring( OpenCms.getStaticExportManager().getExportPath().length())); rfsName = CmsStringUtil.substitute( rfsName, new String(new char[] {File.separatorChar}), "/"); scrubedFiles.add(rfsName); } } } } } }
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, 377, 1071, 918, 11991, 373, 6144, 14885, 12, 4747, 5562, 3808, 5623, 548, 13, 288, 3639, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 2829, 1526, 10756, 288, 5411, 10319, 18, 588, 1343, 12, 2211, 2934, 4148, 12, 7734, 315, 5788, 3359, 3301, 11991, 22298, 310, 3359, 9907, 364, 1984, 1599, 315, 397, 3808, 5623, 548, 1769, 3639, 289, 3639, 1000, 11991, 373, 329, 14885, 273, 394, 6847, 5621, 3639, 1000, 11991, 373, 329, 2697, 273, 394, 6847, 5621, 3639, 368, 336, 279, 3359, 729, 6166, 819, 7734, 14371, 6166, 31, 3639, 775, 288, 5411, 6166, 273, 10319, 18, 2738, 4747, 921, 12, 3678, 4747, 18, 588, 1868, 6588, 7675, 588, 1299, 6144, 10663, 3639, 289, 1044, 261, 4747, 503, 425, 13, 288, 5411, 368, 333, 1410, 5903, 5865, 5411, 10319, 18, 588, 1343, 12, 2211, 2934, 1636, 2932, 4445, 486, 1208, 14371, 598, 805, 3359, 729, 8863, 5411, 327, 31, 3639, 289, 3639, 987, 9487, 3805, 31, 3639, 775, 288, 5411, 9487, 3805, 273, 6166, 18, 896, 16451, 3805, 12, 6543, 5623, 548, 1769, 3639, 289, 1044, 261, 4747, 503, 425, 13, 288, 5411, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 668, 1526, 10756, 288, 7734, 10319, 18, 588, 1343, 12, 2211, 13, 10792, 263, 1636, 12, 13491, 315, 5788, 3359, 3301, 3377, 486, 855, 666, 434, 3478, 2703, 364, 1984, 1599, 315, 18701, 397, 3808, 5623, 548, 1769, 5411, 289, 5411, 327, 31, 3639, 289, 3639, 4498, 518, 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, 11991, 373, 6144, 14885, 12, 4747, 5562, 3808, 5623, 548, 13, 288, 3639, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 2829, 1526, 10756, 288, 5411, 10319, 18, 588, 1343, 12, 2211, 2934, 4148, 12, 7734, 315, 5788, 3359, 3301, 11991, 22298, 310, 3359, 9907, 364, 1984, 1599, 315, 397, 3808, 5623, 548, 1769, 3639, 289, 3639, 1000, 11991, 373, 329, 14885, 273, 394, 6847, 5621, 3639, 1000, 11991, 373, 329, 2697, 273, 394, 6847, 5621, 3639, 368, 336, 279, 3359, 729, 6166, 819, 7734, 14371, 6166, 31, 3639, 775, 288, 5411, 6166, 273, 10319, 18, 2738, 4747, 921, 12, 3678, 4747, 18, 588, 1868, 6588, 7675, 588, 1299, 6144, 10663, 3639, 289, 2 ]
public org.quickfix.field.RepurchaseRate getRepurchaseRate() throws FieldNotFound { org.quickfix.field.RepurchaseRate value = new org.quickfix.field.RepurchaseRate();
public quickfix.field.RepurchaseRate getRepurchaseRate() throws FieldNotFound { quickfix.field.RepurchaseRate value = new quickfix.field.RepurchaseRate();
public org.quickfix.field.RepurchaseRate getRepurchaseRate() throws FieldNotFound { org.quickfix.field.RepurchaseRate value = new org.quickfix.field.RepurchaseRate(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Quote.java/clean/src/java/src/quickfix/fix43/Quote.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 5561, 12688, 12104, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 5561, 12688, 12104, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4727, 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 ]
if (!fShell.isDisposed()) fShell.dispose();
if (!fShell.isDisposed()) { fShell.dispose(); }
public void dispose() { if (fShell != null) { if (!fShell.isDisposed()) fShell.dispose(); fShell = null; fTableViewer = null; fComposite = null; fFilterText = null; } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/AbstractTableInformationControl.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/AbstractTableInformationControl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 309, 261, 74, 13220, 480, 446, 13, 288, 5411, 309, 16051, 74, 13220, 18, 291, 1669, 7423, 10756, 7734, 284, 13220, 18, 2251, 4150, 5621, 5411, 284, 13220, 273, 446, 31, 5411, 284, 1388, 18415, 273, 446, 31, 5411, 284, 9400, 273, 446, 31, 5411, 284, 1586, 1528, 273, 446, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 309, 261, 74, 13220, 480, 446, 13, 288, 5411, 309, 16051, 74, 13220, 18, 291, 1669, 7423, 10756, 7734, 284, 13220, 18, 2251, 4150, 5621, 5411, 284, 13220, 273, 446, 31, 5411, 284, 1388, 18415, 273, 446, 31, 5411, 284, 9400, 273, 446, 31, 5411, 284, 1586, 1528, 273, 446, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
.getSessionHandle( ).openDesign( fileName ); handle.setDisplayName( page.getDisplayName( ) ); handle.setProperty( ModuleHandle.DESCRIPTION_PROP, page .getDescription( ) ); handle.setIconFile( page.getPreviewImagePath( ) );
.getSessionHandle( ) .openDesign( fileName ); if ( !page.getDisplayName( ).equals( "" ) ) handle.setDisplayName( page.getDisplayName( ) ); if ( !page.getDescription( ).equals( "" ) ) handle.setProperty( ModuleHandle.DESCRIPTION_PROP, page.getDescription( ) ); if ( !page.getPreviewImagePath( ).equals( "" ) ) handle.setIconFile( page.getPreviewImagePath( ) ); if ( !page.getCheetSheetPath( ).equals( "" ) ) handle.setCheetSheet( page.getCheetSheetPath( ) );
private void setDesignFile( String fileName ) throws DesignFileException, SemanticException, IOException { ReportDesignHandle handle = SessionHandleAdapter.getInstance( ) .getSessionHandle( ).openDesign( fileName ); handle.setDisplayName( page.getDisplayName( ) ); handle.setProperty( ModuleHandle.DESCRIPTION_PROP, page .getDescription( ) ); handle.setIconFile( page.getPreviewImagePath( ) ); handle.save( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/1824dd10da5be8a90b49dba5f681cc82e9a19bb1/PublishTemplateAction.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/actions/PublishTemplateAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 444, 15478, 812, 12, 514, 3968, 262, 1216, 29703, 812, 503, 16, 1082, 202, 13185, 9941, 503, 16, 1860, 202, 95, 202, 202, 4820, 15478, 3259, 1640, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 2157, 3259, 12, 262, 18, 3190, 15478, 12, 3968, 11272, 202, 202, 4110, 18, 542, 20524, 12, 1363, 18, 588, 20524, 12, 262, 11272, 202, 202, 4110, 18, 542, 1396, 12, 5924, 3259, 18, 15911, 67, 15811, 16, 1363, 9506, 202, 18, 588, 3291, 12, 262, 11272, 202, 202, 4110, 18, 542, 5554, 812, 12, 1363, 18, 588, 11124, 2040, 743, 12, 262, 11272, 202, 202, 4110, 18, 5688, 12, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 444, 15478, 812, 12, 514, 3968, 262, 1216, 29703, 812, 503, 16, 1082, 202, 13185, 9941, 503, 16, 1860, 202, 95, 202, 202, 4820, 15478, 3259, 1640, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 2157, 3259, 12, 262, 18, 3190, 15478, 12, 3968, 11272, 202, 202, 4110, 18, 542, 20524, 12, 1363, 18, 588, 20524, 12, 262, 11272, 202, 202, 4110, 18, 542, 1396, 12, 5924, 3259, 18, 15911, 67, 15811, 16, 1363, 9506, 202, 18, 588, 3291, 12, 262, 11272, 202, 202, 4110, 18, 542, 5554, 812, 12, 1363, 18, 588, 11124, 2040, 743, 12, 262, 11272, 202, 202, 4110, 18, 5688, 12, 11272, 202, 97, 2, -100, -100 ]
if (inDebugMode()) {
/** if (inDebugMode()) {
public void interactionEnded() { // Only change GUI from event-dispatching thread Runnable doCommand = new Runnable() { public void run() { if (inDebugMode()) { _disableStepTimer(); Debugger manager = _model.getDebugger(); manager.clearCurrentStepRequest(); _removeThreadLocationHighlight(); } _interactionsPane.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR)); _interactionsPane.setEditable(true); _interactionsController.moveToEnd(); if (_interactionsPane.hasFocus()) { _interactionsPane.getCaret().setVisible(true); } } }; SwingUtilities.invokeLater(doCommand); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/84d383e8fea49389da19c11522947d451646ef3e/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13581, 28362, 1435, 288, 1377, 368, 5098, 2549, 10978, 628, 871, 17, 10739, 310, 2650, 1377, 10254, 741, 2189, 273, 394, 10254, 1435, 288, 3639, 1071, 918, 1086, 1435, 288, 1850, 1783, 309, 261, 267, 2829, 2309, 10756, 288, 5411, 389, 8394, 4160, 6777, 5621, 5411, 28645, 3301, 273, 389, 2284, 18, 588, 24113, 5621, 5411, 3301, 18, 8507, 3935, 4160, 691, 5621, 5411, 389, 4479, 3830, 2735, 16205, 5621, 1850, 289, 10792, 389, 2761, 4905, 8485, 18, 542, 6688, 12, 6688, 18, 588, 1386, 2178, 6688, 12, 6688, 18, 5151, 67, 7509, 55, 916, 10019, 1850, 389, 2761, 4905, 8485, 18, 542, 15470, 12, 3767, 1769, 1850, 389, 2761, 4905, 2933, 18, 8501, 774, 1638, 5621, 1850, 309, 261, 67, 2761, 4905, 8485, 18, 5332, 9233, 10756, 288, 5411, 389, 2761, 4905, 8485, 18, 588, 39, 20731, 7675, 542, 6207, 12, 3767, 1769, 1850, 289, 3639, 289, 1377, 289, 31, 1377, 26145, 11864, 18, 14407, 20607, 12, 2896, 2189, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13581, 28362, 1435, 288, 1377, 368, 5098, 2549, 10978, 628, 871, 17, 10739, 310, 2650, 1377, 10254, 741, 2189, 273, 394, 10254, 1435, 288, 3639, 1071, 918, 1086, 1435, 288, 1850, 1783, 309, 261, 267, 2829, 2309, 10756, 288, 5411, 389, 8394, 4160, 6777, 5621, 5411, 28645, 3301, 273, 389, 2284, 18, 588, 24113, 5621, 5411, 3301, 18, 8507, 3935, 4160, 691, 5621, 5411, 389, 4479, 3830, 2735, 16205, 5621, 1850, 289, 10792, 389, 2761, 4905, 8485, 18, 542, 6688, 12, 6688, 18, 588, 1386, 2178, 6688, 12, 6688, 18, 5151, 67, 7509, 55, 916, 10019, 1850, 389, 2761, 4905, 8485, 18, 542, 15470, 12, 3767, 1769, 1850, 389, 2761, 4905, 2933, 18, 8501, 774, 1638, 2 ]
throws java.io.IOException, net.sourceforge.jtds.jdbc.TdsException {
throws java.io.IOException, net.sourceforge.jtds.jdbc.TdsException {
public synchronized byte peek() throws java.io.IOException, net.sourceforge.jtds.jdbc.TdsException { return comm.peek(); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/961a45de8bf5d82c43254ac74e0e90a332e67845/Tds.java/clean/src/main/net/sourceforge/jtds/jdbc/Tds.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1160, 8032, 1435, 2398, 1216, 2252, 18, 1594, 18, 14106, 16, 2901, 18, 3168, 1884, 908, 18, 78, 88, 2377, 18, 24687, 18, 56, 2377, 503, 565, 288, 3639, 327, 1543, 18, 347, 3839, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1160, 8032, 1435, 2398, 1216, 2252, 18, 1594, 18, 14106, 16, 2901, 18, 3168, 1884, 908, 18, 78, 88, 2377, 18, 24687, 18, 56, 2377, 503, 565, 288, 3639, 327, 1543, 18, 347, 3839, 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 ]
rowModel.setLeadSelectionIndex(rowLead);
public void actionPerformed (ActionEvent e) { DefaultListSelectionModel rowModel = (DefaultListSelectionModel) table.getSelectionModel(); DefaultListSelectionModel colModel = (DefaultListSelectionModel) table.getColumnModel().getSelectionModel(); int rowLead = rowModel.getLeadSelectionIndex(); int rowMax = table.getModel().getRowCount() - 1; int colLead = colModel.getLeadSelectionIndex(); int colMax = table.getModel().getColumnCount() - 1; String command = e.getActionCommand(); if (command.equals("selectPreviousRowExtendSelection")) { rowModel.setLeadSelectionIndex(Math.max(rowLead - 1, 0)); colModel.setLeadSelectionIndex(colLead); } else if (command.equals("selectLastColumn")) { rowModel.setSelectionInterval(rowLead, rowLead); colModel.setSelectionInterval(colMax, colMax); } else if (command.equals("startEditing")) { if (table.isCellEditable(rowLead, colLead)) table.editCellAt(rowLead,colLead); } else if (command.equals("selectFirstRowExtendSelection")) { rowModel.setLeadSelectionIndex(0); colModel.setLeadSelectionIndex(colLead); } else if (command.equals("selectFirstColumn")) { rowModel.setSelectionInterval(rowLead, rowLead); colModel.setSelectionInterval(0, 0); } else if (command.equals("selectFirstColumnExtendSelection")) { colModel.setLeadSelectionIndex(0); rowModel.setLeadSelectionIndex(rowLead); } else if (command.equals("selectLastRow")) { rowModel.setSelectionInterval(rowMax,rowMax); colModel.setSelectionInterval(colLead, colLead); } else if (command.equals("selectNextRowExtendSelection")) { rowModel.setLeadSelectionIndex(Math.min(rowLead + 1, rowMax)); colModel.setLeadSelectionIndex(colLead); } else if (command.equals("selectFirstRow")) { rowModel.setSelectionInterval(0,0); colModel.setSelectionInterval(colLead, colLead); } else if (command.equals("selectNextColumnExtendSelection")) { colModel.setLeadSelectionIndex(Math.min(colLead + 1, colMax)); rowModel.setLeadSelectionIndex(rowLead); } else if (command.equals("selectLastColumnExtendSelection")) { colModel.setLeadSelectionIndex(colMax); rowModel.setLeadSelectionIndex(rowLead); } else if (command.equals("selectPreviousColumnExtendSelection")) { colModel.setLeadSelectionIndex(Math.max(colLead - 1, 0)); rowModel.setLeadSelectionIndex(rowLead); } else if (command.equals("selectNextRow")) { rowModel.setSelectionInterval(Math.min(rowLead + 1, rowMax), Math.min(rowLead + 1, rowMax)); colModel.setSelectionInterval(colLead,colLead); } else if (command.equals("scrollUpExtendSelection")) { int target; if (rowLead == getFirstVisibleRowIndex()) target = Math.max (0, rowLead - (getLastVisibleRowIndex() - getFirstVisibleRowIndex() + 1)); else target = getFirstVisibleRowIndex(); rowModel.setLeadSelectionIndex(target); colModel.setLeadSelectionIndex(colLead); } else if (command.equals("selectPreviousRow")) { rowModel.setSelectionInterval(Math.max(rowLead - 1, 0), Math.max(rowLead - 1, 0)); colModel.setSelectionInterval(colLead,colLead); } else if (command.equals("scrollRightChangeSelection")) { int target; if (colLead == getLastVisibleColumnIndex()) target = Math.min (colMax, colLead + (getLastVisibleColumnIndex() - getFirstVisibleColumnIndex() + 1)); else target = getLastVisibleColumnIndex(); colModel.setSelectionInterval(target, target); rowModel.setSelectionInterval(rowLead, rowLead); } else if (command.equals("selectPreviousColumn")) { rowModel.setSelectionInterval(rowLead,rowLead); colModel.setSelectionInterval(Math.max(colLead - 1, 0), Math.max(colLead - 1, 0)); } else if (command.equals("scrollLeftChangeSelection")) { int target; if (colLead == getFirstVisibleColumnIndex()) target = Math.max (0, colLead - (getLastVisibleColumnIndex() - getFirstVisibleColumnIndex() + 1)); else target = getFirstVisibleColumnIndex(); colModel.setSelectionInterval(target, target); rowModel.setSelectionInterval(rowLead, rowLead); } else if (command.equals("clearSelection")) { table.clearSelection(); } else if (command.equals("cancel")) { // FIXME: implement other parts of "cancel" like undo-ing last // selection. Right now it just calls editingCancelled if // we're currently editing. if (table.isEditing()) table.editingCanceled(new ChangeEvent("cancel")); } else if (command.equals("selectNextRowCell") || command.equals("selectPreviousRowCell") || command.equals("selectNextColumnCell") || command.equals("selectPreviousColumnCell")) { // If nothing is selected, select the first cell in the table if (table.getSelectedRowCount() == 0 && table.getSelectedColumnCount() == 0) { rowModel.setSelectionInterval(0, 0); colModel.setSelectionInterval(0, 0); return; } // If the lead selection index isn't selected (ie a remove operation // happened, then set the lead to the first selected cell in the // table if (!table.isCellSelected(rowLead, colLead)) { rowModel.addSelectionInterval(rowModel.getMinSelectionIndex(), rowModel.getMinSelectionIndex()); colModel.addSelectionInterval(colModel.getMinSelectionIndex(), colModel.getMinSelectionIndex()); return; } // multRowsSelected and multColsSelected tell us if multiple rows or // columns are selected, respectively boolean multRowsSelected, multColsSelected; multRowsSelected = table.getSelectedRowCount() > 1 && table.getRowSelectionAllowed(); multColsSelected = table.getSelectedColumnCount() > 1 && table.getColumnSelectionAllowed(); // If there is just one selection, select the next cell, and wrap // when you get to the edges of the table. if (!multColsSelected && !multRowsSelected) { if (command.indexOf("Column") != -1) advanceSingleSelection(colModel, colMax, rowModel, rowMax, (command.equals ("selectPreviousColumnCell"))); else advanceSingleSelection(rowModel, rowMax, colModel, colMax, (command.equals ("selectPreviousRowCell"))); return; } // rowMinSelected and rowMaxSelected are the minimum and maximum // values respectively of selected cells in the row selection model // Similarly for colMinSelected and colMaxSelected. int rowMaxSelected = table.getRowSelectionAllowed() ? rowModel.getMaxSelectionIndex() : table.getModel().getRowCount() - 1; int rowMinSelected = table.getRowSelectionAllowed() ? rowModel.getMinSelectionIndex() : 0; int colMaxSelected = table.getColumnSelectionAllowed() ? colModel.getMaxSelectionIndex() : table.getModel().getColumnCount() - 1; int colMinSelected = table.getColumnSelectionAllowed() ? colModel.getMinSelectionIndex() : 0; // If there are multiple rows and columns selected, select the next // cell and wrap at the edges of the selection. if (command.indexOf("Column") != -1) advanceMultipleSelection(colModel, colMinSelected, colMaxSelected, rowModel, rowMinSelected, rowMaxSelected, (command.equals ("selectPreviousColumnCell")), true); else advanceMultipleSelection(rowModel, rowMinSelected, rowMaxSelected, colModel, colMinSelected, colMaxSelected, (command.equals ("selectPreviousRowCell")), false); } else if (command.equals("selectNextColumn")) { rowModel.setSelectionInterval(rowLead,rowLead); colModel.setSelectionInterval(Math.min(colLead + 1, colMax), Math.min(colLead + 1, colMax)); } else if (command.equals("scrollLeftExtendSelection")) { int target; if (colLead == getFirstVisibleColumnIndex()) target = Math.max (0, colLead - (getLastVisibleColumnIndex() - getFirstVisibleColumnIndex() + 1)); else target = getFirstVisibleColumnIndex(); colModel.setLeadSelectionIndex(target); rowModel.setLeadSelectionIndex(rowLead); } else if (command.equals("scrollDownChangeSelection")) { int target; if (rowLead == getLastVisibleRowIndex()) target = Math.min (rowMax, rowLead + (getLastVisibleRowIndex() - getFirstVisibleRowIndex() + 1)); else target = getLastVisibleRowIndex(); rowModel.setSelectionInterval(target, target); colModel.setSelectionInterval(colLead, colLead); } else if (command.equals("scrollRightExtendSelection")) { int target; if (colLead == getLastVisibleColumnIndex()) target = Math.min (colMax, colLead + (getLastVisibleColumnIndex() - getFirstVisibleColumnIndex() + 1)); else target = getLastVisibleColumnIndex(); colModel.setLeadSelectionIndex(target); rowModel.setLeadSelectionIndex(rowLead); } else if (command.equals("selectAll")) { table.selectAll(); } else if (command.equals("selectLastRowExtendSelection")) { rowModel.setLeadSelectionIndex(rowMax); colModel.setLeadSelectionIndex(colLead); } else if (command.equals("scrollDownExtendSelection")) { int target; if (rowLead == getLastVisibleRowIndex()) target = Math.min (rowMax, rowLead + (getLastVisibleRowIndex() - getFirstVisibleRowIndex() + 1)); else target = getLastVisibleRowIndex(); rowModel.setLeadSelectionIndex(target); colModel.setLeadSelectionIndex(colLead); } else if (command.equals("scrollUpChangeSelection")) { int target; if (rowLead == getFirstVisibleRowIndex()) target = Math.max (0, rowLead - (getLastVisibleRowIndex() - getFirstVisibleRowIndex() + 1)); else target = getFirstVisibleRowIndex(); rowModel.setSelectionInterval(target, target); colModel.setSelectionInterval(colLead, colLead); } else if (command.equals("selectNextRowChangeLead")) { if (rowModel.getSelectionMode() != ListSelectionModel.MULTIPLE_INTERVAL_SELECTION) { // just "selectNextRow" rowModel.setSelectionInterval(Math.min(rowLead + 1, rowMax), Math.min(rowLead + 1, rowMax)); colModel.setSelectionInterval(colLead,colLead); } else rowModel.moveLeadSelectionIndex(Math.min(rowLead + 1, rowMax)); } else if (command.equals("selectPreviousRowChangeLead")) { if (rowModel.getSelectionMode() != ListSelectionModel.MULTIPLE_INTERVAL_SELECTION) { // just selectPreviousRow rowModel.setSelectionInterval(Math.max(rowLead - 1, 0), Math.min(rowLead -1, 0)); colModel.setSelectionInterval(colLead,colLead); } else rowModel.moveLeadSelectionIndex(Math.max(rowLead - 1, 0)); } else if (command.equals("selectNextColumnChangeLead")) { if (colModel.getSelectionMode() != ListSelectionModel.MULTIPLE_INTERVAL_SELECTION) { // just selectNextColumn rowModel.setSelectionInterval(rowLead,rowLead); colModel.setSelectionInterval(Math.min(colLead + 1, colMax), Math.min(colLead + 1, colMax)); } else colModel.moveLeadSelectionIndex(Math.min(colLead + 1, colMax)); } else if (command.equals("selectPreviousColumnChangeLead")) { if (colModel.getSelectionMode() != ListSelectionModel.MULTIPLE_INTERVAL_SELECTION) { // just selectPreviousColumn rowModel.setSelectionInterval(rowLead,rowLead); colModel.setSelectionInterval(Math.max(colLead - 1, 0), Math.max(colLead - 1, 0)); } else colModel.moveLeadSelectionIndex(Math.max(colLead - 1, 0)); } else if (command.equals("addToSelection")) { if (!table.isEditing()) { int oldRowAnchor = rowModel.getAnchorSelectionIndex(); int oldColAnchor = colModel.getAnchorSelectionIndex(); rowModel.addSelectionInterval(rowLead, rowLead); colModel.addSelectionInterval(colLead, colLead); rowModel.setAnchorSelectionIndex(oldRowAnchor); colModel.setAnchorSelectionIndex(oldColAnchor); } } else if (command.equals("extendTo")) { rowModel.setSelectionInterval(rowModel.getAnchorSelectionIndex(), rowLead); colModel.setSelectionInterval(colModel.getAnchorSelectionIndex(), colLead); } else if (command.equals("toggleAndAnchor")) { if (rowModel.isSelectedIndex(rowLead)) rowModel.removeSelectionInterval(rowLead, rowLead); else rowModel.addSelectionInterval(rowLead, rowLead); if (colModel.isSelectedIndex(colLead)) colModel.removeSelectionInterval(colLead, colLead); else colModel.addSelectionInterval(colLead, colLead); rowModel.setAnchorSelectionIndex(rowLead); colModel.setAnchorSelectionIndex(colLead); } else if (command.equals("stopEditing")) { table.editingStopped(new ChangeEvent(command)); } else { // If we're here that means we bound this TableAction class // to a keyboard input but we either want to ignore that input // or we just haven't implemented its action yet. // Uncomment the following line to print the names of unused bindings // when their keys are pressed // System.out.println ("not implemented: "+e.getActionCommand()); } // Any commands whose keyStrokes should be used by the Editor should not // cause editing to be stopped: ie, the SPACE sends "addToSelection" but // if the table is in editing mode, the space should not cause us to stop // editing because it should be used by the Editor. if (table.isEditing() && command != "startEditing" && command != "addToSelection") table.editingStopped(new ChangeEvent("update")); table.scrollRectToVisible (table.getCellRect(rowModel.getLeadSelectionIndex(), colModel.getLeadSelectionIndex(), false)); table.repaint(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/8a78b0a127a68dcc6823fee2b8bdb1cbb7ec268d/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 261, 1803, 1133, 425, 13, 565, 288, 1377, 2989, 682, 6233, 1488, 1027, 1488, 273, 261, 1868, 682, 6233, 1488, 13, 1014, 18, 588, 6233, 1488, 5621, 1377, 2989, 682, 6233, 1488, 645, 1488, 273, 261, 1868, 682, 6233, 1488, 13, 1014, 18, 588, 1494, 1488, 7675, 588, 6233, 1488, 5621, 1377, 509, 1027, 9678, 273, 1027, 1488, 18, 588, 9678, 6233, 1016, 5621, 1377, 509, 1027, 2747, 273, 1014, 18, 588, 1488, 7675, 588, 26359, 1435, 300, 404, 31, 5411, 509, 645, 9678, 273, 645, 1488, 18, 588, 9678, 6233, 1016, 5621, 1377, 509, 645, 2747, 273, 1014, 18, 588, 1488, 7675, 588, 1494, 1380, 1435, 300, 404, 31, 5411, 514, 1296, 273, 425, 18, 588, 1803, 2189, 5621, 5411, 309, 261, 3076, 18, 14963, 2932, 4025, 8351, 1999, 16675, 6233, 6, 3719, 3639, 288, 1850, 1027, 1488, 18, 542, 9678, 6233, 1016, 12, 10477, 18, 1896, 12, 492, 9678, 300, 404, 16, 374, 10019, 1850, 645, 1488, 18, 542, 9678, 6233, 1016, 12, 1293, 9678, 1769, 3639, 289, 1377, 469, 309, 261, 3076, 18, 14963, 2932, 4025, 3024, 1494, 6, 3719, 3639, 288, 1850, 1027, 1488, 18, 542, 6233, 4006, 12, 492, 9678, 16, 1027, 9678, 1769, 1850, 645, 1488, 18, 542, 6233, 4006, 12, 1293, 2747, 16, 645, 2747, 1769, 3639, 289, 1377, 469, 309, 261, 3076, 18, 14963, 2932, 1937, 28029, 6, 3719, 3639, 288, 1850, 309, 261, 2121, 18, 291, 4020, 15470, 12, 492, 9678, 16, 645, 9678, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 261, 1803, 1133, 425, 13, 565, 288, 1377, 2989, 682, 6233, 1488, 1027, 1488, 273, 261, 1868, 682, 6233, 1488, 13, 1014, 18, 588, 6233, 1488, 5621, 1377, 2989, 682, 6233, 1488, 645, 1488, 273, 261, 1868, 682, 6233, 1488, 13, 1014, 18, 588, 1494, 1488, 7675, 588, 6233, 1488, 5621, 1377, 509, 1027, 9678, 273, 1027, 1488, 18, 588, 9678, 6233, 1016, 5621, 1377, 509, 1027, 2747, 273, 1014, 18, 588, 1488, 7675, 588, 26359, 1435, 300, 404, 31, 5411, 509, 645, 9678, 273, 645, 1488, 18, 588, 9678, 6233, 1016, 5621, 1377, 509, 645, 2747, 273, 1014, 18, 588, 1488, 7675, 588, 1494, 1380, 1435, 300, 404, 31, 5411, 514, 1296, 273, 425, 2 ]
baseNameOut.print("\n"+filenames[i]);
baseNameOut.println(filenames[i]);
private void dumpFilenames()throws IOException{ //open filename file PrintWriter baseNameOut = new PrintWriter( new FileOutputStream (new File(outputDir+"/"+voicename+".fileids"))); //dump the filenames for (int i=0;i<filenames.length;i++){ baseNameOut.print("\n"+filenames[i]); } baseNameOut.flush(); baseNameOut.close(); }
49846 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49846/08cf95f8cfb2a58fcbed670081c984325c57d384/SphinxLabelingPreparator.java/buggy/java/de/dfki/lt/mary/unitselection/voiceimport/SphinxLabelingPreparator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4657, 25579, 6809, 1435, 15069, 1860, 95, 3639, 368, 3190, 1544, 585, 3639, 14071, 16162, 1182, 273, 394, 14071, 12, 7734, 394, 12942, 261, 2704, 1387, 12, 2844, 1621, 9078, 4898, 15, 12307, 335, 1069, 9078, 18, 768, 2232, 6, 3719, 1769, 3639, 368, 8481, 326, 9066, 7734, 364, 261, 474, 277, 33, 20, 31, 77, 32, 19875, 18, 2469, 31, 77, 27245, 95, 540, 16162, 1182, 18, 8222, 12, 19875, 63, 77, 19226, 6647, 289, 3639, 16162, 1182, 18, 11330, 5621, 3639, 16162, 1182, 18, 4412, 5621, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4657, 25579, 6809, 1435, 15069, 1860, 95, 3639, 368, 3190, 1544, 585, 3639, 14071, 16162, 1182, 273, 394, 14071, 12, 7734, 394, 12942, 261, 2704, 1387, 12, 2844, 1621, 9078, 4898, 15, 12307, 335, 1069, 9078, 18, 768, 2232, 6, 3719, 1769, 3639, 368, 8481, 326, 9066, 7734, 364, 261, 474, 277, 33, 20, 31, 77, 32, 19875, 18, 2469, 31, 77, 27245, 95, 540, 16162, 1182, 18, 8222, 12, 19875, 63, 77, 19226, 6647, 289, 3639, 16162, 1182, 18, 11330, 5621, 3639, 16162, 1182, 18, 4412, 5621, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
nglGetObjectParameterfvARB(obj, pname, params, params.position());
long function_pointer = GLContext.getCapabilities().ARB_shader_objects_glGetObjectParameterivARB_pointer; BufferChecks.checkFunctionAddress(function_pointer); nglGetObjectParameterivARB(obj, pname, params, params.position(), function_pointer);
public static void glGetObjectParameterARB(int obj, int pname, FloatBuffer params) { BufferChecks.checkDirect(params); nglGetObjectParameterfvARB(obj, pname, params, params.position()); }
5076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5076/34f4e7ae56bc58e471c8c83a1f87a76a5e81ea12/ARBShaderObjects.java/buggy/src/java/org/lwjgl/opengl/ARBShaderObjects.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 5118, 967, 921, 1662, 20926, 12, 474, 1081, 16, 509, 19952, 16, 5450, 1892, 859, 13, 288, 202, 202, 1892, 4081, 18, 1893, 5368, 12, 2010, 1769, 202, 202, 3368, 80, 967, 921, 1662, 17679, 20926, 12, 2603, 16, 19952, 16, 859, 16, 859, 18, 3276, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 5118, 967, 921, 1662, 20926, 12, 474, 1081, 16, 509, 19952, 16, 5450, 1892, 859, 13, 288, 202, 202, 1892, 4081, 18, 1893, 5368, 12, 2010, 1769, 202, 202, 3368, 80, 967, 921, 1662, 17679, 20926, 12, 2603, 16, 19952, 16, 859, 16, 859, 18, 3276, 10663, 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 ]
public static final int primaryOrder (int order)
public static final int primaryOrder(int order)
public static final int primaryOrder (int order) { // From the JDK 1.2 spec. return order >>> 16; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/6fbea8dbcb660e389a2cfe538870f5da90164ca5/CollationElementIterator.java/clean/libraries/javalib/java/text/CollationElementIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 727, 509, 3354, 2448, 12, 474, 1353, 13, 225, 288, 565, 368, 6338, 326, 24387, 404, 18, 22, 857, 18, 565, 327, 1353, 4080, 2872, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 727, 509, 3354, 2448, 12, 474, 1353, 13, 225, 288, 565, 368, 6338, 326, 24387, 404, 18, 22, 857, 18, 565, 327, 1353, 4080, 2872, 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 ]
public GenerateNewConstructorUsingFieldsAction(CompilationUnitEditor editor) { this(editor.getEditorSite()); fEditor= editor; setEnabled(checkEnabledEditor());
public GenerateNewConstructorUsingFieldsAction(IWorkbenchSite site) { super(site); setText(ActionMessages.getString("GenerateConstructorUsingFieldsAction.label")); setDescription(ActionMessages.getString("GenerateConstructorUsingFieldsAction.description")); setToolTipText(ActionMessages.getString("GenerateConstructorUsingFieldsAction.tooltip")); WorkbenchHelp.setHelp(this, IJavaHelpContextIds.CREATE_NEW_CONSTRUCTOR_ACTION);
public GenerateNewConstructorUsingFieldsAction(CompilationUnitEditor editor) { this(editor.getEditorSite()); fEditor= editor; setEnabled(checkEnabledEditor()); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/8ae2e451c3e73d21d323d27a4ec535788529addd/GenerateNewConstructorUsingFieldsAction.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6654, 1908, 6293, 7736, 2314, 1803, 12, 19184, 2802, 6946, 4858, 13, 288, 202, 202, 2211, 12, 9177, 18, 588, 6946, 4956, 10663, 202, 202, 74, 6946, 33, 4858, 31, 202, 202, 542, 1526, 12, 1893, 1526, 6946, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6654, 1908, 6293, 7736, 2314, 1803, 12, 19184, 2802, 6946, 4858, 13, 288, 202, 202, 2211, 12, 9177, 18, 588, 6946, 4956, 10663, 202, 202, 74, 6946, 33, 4858, 31, 202, 202, 542, 1526, 12, 1893, 1526, 6946, 10663, 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 ]
toolbarProxy.setTargetControl(newToolbar); if (newToolbar != null) { if (folder.getToolbar() == null) { folder.setToolbar(toolbarProxy.getControl()); } } else { if (folder.getToolbar() != null) { folder.setToolbar(null); } }
if (folder.getToolbar() != newToolbar) { folder.setToolbar(newToolbar); }
private void setToolbar(Control newToolbar) { toolbarProxy.setTargetControl(newToolbar); if (newToolbar != null) { if (folder.getToolbar() == null) { folder.setToolbar(toolbarProxy.getControl()); } } else { if (folder.getToolbar() != null) { folder.setToolbar(null); } } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/aaa67ee0d5b82c6c46eb51216d63b2b2927d58b7/PresentablePartFolder.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/util/PresentablePartFolder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 444, 17907, 12, 3367, 394, 17907, 13, 288, 3639, 12748, 3886, 18, 542, 2326, 3367, 12, 2704, 17907, 1769, 3639, 309, 261, 2704, 17907, 480, 446, 13, 288, 5411, 309, 261, 5609, 18, 588, 17907, 1435, 422, 446, 13, 288, 7734, 3009, 18, 542, 17907, 12, 18849, 3886, 18, 588, 3367, 10663, 18701, 289, 3639, 289, 469, 288, 5411, 309, 261, 5609, 18, 588, 17907, 1435, 480, 446, 13, 288, 7734, 3009, 18, 542, 17907, 12, 2011, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 444, 17907, 12, 3367, 394, 17907, 13, 288, 3639, 12748, 3886, 18, 542, 2326, 3367, 12, 2704, 17907, 1769, 3639, 309, 261, 2704, 17907, 480, 446, 13, 288, 5411, 309, 261, 5609, 18, 588, 17907, 1435, 422, 446, 13, 288, 7734, 3009, 18, 542, 17907, 12, 18849, 3886, 18, 588, 3367, 10663, 18701, 289, 3639, 289, 469, 288, 5411, 309, 261, 5609, 18, 588, 17907, 1435, 480, 446, 13, 288, 7734, 3009, 18, 542, 17907, 12, 2011, 1769, 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, -100, -100 ]
if (m_protocolVersion == 1)
if (m_protocolVersion == 2)
public String getCommandPlay(Move move) { board.Point p = move.getPoint(); board.Color c = move.getColor(); String command = ""; if (m_protocolVersion == 1) command = "play "; command = command + c.toString(); if (p == null) command = command + " pass"; else command = command + " " + p.toString(); return command; }
48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/c09c4701c727bc04a54a137b776ad1a57cf7e2f3/Gtp.java/clean/gtp/Gtp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 12856, 11765, 12, 7607, 3635, 13, 565, 288, 7734, 11094, 18, 2148, 293, 273, 3635, 18, 588, 2148, 5621, 3639, 11094, 18, 2957, 276, 273, 3635, 18, 588, 2957, 5621, 3639, 514, 1296, 273, 1408, 31, 3639, 309, 261, 81, 67, 8373, 1444, 422, 576, 13, 5411, 1296, 273, 315, 1601, 13636, 3639, 1296, 273, 1296, 397, 276, 18, 10492, 5621, 3639, 309, 261, 84, 422, 446, 13, 5411, 1296, 273, 1296, 397, 315, 1342, 14432, 3639, 469, 5411, 1296, 273, 1296, 397, 315, 315, 397, 293, 18, 10492, 5621, 3639, 327, 1296, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 12856, 11765, 12, 7607, 3635, 13, 565, 288, 7734, 11094, 18, 2148, 293, 273, 3635, 18, 588, 2148, 5621, 3639, 11094, 18, 2957, 276, 273, 3635, 18, 588, 2957, 5621, 3639, 514, 1296, 273, 1408, 31, 3639, 309, 261, 81, 67, 8373, 1444, 422, 576, 13, 5411, 1296, 273, 315, 1601, 13636, 3639, 1296, 273, 1296, 397, 276, 18, 10492, 5621, 3639, 309, 261, 84, 422, 446, 13, 5411, 1296, 273, 1296, 397, 315, 1342, 14432, 3639, 469, 5411, 1296, 273, 1296, 397, 315, 315, 397, 293, 18, 10492, 5621, 3639, 327, 1296, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else if ((splitter.getType() == SIRSplitType.WEIGHTED_RR) || (splitter.getType() == SIRSplitType.ROUND_ROBIN)) { sjTransform = LinearTransformSplitJoin.calculateRoundRobin(repList, joinWeights, splitWeights);
} else if (splitter.getType().equals(SIRSplitType.ROUND_ROBIN) || splitter.getType().equals(SIRSplitType.WEIGHTED_RR)) { repList = convertToDuplicate(repList, splitWeights); sjTransform = LinearTransformSplitJoin.calculateDuplicate(repList, joinWeights);
public void postVisitSplitJoin(SIRSplitJoin self, SIRSplitJoinIter iter) { this.splitJoinsSeen++; SIRSplitter splitter = self.getSplitter(); SIRJoiner joiner = self.getJoiner(); int[] splitWeights = splitter.getWeights(); int[] joinWeights = joiner.getWeights(); LinearPrinter.println("Visiting SplitJoin (" + self + ")"); LinearPrinter.println(" splitter: " + splitter.getType() + makeStringFromIntArray(splitWeights)); LinearPrinter.println(" joiner: " + joiner.getType() + makeStringFromIntArray(joinWeights)); Iterator childIter = self.getChildren().iterator(); while(childIter.hasNext()) { SIROperator currentChild = (SIROperator)childIter.next(); if (currentChild instanceof SIRStream) { boolean childLinearity = this.hasLinearRepresentation((SIRStream)currentChild); LinearPrinter.println(" child: " + currentChild + "(" + (childLinearity ? "linear" : "non-linear") + ")"); } else { LinearPrinter.println(" child: " + currentChild); } } // first things first -- for each child we need a linear rep, so // iterate through all children and create a parallel list // of linear representations. Remember that the first two elements // are the splitter and the joiner so we get rid of them right off the // bat. LinkedList repList = new LinkedList(); List childList = self.getChildren(); childList.remove(0); childList.remove(childList.size()-1); // remove the splitter and the joiner childIter = childList.iterator(); while (childIter.hasNext()) { SIRStream currentChild = (SIRStream)childIter.next(); boolean childLinearity = this.hasLinearRepresentation(currentChild); // if we have a linear rep, add it to our list, otherwise we are done if (childLinearity) { repList.add(this.getLinearRepresentation(currentChild)); } else { LinearPrinter.println(" aborting split join combination -- non-linear child detected."); return; } } // the transform that we will set based on the splitter type. LinearTransform sjTransform = null; // dispatch based on the splitter if (splitter.getType() == SIRSplitType.DUPLICATE) { // process duplicate splitter sjTransform = LinearTransformSplitJoin.calculateDuplicate(repList, joinWeights); } else if ((splitter.getType() == SIRSplitType.WEIGHTED_RR) || (splitter.getType() == SIRSplitType.ROUND_ROBIN)) { // process roundrobin splitter sjTransform = LinearTransformSplitJoin.calculateRoundRobin(repList, joinWeights, splitWeights); } else if (splitter.getType() == SIRSplitType.NULL) { LinearPrinter.println(" Ignoring null splitter."); } else { LinearPrinter.println(" Ignoring unknown splitter type: " + splitter.getType()); } // if we don't have a transform, we are done and return here if (sjTransform == null) { LinearPrinter.println(" no transform found. stop"); return; } // do the actual transform LinearPrinter.println(" performing transform."); LinearFilterRepresentation newRep = null; try { newRep = sjTransform.transform(); } catch (NoTransformPossibleException e) { LinearPrinter.println(" error performing transform: " + e.getMessage()); } // If the new rep is null, some error occured and we are done if (newRep == null) { LinearPrinter.println(" transform unsuccessful. stop."); return; } LinearPrinter.println(" transform successful."); // check for debugging so we don't waste time producing output if not needed if (LinearPrinter.getOutput()) { LinearPrinter.println("Linear splitjoin found: " + self + "\n-->Matrix:\n" + newRep.getA() + "\n-->Constant Vector:\n" + newRep.getb()); } // add a mapping from this split join to the new linear representation this.filtersToLinearRepresentation.put(self, newRep); }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/c1155d487a2e1e33b55e5ced5346f0f34b48f8c8/LinearAnalyzer.java/clean/streams/src/at/dms/kjc/sir/linear/LinearAnalyzer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1603, 10432, 5521, 4572, 12, 2320, 54, 5521, 4572, 365, 16, 5705, 54, 5521, 4572, 2360, 1400, 13, 288, 202, 2211, 18, 4939, 21108, 15160, 9904, 31, 202, 2320, 54, 26738, 21553, 273, 365, 18, 588, 26738, 5621, 202, 2320, 54, 4572, 264, 282, 29620, 282, 273, 365, 18, 588, 4572, 264, 5621, 202, 474, 8526, 1416, 16595, 282, 273, 21553, 18, 588, 16595, 5621, 202, 474, 8526, 1233, 16595, 565, 273, 29620, 18, 588, 16595, 5621, 202, 202, 15982, 12149, 18, 8222, 2932, 10432, 310, 5385, 4572, 7566, 397, 365, 397, 7310, 1769, 202, 15982, 12149, 18, 8222, 2932, 21553, 30, 315, 397, 21553, 18, 588, 559, 1435, 397, 9506, 1377, 1221, 780, 1265, 1702, 1076, 12, 4939, 16595, 10019, 202, 15982, 12149, 18, 8222, 2932, 29620, 30, 315, 397, 29620, 18, 588, 559, 1435, 397, 4697, 1377, 1221, 780, 1265, 1702, 1076, 12, 5701, 16595, 10019, 202, 3198, 1151, 2360, 273, 365, 18, 588, 4212, 7675, 9838, 5621, 202, 17523, 12, 3624, 2360, 18, 5332, 2134, 10756, 288, 202, 565, 5705, 1457, 457, 639, 783, 1763, 273, 261, 2320, 1457, 457, 639, 13, 3624, 2360, 18, 4285, 5621, 202, 565, 309, 261, 2972, 1763, 1276, 5705, 54, 1228, 13, 288, 202, 202, 6494, 1151, 15982, 560, 273, 333, 18, 5332, 15982, 13742, 12443, 2320, 54, 1228, 13, 2972, 1763, 1769, 202, 202, 15982, 12149, 18, 8222, 2932, 1151, 30, 315, 397, 783, 1763, 397, 12452, 397, 6862, 1377, 261, 3624, 15982, 560, 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, 1603, 10432, 5521, 4572, 12, 2320, 54, 5521, 4572, 365, 16, 5705, 54, 5521, 4572, 2360, 1400, 13, 288, 202, 2211, 18, 4939, 21108, 15160, 9904, 31, 202, 2320, 54, 26738, 21553, 273, 365, 18, 588, 26738, 5621, 202, 2320, 54, 4572, 264, 282, 29620, 282, 273, 365, 18, 588, 4572, 264, 5621, 202, 474, 8526, 1416, 16595, 282, 273, 21553, 18, 588, 16595, 5621, 202, 474, 8526, 1233, 16595, 565, 273, 29620, 18, 588, 16595, 5621, 202, 202, 15982, 12149, 18, 8222, 2932, 10432, 310, 5385, 4572, 7566, 397, 365, 397, 7310, 1769, 202, 15982, 12149, 18, 8222, 2932, 21553, 30, 315, 397, 21553, 18, 588, 559, 1435, 397, 9506, 1377, 1221, 780, 1265, 1702, 2 ]
this.relationshipMap = (Map)getPropertyValue( GrailsDomainClassProperty.RELATES_TO_MANY, Map.class ); if(this.relationshipMap == null) { this.relationshipMap = new HashMap(); }
this.relationshipMap = getAssociationMap();
public DefaultGrailsDomainClass(Class clazz) { super(clazz, ""); PropertyDescriptor[] propertyDescriptors = getReference().getPropertyDescriptors(); if(!clazz.getSuperclass().equals( GroovyObject.class ) && !clazz.getSuperclass().equals(Object.class) && !Modifier.isAbstract(clazz.getSuperclass().getModifiers())) { this.root = false; } this.propertyMap = new HashMap(); this.relationshipMap = (Map)getPropertyValue( GrailsDomainClassProperty.RELATES_TO_MANY, Map.class ); if(this.relationshipMap == null) { this.relationshipMap = new HashMap(); } // process the constraints evaluateConstraints(); // get mapped by setting if(getPropertyValue(GrailsDomainClassProperty.MAPPED_BY, String.class) != null) this.mappedBy = (String)getPropertyValue(GrailsDomainClassProperty.MAPPED_BY, String.class); Class belongsTo = (Class)getPropertyValue(GrailsDomainClassProperty.BELONGS_TO, Class.class); if(belongsTo == null) { List ownersProp = (List)getPropertyValue(GrailsDomainClassProperty.BELONGS_TO, List.class); if(ownersProp != null) { this.owners = ownersProp; } } else { this.owners = new ArrayList(); this.owners.add(belongsTo); } // First go through the properties of the class and create domain properties // populating into a map for(int i = 0; i < propertyDescriptors.length; i++) { PropertyDescriptor descriptor = propertyDescriptors[i]; // ignore certain properties if(!descriptor.getName().equals( GrailsDomainClassProperty.META_CLASS ) && !descriptor.getName().equals( GrailsDomainClassProperty.CLASS ) && !descriptor.getName().equals( GrailsDomainClassProperty.TRANSIENT) && !descriptor.getName().equals( GrailsDomainClassProperty.RELATES_TO_MANY) && !descriptor.getName().equals( GrailsDomainClassProperty.EVANESCENT) && !descriptor.getName().equals( GrailsDomainClassProperty.OPTIONAL) && !descriptor.getName().equals( GrailsDomainClassProperty.CONSTRAINTS )&& !descriptor.getName().equals( GrailsDomainClassProperty.MAPPED_BY ) && !descriptor.getName().equals( GrailsDomainClassProperty.BELONGS_TO ) ) { GrailsDomainClassProperty property = new DefaultGrailsDomainClassProperty(this, descriptor); this.propertyMap.put(property.getName(), property); if(property.isIdentity()) { this.identifier = property; } else if(property.getName().equals( GrailsDomainClassProperty.VERSION )) { this.version = property; } } } // if no identifier property throw exception if(this.identifier == null) { throw new GrailsDomainException("Identity property not found, but required in domain class ["+getFullName()+"]" ); } // if no version property throw exception if(this.version == null) { throw new GrailsDomainException("Version property not found, but required in domain class ["+getFullName()+"]" ); } // set properties from map values this.properties = (GrailsDomainClassProperty[])this.propertyMap.values().toArray( new GrailsDomainClassProperty[this.propertyMap.size()] ); // establish relationships establishRelationships(); // set persistant properties Collection tempList = new ArrayList(); for(Iterator i = this.propertyMap.values().iterator();i.hasNext();) { GrailsDomainClassProperty currentProp = (GrailsDomainClassProperty)i.next(); if(currentProp.isPersistent() && !currentProp.isIdentity() && !currentProp.getName().equals( GrailsDomainClassProperty.VERSION )) { tempList.add(currentProp); } } this.persistantProperties = (GrailsDomainClassProperty[])tempList.toArray( new GrailsDomainClassProperty[tempList.size()]); }
53275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53275/b6ef9ddec7862d8efa8e6b63db67dfa714830c8a/DefaultGrailsDomainClass.java/clean/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2989, 14571, 14573, 3748, 797, 12, 797, 4003, 13, 288, 202, 202, 9565, 12, 830, 3638, 16, 1408, 1769, 202, 202, 1396, 3187, 8526, 1272, 12705, 273, 13223, 7675, 588, 1396, 12705, 5621, 9506, 202, 430, 12, 5, 830, 3638, 18, 588, 28471, 7675, 14963, 12, 20841, 921, 18, 1106, 262, 597, 1875, 282, 401, 830, 3638, 18, 588, 28471, 7675, 14963, 12, 921, 18, 1106, 13, 597, 1082, 282, 401, 9829, 18, 291, 7469, 12, 830, 3638, 18, 588, 28471, 7675, 588, 11948, 1435, 3719, 288, 1082, 202, 2211, 18, 3085, 273, 629, 31, 202, 202, 97, 202, 202, 2211, 18, 4468, 863, 273, 394, 4317, 5621, 202, 202, 2211, 18, 12873, 863, 273, 261, 863, 13, 588, 16107, 12, 10812, 14573, 3748, 797, 1396, 18, 862, 10512, 55, 67, 4296, 67, 24177, 16, 1635, 18, 1106, 11272, 202, 202, 430, 12, 2211, 18, 12873, 863, 422, 446, 13, 288, 1082, 202, 2211, 18, 12873, 863, 273, 394, 4317, 5621, 202, 202, 97, 202, 202, 759, 1207, 326, 6237, 202, 202, 21024, 4878, 5621, 9506, 202, 759, 336, 5525, 635, 3637, 202, 202, 430, 12, 588, 16107, 12, 14571, 14573, 3748, 797, 1396, 18, 8352, 12120, 67, 6486, 16, 514, 18, 1106, 13, 480, 446, 13, 1082, 202, 2211, 18, 13654, 858, 273, 261, 780, 13, 588, 16107, 12, 14571, 14573, 3748, 797, 1396, 18, 8352, 12120, 67, 6486, 16, 514, 18, 1106, 1769, 3639, 1659, 11081, 774, 273, 261, 797, 13, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2989, 14571, 14573, 3748, 797, 12, 797, 4003, 13, 288, 202, 202, 9565, 12, 830, 3638, 16, 1408, 1769, 202, 202, 1396, 3187, 8526, 1272, 12705, 273, 13223, 7675, 588, 1396, 12705, 5621, 9506, 202, 430, 12, 5, 830, 3638, 18, 588, 28471, 7675, 14963, 12, 20841, 921, 18, 1106, 262, 597, 1875, 282, 401, 830, 3638, 18, 588, 28471, 7675, 14963, 12, 921, 18, 1106, 13, 597, 1082, 282, 401, 9829, 18, 291, 7469, 12, 830, 3638, 18, 588, 28471, 7675, 588, 11948, 1435, 3719, 288, 1082, 202, 2211, 18, 3085, 273, 629, 31, 202, 202, 97, 202, 202, 2211, 18, 4468, 863, 273, 394, 4317, 5621, 202, 202, 2211, 18, 12873, 863, 273, 261, 2 ]
super(copyObject); this.identifier = new String(copyObject.identifier);
public FrameBodyUnsupported(FrameBodyUnsupported copyObject) { super(copyObject); this.identifier = new String(copyObject.identifier); }
14186 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14186/ccb133777eacbbd40790326737927827b6882786/FrameBodyUnsupported.java/buggy/src/org/jaudiotagger/tag/id3/framebody/FrameBodyUnsupported.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8058, 2250, 8544, 12, 3219, 2250, 8544, 1610, 921, 13, 565, 288, 3639, 2240, 12, 3530, 921, 1769, 3639, 333, 18, 5644, 273, 394, 514, 12, 3530, 921, 18, 5644, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 8058, 2250, 8544, 12, 3219, 2250, 8544, 1610, 921, 13, 565, 288, 3639, 2240, 12, 3530, 921, 1769, 3639, 333, 18, 5644, 273, 394, 514, 12, 3530, 921, 18, 5644, 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 ]
s.setPixels(new Integer(getSizeX(id)), new Integer(getSizeY(id)), new Integer(getSizeZ(id)), new Integer(getSizeC(id)), new Integer(getSizeT(id)), null, null, null, null);
s.setPixels(new Integer(dimensions[0]), new Integer(dimensions[1]), new Integer(dimensions[2]), new Integer(dimensions[3]), new Integer(dimensions[3]), null, null, null, null);
protected void initFile(String id) throws FormatException, IOException { currentId = id; numImages = 0; dimensions = new int[5]; // get the matching files fp = new FilePattern(new File(id)); files = fp.getFiles(); if (files == null) { throw new FormatException("Invalid file pattern. Please rename " + "your files or disable file stitching."); } imageCounts = new int[files.length]; // determine the total number of images and build a list of dimensions // for each file int[][] dims = new int[files.length][5]; for (int i=0; i<files.length; i++) { imageCounts[i] = reader.getImageCount(files[i]); numImages += imageCounts[i]; dims[i][0] = reader.getSizeX(files[i]); dims[i][1] = reader.getSizeY(files[i]); dims[i][2] = reader.getSizeZ(files[i]); dims[i][3] = reader.getSizeC(files[i]); dims[i][4] = reader.getSizeT(files[i]); } // determine how many varying dimensions there are for (int i=1; i<dims.length; i++) { varyZ = dims[i][2] != dims[i-1][2]; varyC = dims[i][3] != dims[i-1][3]; varyT = dims[i][4] != dims[i-1][4]; } // always set the width and height to the maximum values for (int i=0; i<dims.length; i++) { if (dims[i][0] > dimensions[0]) { dimensions[0] = dims[i][0]; } if (dims[i][1] > dimensions[1]) { dimensions[1] = dims[i][1]; } } if (varyZ || varyC || varyT) { int max = 0; int maxIndex = 0; for (int i=0; i<dims.length; i++) { if (dims[i][2] > max) { max = dims[i][2]; maxIndex = i; } } dimensions[2] = dims[maxIndex][2]; } else { dimensions[2] = dims[0][2]; dimensions[3] = dims[0][3]; dimensions[4] = dims[0][4]; } setDimensions(dims); MetadataStore s = reader.getMetadataStore(id); s.setPixels(new Integer(getSizeX(id)), new Integer(getSizeY(id)), new Integer(getSizeZ(id)), new Integer(getSizeC(id)), new Integer(getSizeT(id)), null, null, null, null); setMetadataStore(s); }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/f10429bbdbd92f11ec6dd4620ea838d1dd11457f/FileStitcher.java/clean/loci/formats/FileStitcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 783, 548, 273, 612, 31, 565, 818, 8946, 273, 374, 31, 565, 5769, 273, 394, 509, 63, 25, 15533, 565, 368, 336, 326, 3607, 1390, 565, 4253, 273, 394, 1387, 3234, 12, 2704, 1387, 12, 350, 10019, 565, 1390, 273, 4253, 18, 588, 2697, 5621, 565, 309, 261, 2354, 422, 446, 13, 288, 1377, 604, 394, 4077, 503, 2932, 1941, 585, 1936, 18, 225, 7801, 6472, 315, 397, 3639, 315, 93, 477, 1390, 578, 4056, 585, 384, 1437, 310, 1199, 1769, 565, 289, 565, 1316, 9211, 273, 394, 509, 63, 2354, 18, 2469, 15533, 565, 368, 4199, 326, 2078, 1300, 434, 4602, 471, 1361, 279, 666, 434, 5769, 565, 368, 364, 1517, 585, 565, 509, 63, 6362, 65, 9914, 273, 394, 509, 63, 2354, 18, 2469, 6362, 25, 15533, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2354, 18, 2469, 31, 277, 27245, 288, 1377, 1316, 9211, 63, 77, 65, 273, 2949, 18, 588, 2040, 1380, 12, 2354, 63, 77, 19226, 1377, 818, 8946, 1011, 1316, 9211, 63, 77, 15533, 1377, 9914, 63, 77, 6362, 20, 65, 273, 2949, 18, 588, 1225, 60, 12, 2354, 63, 77, 19226, 1377, 9914, 63, 77, 6362, 21, 65, 273, 2949, 18, 588, 1225, 61, 12, 2354, 63, 77, 19226, 1377, 9914, 63, 77, 6362, 22, 65, 273, 2949, 18, 588, 1225, 62, 12, 2354, 63, 77, 19226, 1377, 9914, 63, 77, 6362, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 783, 548, 273, 612, 31, 565, 818, 8946, 273, 374, 31, 565, 5769, 273, 394, 509, 63, 25, 15533, 565, 368, 336, 326, 3607, 1390, 565, 4253, 273, 394, 1387, 3234, 12, 2704, 1387, 12, 350, 10019, 565, 1390, 273, 4253, 18, 588, 2697, 5621, 565, 309, 261, 2354, 422, 446, 13, 288, 1377, 604, 394, 4077, 503, 2932, 1941, 585, 1936, 18, 225, 7801, 6472, 315, 397, 3639, 315, 93, 477, 1390, 578, 4056, 585, 384, 1437, 310, 1199, 1769, 565, 289, 565, 1316, 9211, 273, 394, 509, 63, 2354, 18, 2469, 15533, 565, 368, 4199, 326, 2078, 1300, 434, 4602, 471, 2 ]
if (setupRole(community)) {
boolean b = setupRole(community); if (_log.isDebugEnabled()) { _log.debug("Got community: " + community.getName() + " - Remove listener=" + b); } if (b) {
public void communityChanged(CommunityChangeEvent event) { Community community = event.getCommunity(); try { Attributes attrs = community.getAttributes(); Attribute attr = attrs.get("CommunityType"); if (attr != null) { for (int i = 0; i < attr.size(); i++) { Object type = attr.get(i); if (type.equals(COMMUNITY_TYPE)) { if (setupRole(community)) { _communityService.removeListener(this); } } } } } catch (NamingException e) { throw new RuntimeException("This should never happen"); } }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/7e15e90ff621eb113bd1d3fce291a0486cb6be06/AgentUserService.java/buggy/securityservices/src/org/cougaar/core/security/acl/user/AgentUserService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 19833, 5033, 12, 12136, 13352, 20930, 871, 13, 288, 1850, 16854, 13352, 19833, 273, 871, 18, 588, 12136, 13352, 5621, 1850, 775, 288, 5411, 9055, 3422, 273, 19833, 18, 588, 2498, 5621, 5411, 3601, 1604, 273, 3422, 18, 588, 2932, 12136, 13352, 559, 8863, 5411, 309, 261, 1747, 480, 446, 13, 288, 2868, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1604, 18, 1467, 5621, 277, 27245, 288, 7734, 1033, 618, 273, 1604, 18, 588, 12, 77, 1769, 7734, 309, 261, 723, 18, 14963, 12, 4208, 49, 2124, 4107, 67, 2399, 3719, 288, 5375, 1250, 324, 273, 3875, 2996, 12, 20859, 1769, 309, 261, 67, 1330, 18, 291, 2829, 1526, 10756, 288, 389, 1330, 18, 4148, 2932, 15617, 19833, 30, 315, 397, 19833, 18, 17994, 1435, 397, 315, 300, 3581, 2991, 1546, 397, 324, 1769, 289, 309, 261, 70, 13, 288, 10792, 389, 20859, 1179, 18, 4479, 2223, 12, 2211, 1769, 5375, 289, 7734, 289, 2868, 289, 5411, 289, 1850, 289, 1044, 261, 24102, 503, 425, 13, 288, 5411, 604, 394, 3235, 2932, 2503, 1410, 5903, 5865, 8863, 1850, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 19833, 5033, 12, 12136, 13352, 20930, 871, 13, 288, 1850, 16854, 13352, 19833, 273, 871, 18, 588, 12136, 13352, 5621, 1850, 775, 288, 5411, 9055, 3422, 273, 19833, 18, 588, 2498, 5621, 5411, 3601, 1604, 273, 3422, 18, 588, 2932, 12136, 13352, 559, 8863, 5411, 309, 261, 1747, 480, 446, 13, 288, 2868, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1604, 18, 1467, 5621, 277, 27245, 288, 7734, 1033, 618, 273, 1604, 18, 588, 12, 77, 1769, 7734, 309, 261, 723, 18, 14963, 12, 4208, 49, 2124, 4107, 67, 2399, 3719, 288, 5375, 1250, 324, 273, 3875, 2996, 12, 20859, 1769, 309, 261, 67, 1330, 18, 291, 2829, 1526, 10756, 288, 389, 1330, 18, 2 ]
managingTask.log("Output redirected to property: "
managingTask.log("Output redirected to property: "
public void createStreams() { if (out == null && outputProperty == null) { outputStream = new LogOutputStream(managingTask, Project.MSG_INFO); errorStream = new LogOutputStream(managingTask, Project.MSG_WARN); } else { if (out != null) { try { outputStream = new FileOutputStream(out.getAbsolutePath(), append); managingTask.log("Output redirected to " + out, Project.MSG_VERBOSE); } catch (FileNotFoundException fne) { throw new BuildException("Cannot write to " + out, fne); } catch (IOException ioe) { throw new BuildException("Cannot write to " + out, ioe); } } if (outputProperty != null) { baos = new ByteArrayOutputStream(); managingTask.log("Output redirected to property: " + outputProperty, Project.MSG_VERBOSE); if (out == null) { outputStream = baos; } else { outputStream = new TeeOutputStream(outputStream, baos); } } else { baos = null; } errorStream = outputStream; } if (logError) { errorStream = new LogOutputStream(managingTask, Project.MSG_WARN); } if (error != null) { try { errorStream = new FileOutputStream(error.getAbsolutePath(), append); managingTask.log("Error redirected to " + error, Project.MSG_VERBOSE); } catch (FileNotFoundException fne) { throw new BuildException("Cannot write to " + error, fne); } catch (IOException ioe) { throw new BuildException("Cannot write to " + error, ioe); } } if (errorProperty != null) { errorBaos = new ByteArrayOutputStream(); managingTask.log("Error redirected to property: " + errorProperty, Project.MSG_VERBOSE); if (error == null) { errorStream = errorBaos; } else { errorStream = new TeeOutputStream(errorStream, errorBaos); } } else { errorBaos = null; } if (input != null && inputString != null) { throw new BuildException("The \"input\" and \"inputstring\" " + "attributes cannot both be specified"); } if (input != null) { try { inputStream = new FileInputStream(input); } catch (FileNotFoundException fne) { throw new BuildException("Cannot read from " + input, fne); } } else if (inputString != null) { inputStream = new ByteArrayInputStream(inputString.getBytes()); } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/6ee5317ca34e43ca1d62e890dcf034eb44cca649/Redirector.java/clean/src/main/org/apache/tools/ant/taskdefs/Redirector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 10301, 1435, 288, 7734, 309, 261, 659, 422, 446, 597, 876, 1396, 422, 446, 13, 288, 5411, 14956, 273, 394, 1827, 4632, 12, 81, 940, 310, 2174, 16, 5420, 18, 11210, 67, 5923, 1769, 5411, 555, 1228, 273, 394, 1827, 4632, 12, 81, 940, 310, 2174, 16, 5420, 18, 11210, 67, 27999, 1769, 3639, 289, 469, 288, 5411, 309, 261, 659, 480, 446, 13, 225, 288, 7734, 775, 288, 10792, 14956, 7682, 273, 394, 12942, 12, 659, 18, 588, 10368, 743, 9334, 714, 1769, 10792, 30632, 2174, 18, 1330, 2932, 1447, 21808, 358, 315, 397, 596, 16, 4766, 1377, 5420, 18, 11210, 67, 21900, 1769, 7734, 289, 1044, 261, 812, 3990, 2295, 73, 13, 288, 10792, 604, 394, 18463, 2932, 4515, 1045, 358, 315, 397, 596, 16, 2295, 73, 1769, 7734, 289, 1044, 261, 14106, 10847, 13, 288, 10792, 604, 394, 18463, 2932, 4515, 1045, 358, 315, 397, 596, 16, 10847, 1769, 7734, 289, 5411, 289, 10792, 309, 261, 2844, 1396, 480, 446, 13, 288, 7734, 17548, 273, 394, 11559, 5621, 7734, 30632, 2174, 18, 1330, 2932, 1447, 21808, 358, 1272, 30, 315, 5397, 397, 876, 1396, 16, 5420, 18, 11210, 67, 21900, 1769, 7734, 309, 261, 659, 422, 446, 13, 288, 10792, 14956, 273, 17548, 31, 7734, 289, 469, 288, 10792, 14956, 273, 394, 399, 1340, 4632, 12, 2844, 1228, 16, 17548, 1769, 7734, 289, 5411, 289, 469, 288, 7734, 17548, 273, 446, 31, 5411, 289, 13491, 555, 1228, 273, 14956, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 10301, 1435, 288, 7734, 309, 261, 659, 422, 446, 597, 876, 1396, 422, 446, 13, 288, 5411, 14956, 273, 394, 1827, 4632, 12, 81, 940, 310, 2174, 16, 5420, 18, 11210, 67, 5923, 1769, 5411, 555, 1228, 273, 394, 1827, 4632, 12, 81, 940, 310, 2174, 16, 5420, 18, 11210, 67, 27999, 1769, 3639, 289, 469, 288, 5411, 309, 261, 659, 480, 446, 13, 225, 288, 7734, 775, 288, 10792, 14956, 7682, 273, 394, 12942, 12, 659, 18, 588, 10368, 743, 9334, 714, 1769, 10792, 30632, 2174, 18, 1330, 2932, 1447, 21808, 358, 315, 397, 596, 16, 4766, 1377, 5420, 18, 11210, 67, 21900, 1769, 7734, 289, 1044, 261, 812, 3990, 2295, 73, 13, 288, 2 ]
chooser.setMultiSelectionEnabled(true); chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
chooser.setMultiSelectionEnabled(true); chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
private void browseSrcDirButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_browseSrcDirButtonActionPerformed JFileChooser chooser = createFileChooser(); chooser.setFileFilter(archiveAndDirectoryFilter); chooser.setMultiSelectionEnabled(true); chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES); int rc = chooseFile(chooser, "Add source directory or archive"); if (rc == JFileChooser.APPROVE_OPTION) { File[] selectedFileList = chooser.getSelectedFiles(); for (int i = 0; i < selectedFileList.length; ++i) { selectedFileList[i] = verifyFileSelection(selectedFileList[i]); String entry = selectedFileList[i].getPath(); addSrcToProject(entry); } } }//GEN-LAST:event_browseSrcDirButtonActionPerformed
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 21670, 7740, 1621, 3616, 19449, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 759, 16652, 17, 15354, 30, 2575, 67, 25731, 7740, 1621, 3616, 19449, 202, 202, 46, 812, 17324, 5011, 13164, 273, 21266, 17324, 5621, 202, 202, 2599, 13164, 18, 542, 29837, 12, 10686, 1876, 2853, 1586, 1769, 3639, 5011, 13164, 18, 542, 5002, 6233, 1526, 12, 3767, 1769, 3639, 5011, 13164, 18, 542, 812, 6233, 2309, 12, 46, 812, 17324, 18, 12669, 67, 4307, 67, 17541, 916, 8805, 1769, 540, 202, 202, 474, 4519, 273, 9876, 812, 12, 2599, 13164, 16, 315, 986, 1084, 1867, 578, 5052, 8863, 3639, 309, 261, 1310, 422, 804, 812, 17324, 18, 2203, 3373, 3412, 67, 7425, 13, 288, 5411, 1387, 8526, 3170, 26098, 273, 5011, 13164, 18, 588, 7416, 2697, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3170, 26098, 18, 2469, 31, 965, 77, 13, 288, 2398, 202, 8109, 26098, 63, 77, 65, 273, 3929, 812, 6233, 12, 8109, 26098, 63, 77, 19226, 7734, 514, 1241, 273, 3170, 26098, 63, 77, 8009, 588, 743, 5621, 7734, 527, 7740, 774, 4109, 12, 4099, 1769, 5411, 289, 3639, 289, 565, 289, 759, 16652, 17, 14378, 30, 2575, 67, 25731, 7740, 1621, 3616, 19449, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 21670, 7740, 1621, 3616, 19449, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 759, 16652, 17, 15354, 30, 2575, 67, 25731, 7740, 1621, 3616, 19449, 202, 202, 46, 812, 17324, 5011, 13164, 273, 21266, 17324, 5621, 202, 202, 2599, 13164, 18, 542, 29837, 12, 10686, 1876, 2853, 1586, 1769, 3639, 5011, 13164, 18, 542, 5002, 6233, 1526, 12, 3767, 1769, 3639, 5011, 13164, 18, 542, 812, 6233, 2309, 12, 46, 812, 17324, 18, 12669, 67, 4307, 67, 17541, 916, 8805, 1769, 540, 202, 202, 474, 4519, 273, 9876, 812, 12, 2599, 13164, 16, 315, 986, 1084, 1867, 578, 5052, 8863, 3639, 309, 261, 1310, 422, 804, 812, 17324, 18, 2203, 3373, 2 ]
field = cpg.addFieldref(className, "_document", DOM_INTF_SIG);
field = cpg.addFieldref(_className, "_document", DOM_INTF_SIG);
private void compileLocals(NodeCounterGenerator nodeCounterGen, MatchGenerator matchGen, InstructionList il) { ConstantPoolGen cpg = nodeCounterGen.getConstantPool(); final String className = matchGen.getClassName(); LocalVariableGen local; int field; // Get NodeCounter._iterator and store locally local = matchGen.addLocalVariable("iterator", Util.getJCRefType(NODE_ITERATOR_SIG), null, null); field = cpg.addFieldref(NODE_COUNTER, "_iterator", ITERATOR_FIELD_SIG); il.append(ALOAD_0); // 'this' pointer on stack il.append(new GETFIELD(field)); il.append(new ASTORE(local.getIndex())); matchGen.setIteratorIndex(local.getIndex()); // Get NodeCounter._translet and store locally local = matchGen.addLocalVariable("translet", Util.getJCRefType(TRANSLET_SIG), null, null); field = cpg.addFieldref(NODE_COUNTER, "_translet", "Lorg/apache/xalan/xsltc/Translet;"); il.append(ALOAD_0); // 'this' pointer on stack il.append(new GETFIELD(field)); il.append(new CHECKCAST(cpg.addClass(TRANSLET_CLASS))); il.append(new ASTORE(local.getIndex())); nodeCounterGen.setTransletIndex(local.getIndex()); // Get NodeCounter._document and store locally local = matchGen.addLocalVariable("document", Util.getJCRefType(DOM_INTF_SIG), null, null); field = cpg.addFieldref(className, "_document", DOM_INTF_SIG); il.append(ALOAD_0); // 'this' pointer on stack il.append(new GETFIELD(field)); // Make sure we have the correct DOM type on the stack!!! il.append(new ASTORE(local.getIndex())); matchGen.setDomIndex(local.getIndex()); }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/00a93536f5d540e84d3bba1a356b60bc17fb7bef/Number.java/clean/src/org/apache/xalan/xsltc/compiler/Number.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4074, 1333, 1031, 12, 907, 4789, 3908, 756, 4789, 7642, 16, 9506, 4202, 4639, 3908, 845, 7642, 16, 9506, 4202, 24605, 682, 14254, 13, 288, 202, 6902, 2864, 7642, 3283, 75, 273, 756, 4789, 7642, 18, 588, 6902, 2864, 5621, 202, 6385, 514, 2658, 273, 845, 7642, 18, 588, 3834, 5621, 202, 2042, 3092, 7642, 1191, 31, 202, 474, 652, 31, 202, 759, 968, 2029, 4789, 6315, 9838, 471, 1707, 13760, 202, 3729, 273, 845, 7642, 18, 1289, 2042, 3092, 2932, 9838, 3113, 9944, 225, 3564, 18, 588, 46, 39, 22600, 12, 8744, 67, 11844, 3575, 67, 18513, 3631, 25083, 225, 446, 16, 446, 1769, 202, 1518, 273, 3283, 75, 18, 1289, 974, 1734, 12, 8744, 67, 7240, 654, 16, 4192, 9838, 3113, 9506, 202, 11844, 3575, 67, 6776, 67, 18513, 1769, 202, 330, 18, 6923, 12, 1013, 51, 1880, 67, 20, 1769, 368, 296, 2211, 11, 4407, 603, 2110, 202, 330, 18, 6923, 12, 2704, 4978, 6776, 12, 1518, 10019, 202, 330, 18, 6923, 12, 2704, 9183, 8607, 12, 3729, 18, 588, 1016, 1435, 10019, 202, 1916, 7642, 18, 542, 3198, 1016, 12, 3729, 18, 588, 1016, 10663, 202, 202, 759, 968, 2029, 4789, 6315, 2338, 1810, 471, 1707, 13760, 202, 3729, 273, 845, 7642, 18, 1289, 2042, 3092, 2932, 2338, 1810, 3113, 4405, 225, 3564, 18, 588, 46, 39, 22600, 12, 16596, 15146, 67, 18513, 3631, 6862, 225, 446, 16, 446, 1769, 202, 1518, 273, 3283, 75, 18, 1289, 974, 1734, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4074, 1333, 1031, 12, 907, 4789, 3908, 756, 4789, 7642, 16, 9506, 4202, 4639, 3908, 845, 7642, 16, 9506, 4202, 24605, 682, 14254, 13, 288, 202, 6902, 2864, 7642, 3283, 75, 273, 756, 4789, 7642, 18, 588, 6902, 2864, 5621, 202, 6385, 514, 2658, 273, 845, 7642, 18, 588, 3834, 5621, 202, 2042, 3092, 7642, 1191, 31, 202, 474, 652, 31, 202, 759, 968, 2029, 4789, 6315, 9838, 471, 1707, 13760, 202, 3729, 273, 845, 7642, 18, 1289, 2042, 3092, 2932, 9838, 3113, 9944, 225, 3564, 18, 588, 46, 39, 22600, 12, 8744, 67, 11844, 3575, 67, 18513, 3631, 25083, 225, 446, 16, 446, 1769, 202, 1518, 273, 3283, 75, 18, 1289, 974, 1734, 12, 8744, 2 ]
return IGNORABLE_WHITESPACE; } else if(ch == ']') {
lastHeartbeat = System.currentTimeMillis();; } if(ch == ']') {
protected int nextImpl() throws XmlPullParserException, IOException { text = null; pcEnd = pcStart = 0; usePC = false; bufStart = posEnd; if(pastEndTag) { pastEndTag = false; --depth; namespaceEnd = elNamespaceCount[ depth ]; // less namespaces available } if(emptyElementTag) { emptyElementTag = false; pastEndTag = true; return eventType = END_TAG; } // [1] document ::= prolog element Misc* if(depth > 0) { if(seenStartTag) { seenStartTag = false; return eventType = parseStartTag(); } if(seenEndTag) { seenEndTag = false; return eventType = parseEndTag(); } // ASSUMPTION: we are _on_ first character of content or markup!!!! // [43] content ::= CharData? ((element | Reference | CDSect | PI | Comment) CharData?)* char ch; if(seenMarkup) { // we have read ahead ... seenMarkup = false; ch = '<'; } else if(seenAmpersand) { seenAmpersand = false; ch = '&'; } else { ch = more(); } posStart = pos - 1; // VERY IMPORTANT: this is correct start of event!!! // when true there is some potential event TEXT to return - keep gathering boolean hadCharData = false; // when true TEXT data is not continous (like <![CDATA[text]]>) and requires PC merging boolean needsMerging = false; MAIN_LOOP: while(true) { // work on MARKUP if(ch == '<') { if(hadCharData) { //posEnd = pos - 1; if(tokenize) { seenMarkup = true; return eventType = TEXT; } } ch = more(); if(ch == '/') { if(!tokenize && hadCharData) { seenEndTag = true; //posEnd = pos - 2; return eventType = TEXT; } return eventType = parseEndTag(); } else if(ch == '!') { ch = more(); if(ch == '-') { // note: if(tokenize == false) posStart/End is NOT changed!!!! parseComment(); if(tokenize) return eventType = COMMENT; if( !usePC && hadCharData ) { needsMerging = true; } else { posStart = pos; //completely ignore comment } } else if(ch == '[') { //posEnd = pos - 3; // must remeber previous posStart/End as it merges with content of CDATA //int oldStart = posStart + bufAbsoluteStart; //int oldEnd = posEnd + bufAbsoluteStart; parseCDSect(hadCharData); if(tokenize) return eventType = CDSECT; final int cdStart = posStart; final int cdEnd = posEnd; final int cdLen = cdEnd - cdStart; if(cdLen > 0) { // was there anything inside CDATA section? hadCharData = true; if(!usePC) { needsMerging = true; } } // posStart = oldStart; // posEnd = oldEnd; // if(cdLen > 0) { // was there anything inside CDATA section? // if(hadCharData) { // // do merging if there was anything in CDSect!!!! // // if(!usePC) { // // // posEnd is correct already!!! // // if(posEnd > posStart) { // // joinPC(); // // } else { // // usePC = true; // // pcStart = pcEnd = 0; // // } // // } // // if(pcEnd + cdLen >= pc.length) ensurePC(pcEnd + cdLen); // // // copy [cdStart..cdEnd) into PC // // System.arraycopy(buf, cdStart, pc, pcEnd, cdLen); // // pcEnd += cdLen; // if(!usePC) { // needsMerging = true; // posStart = cdStart; // posEnd = cdEnd; // } // } else { // if(!usePC) { // needsMerging = true; // posStart = cdStart; // posEnd = cdEnd; // hadCharData = true; // } // } // //hadCharData = true; // } else { // if( !usePC && hadCharData ) { // needsMerging = true; // } // } } else { throw new XmlPullParserException( "unexpected character in markup "+printable(ch), this, null); } } else if(ch == '?') { parsePI(); if(tokenize) return eventType = PROCESSING_INSTRUCTION; if( !usePC && hadCharData ) { needsMerging = true; } else { posStart = pos; //completely ignore PI } } else if( isNameStartChar(ch) ) { if(!tokenize && hadCharData) { seenStartTag = true; //posEnd = pos - 2; return eventType = TEXT; } return eventType = parseStartTag(); } else { throw new XmlPullParserException( "unexpected character in markup "+printable(ch), this, null); } // do content comapctation if it makes sense!!!! } else if(ch == '&') { // work on ENTITTY //posEnd = pos - 1; if(tokenize && hadCharData) { seenAmpersand = true; return eventType = TEXT; } final int oldStart = posStart + bufAbsoluteStart; final int oldEnd = posEnd + bufAbsoluteStart; final char[] resolvedEntity = parseEntityRef(); if(tokenize) return eventType = ENTITY_REF; // check if replacement text can be resolved !!! if(resolvedEntity == null) { if(entityRefName == null) { entityRefName = newString(buf, posStart, posEnd - posStart); } throw new XmlPullParserException( "could not resolve entity named '"+printable(entityRefName)+"'", this, null); } //int entStart = posStart; //int entEnd = posEnd; posStart = oldStart - bufAbsoluteStart; posEnd = oldEnd - bufAbsoluteStart; if(!usePC) { if(hadCharData) { joinPC(); // posEnd is already set correctly!!! needsMerging = false; } else { usePC = true; pcStart = pcEnd = 0; } } //assert usePC == true; // write into PC replacement text - do merge for replacement text!!!! for (int i = 0; i < resolvedEntity.length; i++) { if(pcEnd >= pc.length) ensurePC(pcEnd); pc[pcEnd++] = resolvedEntity[ i ]; } hadCharData = true; //assert needsMerging == false; } else { if(needsMerging) { //assert usePC == false; joinPC(); // posEnd is already set correctly!!! //posStart = pos - 1; needsMerging = false; } //no MARKUP not ENTITIES so work on character data ... // [14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*) hadCharData = true; boolean normalizedCR = false; final boolean normalizeInput = tokenize == false || roundtripSupported == false; // use loop locality here!!!! boolean seenBracket = false; boolean seenBracketBracket = false; do { // check that ]]> does not show in if (eventType == XmlPullParser.END_TAG && (ch == ' ' || ch == '\n')) { // ** ADDED CODE (INCLUDING IF STATEMENT) return IGNORABLE_WHITESPACE; } else if(ch == ']') { if(seenBracket) { seenBracketBracket = true; } else { seenBracket = true; } } else if(seenBracketBracket && ch == '>') { throw new XmlPullParserException( "characters ]]> are not allowed in content", this, null); } else { if(seenBracket) { seenBracketBracket = seenBracket = false; } // assert seenTwoBrackets == seenBracket == false; } if(normalizeInput) { // deal with normalization issues ... if(ch == '\r') { normalizedCR = true; posEnd = pos -1; // posEnd is alreadys set if(!usePC) { if(posEnd > posStart) { joinPC(); } else { usePC = true; pcStart = pcEnd = 0; } } //assert usePC == true; if(pcEnd >= pc.length) ensurePC(pcEnd); pc[pcEnd++] = '\n'; } else if(ch == '\n') { // if(!usePC) { joinPC(); } else { if(pcEnd >= pc.length) ensurePC(); } if(!normalizedCR && usePC) { if(pcEnd >= pc.length) ensurePC(pcEnd); pc[pcEnd++] = '\n'; } normalizedCR = false; } else { if(usePC) { if(pcEnd >= pc.length) ensurePC(pcEnd); pc[pcEnd++] = ch; } normalizedCR = false; } } ch = more(); } while(ch != '<' && ch != '&'); posEnd = pos - 1; continue MAIN_LOOP; // skip ch = more() from below - we are alreayd ahead ... } ch = more(); } // endless while(true) } else { if(seenRoot) { return parseEpilog(); } else { return parseProlog(); } } }
6161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6161/d4868815fa13c78f304c9949e5ffc20b0a51d187/MXParser.java/clean/src/java/org/jivesoftware/wildfire/net/MXParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 1024, 2828, 1435, 3639, 1216, 5714, 9629, 25746, 16, 1860, 565, 288, 3639, 977, 273, 446, 31, 3639, 6125, 1638, 273, 6125, 1685, 273, 374, 31, 3639, 999, 3513, 273, 629, 31, 3639, 1681, 1685, 273, 949, 1638, 31, 3639, 309, 12, 84, 689, 25633, 13, 288, 5411, 8854, 25633, 273, 629, 31, 5411, 1493, 5979, 31, 5411, 1981, 1638, 273, 415, 3402, 1380, 63, 3598, 308, 31, 368, 5242, 7728, 2319, 3639, 289, 3639, 309, 12, 5531, 1046, 1805, 13, 288, 5411, 1008, 1046, 1805, 273, 629, 31, 5411, 8854, 25633, 273, 638, 31, 5411, 327, 11216, 273, 7273, 67, 7927, 31, 3639, 289, 3639, 368, 306, 21, 65, 1668, 493, 33, 450, 1330, 930, 16584, 71, 14, 3639, 309, 12, 5979, 405, 374, 13, 288, 5411, 309, 12, 15156, 30512, 13, 288, 7734, 5881, 30512, 273, 629, 31, 7734, 327, 11216, 273, 1109, 30512, 5621, 5411, 289, 5411, 309, 12, 15156, 25633, 13, 288, 7734, 5881, 25633, 273, 629, 31, 7734, 327, 11216, 273, 1109, 25633, 5621, 5411, 289, 5411, 368, 17289, 2799, 3725, 30, 732, 854, 389, 265, 67, 1122, 3351, 434, 913, 578, 9813, 23045, 5411, 368, 306, 8942, 65, 913, 493, 33, 3703, 751, 35, 14015, 2956, 571, 6268, 571, 385, 3948, 386, 571, 7024, 571, 9821, 13, 3703, 751, 8535, 14, 5411, 1149, 462, 31, 5411, 309, 12, 15156, 13111, 13, 288, 225, 368, 732, 1240, 855, 17510, 1372, 7734, 5881, 13111, 273, 629, 31, 7734, 462, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 1024, 2828, 1435, 3639, 1216, 5714, 9629, 25746, 16, 1860, 565, 288, 3639, 977, 273, 446, 31, 3639, 6125, 1638, 273, 6125, 1685, 273, 374, 31, 3639, 999, 3513, 273, 629, 31, 3639, 1681, 1685, 273, 949, 1638, 31, 3639, 309, 12, 84, 689, 25633, 13, 288, 5411, 8854, 25633, 273, 629, 31, 5411, 1493, 5979, 31, 5411, 1981, 1638, 273, 415, 3402, 1380, 63, 3598, 308, 31, 368, 5242, 7728, 2319, 3639, 289, 3639, 309, 12, 5531, 1046, 1805, 13, 288, 5411, 1008, 1046, 1805, 273, 629, 31, 5411, 8854, 25633, 273, 638, 31, 5411, 327, 11216, 273, 7273, 67, 7927, 31, 3639, 289, 3639, 368, 306, 21, 65, 1668, 493, 33, 450, 1330, 930, 2 ]
! (path.length() >= 2 &&
!(path.length() >= 2 &&
public File normalize(String path) { String orig = path; path = path.replace('/', File.separatorChar) .replace('\\', File.separatorChar); // make sure we are dealing with an absolute path int colon = path.indexOf(":"); if (!onNetWare) { if (!path.startsWith(File.separator) && ! (path.length() >= 2 && Character.isLetter(path.charAt(0)) && colon == 1) ) { String msg = path + " is not an absolute path"; throw new BuildException(msg); } } else { if (!path.startsWith(File.separator) && (colon == -1) ) { String msg = path + " is not an absolute path"; throw new BuildException(msg); } } boolean dosWithDrive = false; String root = null; // Eliminate consecutive slashes after the drive spec if ((!onNetWare && path.length() >= 2 && Character.isLetter(path.charAt(0)) && path.charAt(1) == ':') || (onNetWare && colon > -1) ) { dosWithDrive = true; char[] ca = path.replace('/', '\\').toCharArray(); StringBuffer sbRoot = new StringBuffer(); for (int i = 0; i < colon; i++) { sbRoot.append(Character.toUpperCase(ca[i])); } sbRoot.append(':'); if (colon + 1 < path.length()) { sbRoot.append(File.separatorChar); } root = sbRoot.toString(); // Eliminate consecutive slashes after the drive spec StringBuffer sbPath = new StringBuffer(); for (int i = colon+1; i < ca.length; i++) { if ((ca[i] != '\\') || (ca[i] == '\\' && ca[i - 1] != '\\') ) { sbPath.append(ca[i]); } } path = sbPath.toString().replace('\\', File.separatorChar); } else { if (path.length() == 1) { root = File.separator; path = ""; } else if (path.charAt(1) == File.separatorChar) { // UNC drive root = File.separator+File.separator; path = path.substring(2); } else { root = File.separator; path = path.substring(1); } } Stack s = new Stack(); s.push(root); StringTokenizer tok = new StringTokenizer(path, File.separator); while (tok.hasMoreTokens()) { String thisToken = tok.nextToken(); if (".".equals(thisToken)) { continue; } else if ("..".equals(thisToken)) { if (s.size() < 2) { throw new BuildException("Cannot resolve path "+orig); } else { s.pop(); } } else { // plain component s.push(thisToken); } } StringBuffer sb = new StringBuffer(); for (int i=0; i<s.size(); i++) { if (i > 1) { // not before the filesystem root and not after it, since root // already contains one sb.append(File.separatorChar); } sb.append(s.elementAt(i)); } path = sb.toString(); if (dosWithDrive) { path = path.replace('/', '\\'); } return new File(path); }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/FileUtils.java/buggy/src/main/org/apache/tools/ant/util/FileUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1387, 3883, 12, 780, 589, 13, 288, 3639, 514, 1647, 273, 589, 31, 3639, 589, 273, 589, 18, 2079, 2668, 19, 2187, 1387, 18, 11287, 2156, 13, 5411, 263, 2079, 2668, 1695, 2187, 1387, 18, 11287, 2156, 1769, 3639, 368, 1221, 3071, 732, 854, 21964, 598, 392, 4967, 589, 3639, 509, 13336, 273, 589, 18, 31806, 2932, 2773, 1769, 3639, 309, 16051, 265, 7308, 59, 834, 13, 288, 5411, 309, 16051, 803, 18, 17514, 1190, 12, 812, 18, 11287, 13, 597, 7734, 401, 12, 803, 18, 2469, 1435, 1545, 576, 597, 10402, 6577, 18, 291, 13938, 12, 803, 18, 3001, 861, 12, 20, 3719, 597, 10402, 13336, 422, 404, 13, 7734, 262, 288, 7734, 514, 1234, 273, 589, 397, 315, 353, 486, 392, 4967, 589, 14432, 7734, 604, 394, 18463, 12, 3576, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 309, 16051, 803, 18, 17514, 1190, 12, 812, 18, 11287, 13, 597, 7734, 261, 22667, 422, 300, 21, 13, 7734, 262, 288, 7734, 514, 1234, 273, 589, 397, 315, 353, 486, 392, 4967, 589, 14432, 7734, 604, 394, 18463, 12, 3576, 1769, 5411, 289, 3639, 289, 3639, 1250, 16153, 1190, 24681, 273, 629, 31, 3639, 514, 1365, 273, 446, 31, 3639, 368, 512, 7091, 3322, 18221, 19034, 1839, 326, 14316, 857, 3639, 309, 14015, 5, 265, 7308, 59, 834, 597, 2868, 589, 18, 2469, 1435, 1545, 576, 597, 2398, 6577, 18, 291, 13938, 12, 803, 18, 3001, 861, 12, 20, 3719, 597, 2398, 589, 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, 1387, 3883, 12, 780, 589, 13, 288, 3639, 514, 1647, 273, 589, 31, 3639, 589, 273, 589, 18, 2079, 2668, 19, 2187, 1387, 18, 11287, 2156, 13, 5411, 263, 2079, 2668, 1695, 2187, 1387, 18, 11287, 2156, 1769, 3639, 368, 1221, 3071, 732, 854, 21964, 598, 392, 4967, 589, 3639, 509, 13336, 273, 589, 18, 31806, 2932, 2773, 1769, 3639, 309, 16051, 265, 7308, 59, 834, 13, 288, 5411, 309, 16051, 803, 18, 17514, 1190, 12, 812, 18, 11287, 13, 597, 7734, 401, 12, 803, 18, 2469, 1435, 1545, 576, 597, 10402, 6577, 18, 291, 13938, 12, 803, 18, 3001, 861, 12, 20, 3719, 597, 10402, 13336, 422, 404, 13, 7734, 262, 288, 7734, 514, 1234, 273, 2 ]
if( useImplicitObj && j == 0 && ((ICPPInternalFunction)currFn).isStatic( false ) ) {
if( useImplicitObj && j == 0 && (currFn instanceof ICPPInternalFunction ? ((ICPPInternalFunction)currFn).isStatic(false) : currFn.isStatic()) ) {
static private IBinding resolveFunction( CPPSemantics.LookupData data, IBinding[] fns ) throws DOMException{ fns = (IBinding[]) ArrayUtil.trim( IBinding.class, fns ); if( fns == null || fns.length == 0 ) return null; if( data.forUsingDeclaration() ){ return new CPPUsingDeclaration( data.astName, fns ); } //we don't have any arguments with which to resolve the function if( data.functionParameters == null ){ return resolveTargetedFunction( data, fns ); } //reduce our set of candidate functions to only those who have the right number of parameters reduceToViable( data, fns ); if( data.forDefinition() || data.forExplicitInstantiation() ){ for (int i = 0; i < fns.length; i++) { if( fns[i] != null ){ return fns[i]; } } return null; } IFunction bestFn = null; //the best function IFunction currFn = null; //the function currently under consideration Cost [] bestFnCost = null; //the cost of the best function Cost [] currFnCost = null; //the cost for the current function IType source = null; //parameter we are called with IType target = null; //function's parameter int comparison; Cost cost = null; //the cost of converting source to target Cost temp = null; //the cost of using a user defined conversion to convert source to target boolean hasWorse = false; //currFn has a worse parameter fit than bestFn boolean hasBetter = false; //currFn has a better parameter fit than bestFn boolean ambiguous = false; //ambiguity, 2 functions are equally good boolean currHasAmbiguousParam = false; //currFn has an ambiguous parameter conversion (ok if not bestFn) boolean bestHasAmbiguousParam = false; //bestFn has an ambiguous parameter conversion (not ok, ambiguous) IType [] sourceParameters = getSourceParameterTypes( data.functionParameters ); //the parameters the function is being called with IType [] targetParameters = null; boolean sourceVoid = ( data.functionParameters == null || data.functionParameters.length == 0 ); int numSourceParams = 0; int targetLength = 0; int numFns = fns.length; IType impliedObjectType = data.getImpliedObjectArgument(); outer: for( int fnIdx = 0; fnIdx < numFns; fnIdx++ ){ currFn = (IFunction) fns[fnIdx]; if( currFn == null || bestFn == currFn || ( bestFn instanceof ICPPDelegate && ((ICPPDelegate)bestFn).getBinding() == currFn ) || ( currFn instanceof ICPPDelegate && ((ICPPDelegate)currFn).getBinding() == bestFn ) ) { continue; } targetParameters = getTargetParameterTypes( currFn ); targetLength = targetParameters.length; boolean useImplicitObj = ( currFn instanceof ICPPMethod && !(currFn instanceof ICPPConstructor) ); numSourceParams = ( useImplicitObj ) ? sourceParameters.length + 1 : sourceParameters.length; int numTargetParams = 0; if( currFnCost == null || currFnCost.length != ((numSourceParams == 0) ? 1 : numSourceParams) ){ currFnCost = new Cost [ (numSourceParams == 0) ? 1 : numSourceParams ]; } comparison = 0; boolean varArgs = false; for( int j = 0; j < numSourceParams || j == 0; j++ ){ if( useImplicitObj ) { source = ( j == 0 ) ? impliedObjectType : sourceParameters[j - 1]; numTargetParams = ( targetLength == 1 ) ? 2 : targetLength; } else { source = sourceParameters[j]; numTargetParams = ( targetLength == 0 ) ? 1 : targetLength; } if( j < numTargetParams ){ if( (useImplicitObj && targetLength == 1 && j == 1) || (!useImplicitObj && targetLength == 0 && j == 0) ) { target = VOID_TYPE; } else { target = targetParameters[j]; } } else varArgs = true; if( useImplicitObj && j == 0 && ((ICPPInternalFunction)currFn).isStatic( false ) ) { //13.3.1-4 for static member functions, the implicit object parameter is considered to match any object cost = new Cost( source, target ); cost.rank = Cost.IDENTITY_RANK; //exact match, no cost } else if( source == null ){ continue outer; } else if( varArgs ){ cost = new Cost( source, null ); cost.rank = Cost.ELLIPSIS_CONVERSION; } else if( source.isSameType( target ) || ( sourceVoid && ((useImplicitObj && j == 1)||(!useImplicitObj && j == 0)) ) ) { cost = new Cost( source, target ); cost.rank = Cost.IDENTITY_RANK; //exact match, no cost } else { cost = checkStandardConversionSequence( source, target ); //12.3-4 At most one user-defined conversion is implicitly applied to //a single value. (also prevents infinite loop) if( (cost.rank == Cost.NO_MATCH_RANK || cost.rank == Cost.FUZZY_TEMPLATE_PARAMETERS ) && !data.forUserDefinedConversion ) { temp = checkUserDefinedConversionSequence( source, target ); if( temp != null ){ cost = temp; } } } currFnCost[ j ] = cost; } hasWorse = false; hasBetter = false; //In order for this function to be better than the previous best, it must //have at least one parameter match that is better that the corresponding //match for the other function, and none that are worse. int len = ( bestFnCost == null || currFnCost.length < bestFnCost.length ) ? currFnCost.length : bestFnCost.length; for( int j = 1; j <= len; j++ ){ Cost currCost = currFnCost[ currFnCost.length - j ]; if( currCost.rank < 0 ){ hasWorse = true; hasBetter = false; break; } //an ambiguity in the user defined conversion sequence is only a problem //if this function turns out to be the best. currHasAmbiguousParam = ( currCost.userDefined == 1 ); if( bestFnCost != null ){ comparison = currCost.compare( bestFnCost[ bestFnCost.length - j ] ); hasWorse |= ( comparison < 0 ); hasBetter |= ( comparison > 0 ); } else { hasBetter = true; } } //If function has a parameter match that is better than the current best, //and another that is worse (or everything was just as good, neither better nor worse). //then this is an ambiguity (unless we find something better than both later) ambiguous |= ( hasWorse && hasBetter ) || ( !hasWorse && !hasBetter ); if( !hasWorse ){ //if they are both template functions, we can order them that way boolean bestIsTemplate = (bestFn instanceof ICPPSpecialization && ((ICPPSpecialization)bestFn).getSpecializedBinding() instanceof ICPPFunctionTemplate); boolean currIsTemplate = (currFn instanceof ICPPSpecialization && ((ICPPSpecialization)currFn).getSpecializedBinding() instanceof ICPPFunctionTemplate); if( bestIsTemplate && currIsTemplate ) { ICPPFunctionTemplate t1 = (ICPPFunctionTemplate) ((ICPPSpecialization)bestFn).getSpecializedBinding(); ICPPFunctionTemplate t2 = (ICPPFunctionTemplate) ((ICPPSpecialization)currFn).getSpecializedBinding(); int order = CPPTemplates.orderTemplateFunctions( t1, t2); if ( order < 0 ){ hasBetter = true; } else if( order > 0 ){ ambiguous = false; } } //we prefer normal functions over template functions, unless we specified template arguments else if( bestIsTemplate && !currIsTemplate ){ if( data.preferTemplateFunctions() ) ambiguous = false; else hasBetter = true; } else if( !bestIsTemplate && currIsTemplate ){ if( data.preferTemplateFunctions() ) hasBetter = true; else ambiguous = false; } if( hasBetter ){ //the new best function. ambiguous = false; bestFnCost = currFnCost; bestHasAmbiguousParam = currHasAmbiguousParam; currFnCost = null; bestFn = currFn; } } } if( ambiguous || bestHasAmbiguousParam ){ return new ProblemBinding( data.astName, IProblemBinding.SEMANTIC_AMBIGUOUS_LOOKUP, data.name() ); } return bestFn; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/f5223537de566582ce63c2617aced7ac7e6591dc/CPPSemantics.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPSemantics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 3238, 467, 5250, 2245, 2083, 12, 5181, 5857, 351, 11119, 18, 6609, 751, 501, 16, 467, 5250, 8526, 21930, 262, 1216, 4703, 503, 95, 202, 565, 21930, 273, 261, 45, 5250, 63, 5717, 27207, 18, 5290, 12, 467, 5250, 18, 1106, 16, 21930, 11272, 202, 565, 309, 12, 21930, 422, 446, 747, 21930, 18, 2469, 422, 374, 262, 202, 3639, 327, 446, 31, 202, 377, 202, 202, 430, 12, 501, 18, 1884, 7736, 6094, 1435, 262, 95, 1082, 202, 2463, 394, 5181, 52, 7736, 6094, 12, 501, 18, 689, 461, 16, 21930, 11272, 202, 202, 97, 9506, 202, 759, 1814, 2727, 1404, 1240, 1281, 1775, 598, 1492, 358, 2245, 326, 445, 202, 202, 430, 12, 501, 18, 915, 2402, 422, 446, 262, 95, 1082, 565, 327, 2245, 2326, 329, 2083, 12, 501, 16, 21930, 11272, 202, 202, 97, 202, 202, 759, 12498, 3134, 444, 434, 5500, 4186, 358, 1338, 5348, 10354, 1240, 326, 2145, 1300, 434, 1472, 202, 202, 12498, 774, 16895, 12, 501, 16, 21930, 11272, 9506, 202, 430, 12, 501, 18, 1884, 1852, 1435, 747, 501, 18, 1884, 17186, 10675, 7072, 1435, 262, 95, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 21930, 18, 2469, 31, 277, 27245, 288, 9506, 202, 430, 12, 21930, 63, 77, 65, 480, 446, 262, 95, 6862, 202, 2463, 21930, 63, 77, 15533, 9506, 202, 97, 1082, 202, 97, 1082, 202, 2463, 446, 31, 202, 202, 97, 9506, 202, 45, 2083, 3796, 5372, 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, 3845, 3238, 467, 5250, 2245, 2083, 12, 5181, 5857, 351, 11119, 18, 6609, 751, 501, 16, 467, 5250, 8526, 21930, 262, 1216, 4703, 503, 95, 202, 565, 21930, 273, 261, 45, 5250, 63, 5717, 27207, 18, 5290, 12, 467, 5250, 18, 1106, 16, 21930, 11272, 202, 565, 309, 12, 21930, 422, 446, 747, 21930, 18, 2469, 422, 374, 262, 202, 3639, 327, 446, 31, 202, 377, 202, 202, 430, 12, 501, 18, 1884, 7736, 6094, 1435, 262, 95, 1082, 202, 2463, 394, 5181, 52, 7736, 6094, 12, 501, 18, 689, 461, 16, 21930, 11272, 202, 202, 97, 9506, 202, 759, 1814, 2727, 1404, 1240, 1281, 1775, 598, 1492, 358, 2245, 326, 445, 202, 202, 430, 12, 501, 2 ]
i4msg.setSessionFlags(sflags);
boolean doSTORE(String tag, String sequenceSet, List<String> flagList, byte operation, boolean silent, boolean byUID) throws IOException { if (!checkState(tag, ImapSession.STATE_SELECTED)) return CONTINUE_PROCESSING; else if (!mSession.getFolder().isWritable()) { sendNO(tag, "mailbox selected READ-ONLY"); return CONTINUE_PROCESSING; } String command = (byUID ? "UID STORE" : "STORE"); boolean allPresent = true; List<Tag> newTags = (operation != STORE_REMOVE ? new ArrayList<Tag>() : null); List<String> responses = new ArrayList<String>(); try { synchronized (mMailbox) { // if it was a STORE [+-]?FLAGS.SILENT, temporarily disable notifications if (silent) mSession.getFolder().disableNotifications(); // get sets of relevant messages and tags Set<ImapMessage> i4set = mSession.getFolder().getSubsequence(sequenceSet, byUID); allPresent = byUID || !i4set.contains(null); List<ImapFlag> i4flags = findOrCreateTags(flagList, newTags); for (ImapMessage i4msg : i4set) { if (i4msg == null) continue; if (!i4flags.isEmpty() || operation == STORE_REPLACE) { // FIXME: changed tag/flag mask could be precomputed outside the i4set loop byte sflags = (operation != STORE_REPLACE ? i4msg.sflags : 0); int flags = (operation != STORE_REPLACE ? i4msg.flags : Flag.FLAG_UNREAD | (i4msg.flags & ~ImapMessage.IMAP_FLAGS)); long tags = (operation != STORE_REPLACE ? i4msg.tags : 0); for (ImapFlag i4flag : i4flags) { if (Tag.validateId(i4flag.mId)) tags = (operation == STORE_REMOVE ^ !i4flag.mPositive ? tags & ~i4flag.mBitmask : tags | i4flag.mBitmask); else if (!i4flag.mPermanent) sflags = (byte) (operation == STORE_REMOVE ^ !i4flag.mPositive ? sflags & ~i4flag.mBitmask : sflags | i4flag.mBitmask); else flags = (int) (operation == STORE_REMOVE ^ !i4flag.mPositive ? flags & ~i4flag.mBitmask : flags | i4flag.mBitmask); } if (tags != i4msg.tags || flags != i4msg.flags) try { mMailbox.setTags(getContext(), i4msg.id, MailItem.TYPE_MESSAGE, flags, tags); } catch (MailServiceException.NoSuchItemException nsie) { i4msg.expunged = true; } // i4msg's permanent flags/tags will be updated via notification i4msg.setSessionFlags(sflags); } if (!silent) { StringBuffer result = new StringBuffer(); result.append(i4msg.seq).append(" FETCH (").append(i4msg.getFlags(mSession)); // 6.4.8: "However, server implementations MUST implicitly include // the UID message data item as part of any FETCH response // caused by a UID command..." if (byUID) result.append(" UID ").append(i4msg.uid); responses.add(result.append(')').toString()); mSession.getFolder().undirtyMessage(i4msg); } } } } catch (ServiceException e) { deleteTags(newTags); ZimbraLog.imap.warn(command + " failed", e); sendNO(tag, command + " failed"); return canContinue(e); } finally { mSession.getFolder().enableNotifications(); } for (String response : responses) sendUntagged(response); sendNotifications(false, false); // RFC 2180 4.2.1: "If the ".SILENT" suffix is used, and the STORE completed successfully for // all the non-expunged messages, the server SHOULD return a tagged OK." // RFC 2180 4.2.3: "If the ".SILENT" suffix is not used, and a mixture of expunged and non- // expunged messages are referenced, the server MAY set the flags and return // a FETCH response for the non-expunged messages along with a tagged NO." if (silent || allPresent) sendOK(tag, command + " completed"); else sendNO(tag, command + " completed"); return CONTINUE_PROCESSING; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/3c20b46d84fb970a4580fe8a0ff9f824a8fbf34d/ImapHandler.java/clean/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 741, 13651, 12, 780, 1047, 16, 514, 3102, 694, 16, 987, 32, 780, 34, 2982, 682, 16, 1160, 1674, 16, 1250, 10404, 16, 1250, 635, 3060, 13, 1216, 1860, 288, 3639, 309, 16051, 1893, 1119, 12, 2692, 16, 467, 1458, 2157, 18, 7998, 67, 4803, 2056, 3719, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 469, 309, 16051, 81, 2157, 18, 588, 3899, 7675, 291, 12061, 10756, 288, 5411, 1366, 3417, 12, 2692, 16, 315, 4408, 2147, 3170, 10746, 17, 10857, 8863, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 289, 3639, 514, 1296, 273, 261, 1637, 3060, 692, 315, 3060, 29656, 6, 294, 315, 13651, 8863, 3639, 1250, 777, 6351, 273, 638, 31, 3639, 987, 32, 1805, 34, 394, 3453, 273, 261, 7624, 480, 29656, 67, 22122, 692, 394, 2407, 32, 1805, 34, 1435, 294, 446, 1769, 3639, 987, 32, 780, 34, 7220, 273, 394, 2407, 32, 780, 34, 5621, 3639, 775, 288, 5411, 3852, 261, 81, 30239, 13, 288, 7734, 368, 309, 518, 1703, 279, 29656, 306, 18549, 26717, 17836, 18, 2320, 900, 1784, 16, 18917, 4056, 9208, 7734, 309, 261, 21862, 13, 10792, 312, 2157, 18, 588, 3899, 7675, 8394, 14111, 5621, 7734, 368, 336, 1678, 434, 9368, 2743, 471, 2342, 7734, 1000, 32, 20827, 1079, 34, 277, 24, 542, 273, 312, 2157, 18, 588, 3899, 7675, 588, 1676, 6178, 12, 6178, 694, 16, 635, 3060, 1769, 7734, 777, 6351, 273, 635, 3060, 747, 401, 77, 24, 542, 18, 12298, 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, 1250, 741, 13651, 12, 780, 1047, 16, 514, 3102, 694, 16, 987, 32, 780, 34, 2982, 682, 16, 1160, 1674, 16, 1250, 10404, 16, 1250, 635, 3060, 13, 1216, 1860, 288, 3639, 309, 16051, 1893, 1119, 12, 2692, 16, 467, 1458, 2157, 18, 7998, 67, 4803, 2056, 3719, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 469, 309, 16051, 81, 2157, 18, 588, 3899, 7675, 291, 12061, 10756, 288, 5411, 1366, 3417, 12, 2692, 16, 315, 4408, 2147, 3170, 10746, 17, 10857, 8863, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 289, 3639, 514, 1296, 273, 261, 1637, 3060, 692, 315, 3060, 29656, 6, 294, 315, 13651, 8863, 3639, 1250, 777, 6351, 273, 638, 31, 3639, 2 ]
checkPermissions(context, resource, I_CmsConstants.C_WRITE_ACCESS, CmsResourceFilter.ALL);
checkPermissions(context, resource, I_CmsConstants.C_WRITE_ACCESS, CmsResourceFilter.ALL, -1);
public CmsResource replaceResource(CmsRequestContext context, String resourceName, int newResourceType, List newResourceProperties, byte[] newResourceContent) throws CmsException { CmsResource resource = null; // clear the cache clearResourceCache(); // read the existing resource resource = readFileHeader(context, resourceName, CmsResourceFilter.DEFAULT); // check if the user has write access checkPermissions(context, resource, I_CmsConstants.C_WRITE_ACCESS, CmsResourceFilter.ALL); // replace the existing with the new file content m_vfsDriver.replaceResource(context.currentUser(), context.currentProject(), resource, newResourceContent, newResourceType, getResourceType(newResourceType).getLoaderId()); // write the properties m_vfsDriver.writePropertyObjects(context.currentProject(), resource, newResourceProperties); m_propertyCache.clear(); // update the resource state if (resource.getState() == I_CmsConstants.C_STATE_UNCHANGED) { resource.setState(I_CmsConstants.C_STATE_CHANGED); } resource.setUserLastModified(context.currentUser().getId()); touch(context, resourceName, System.currentTimeMillis(), I_CmsConstants.C_DATE_UNCHANGED, I_CmsConstants.C_DATE_UNCHANGED, context.currentUser().getId()); m_vfsDriver.writeResourceState(context.currentProject(), resource, C_UPDATE_RESOURCE); // clear the cache clearResourceCache(); newResourceContent = null; OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_RESOURCE_MODIFIED, Collections.singletonMap("resource", resource))); return resource; }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/93407bb1fee28c23f97b5bfe9d6996911adfdd69/CmsDriverManager.java/clean/src/org/opencms/db/CmsDriverManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7630, 1453, 1420, 12, 4747, 21426, 819, 16, 514, 9546, 16, 509, 394, 15631, 16, 987, 31757, 2297, 16, 1160, 8526, 31757, 1350, 13, 1216, 11228, 288, 3639, 7630, 1058, 273, 446, 31, 3639, 368, 2424, 326, 1247, 3639, 2424, 1420, 1649, 5621, 3639, 368, 855, 326, 2062, 1058, 3639, 1058, 273, 10413, 1864, 12, 2472, 16, 9546, 16, 21082, 18, 5280, 1769, 3639, 368, 866, 309, 326, 729, 711, 1045, 2006, 540, 866, 6521, 12, 2472, 16, 1058, 16, 467, 67, 4747, 2918, 18, 39, 67, 11677, 67, 13204, 16, 21082, 18, 4685, 16, 300, 21, 1769, 3639, 368, 1453, 326, 2062, 598, 326, 394, 585, 913, 3639, 312, 67, 90, 2556, 4668, 18, 2079, 1420, 12, 2472, 18, 2972, 1299, 9334, 819, 18, 2972, 4109, 9334, 1058, 16, 31757, 1350, 16, 394, 15631, 16, 22779, 12, 2704, 15631, 2934, 588, 2886, 548, 10663, 3639, 368, 1045, 326, 1790, 3639, 312, 67, 90, 2556, 4668, 18, 2626, 1396, 4710, 12, 2472, 18, 2972, 4109, 9334, 1058, 16, 31757, 2297, 1769, 3639, 312, 67, 4468, 1649, 18, 8507, 5621, 3639, 368, 1089, 326, 1058, 919, 3639, 309, 261, 3146, 18, 588, 1119, 1435, 422, 467, 67, 4747, 2918, 18, 39, 67, 7998, 67, 2124, 24435, 13, 288, 5411, 1058, 18, 542, 1119, 12, 45, 67, 4747, 2918, 18, 39, 67, 7998, 67, 24435, 1769, 3639, 289, 3639, 1058, 18, 542, 1299, 14747, 12, 2472, 18, 2972, 1299, 7675, 26321, 10663, 3639, 6920, 12, 2472, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7630, 1453, 1420, 12, 4747, 21426, 819, 16, 514, 9546, 16, 509, 394, 15631, 16, 987, 31757, 2297, 16, 1160, 8526, 31757, 1350, 13, 1216, 11228, 288, 3639, 7630, 1058, 273, 446, 31, 3639, 368, 2424, 326, 1247, 3639, 2424, 1420, 1649, 5621, 3639, 368, 855, 326, 2062, 1058, 3639, 1058, 273, 10413, 1864, 12, 2472, 16, 9546, 16, 21082, 18, 5280, 1769, 3639, 368, 866, 309, 326, 729, 711, 1045, 2006, 540, 866, 6521, 12, 2472, 16, 1058, 16, 467, 67, 4747, 2918, 18, 39, 67, 11677, 67, 13204, 16, 21082, 18, 4685, 16, 300, 21, 1769, 3639, 368, 1453, 326, 2062, 598, 326, 394, 585, 913, 3639, 312, 67, 90, 2556, 4668, 18, 2079, 1420, 2 ]
selectValueList.add( value );
String value = iter.getString( expression ); if(value != null) { selectValueList.add( value ); }
private void populateList( ) { try { this.okButton.setEnabled(false); //Execute the query and populate this list BaseQueryDefinition query = (BaseQueryDefinition) DataSetManager.getCurrentInstance( ) .getPreparedQuery( getDataSetHandle( ), true, false) .getReportQueryDefn( ); ScriptExpression expression = new ScriptExpression( getExpression( ) ); GroupDefinition defn = new GroupDefinition( ); defn.setKeyExpression( getExpression( ) ); query.setUsesDetails( false ); query.addGroup( defn ); query.addExpression( expression, BaseTransform.BEFORE_FIRST_ROW ); IPreparedQuery preparedQuery = DataSetManager.getCurrentInstance( ) .getEngine( ) .prepare( (IQueryDefinition) query ); IQueryResults results = preparedQuery.execute( null ); selectValueList.removeAll( ); if ( results != null ) { IResultIterator iter = results.getResultIterator( ); if ( iter != null ) { while ( iter.next( ) ) { String value = iter.getString( expression ); if(value != null) { selectValueList.add( value ); } } } results.close( ); } if(selectValueList.getItemCount() > 0) { selectValueList.select(0); this.okButton.setEnabled(true); } } catch ( Exception e ) { ExceptionHandler.handle( e ); } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/b19897b1cd393845c58c739917b19094bfcd2f72/SelectValueDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/SelectValueDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 6490, 682, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 5411, 333, 18, 601, 3616, 18, 542, 1526, 12, 5743, 1769, 1082, 202, 759, 5289, 326, 843, 471, 6490, 333, 666, 1082, 202, 2171, 1138, 1852, 843, 273, 261, 2171, 1138, 1852, 13, 14065, 1318, 18, 588, 3935, 1442, 12, 262, 6862, 202, 18, 588, 15464, 1138, 12, 4303, 694, 3259, 12, 262, 16, 638, 16, 629, 13, 6862, 202, 18, 588, 4820, 1138, 3262, 82, 12, 11272, 1082, 202, 3651, 2300, 2652, 273, 394, 7739, 2300, 12, 16183, 12, 262, 11272, 1082, 202, 1114, 1852, 1652, 82, 273, 394, 3756, 1852, 12, 11272, 1082, 202, 536, 82, 18, 542, 653, 2300, 12, 16183, 12, 262, 11272, 1082, 202, 2271, 18, 542, 15128, 3790, 12, 629, 11272, 1082, 202, 2271, 18, 1289, 1114, 12, 1652, 82, 11272, 1082, 202, 2271, 18, 1289, 2300, 12, 2652, 16, 3360, 4059, 18, 19152, 67, 15354, 67, 11226, 11272, 1082, 202, 45, 15464, 1138, 8208, 1138, 273, 14065, 1318, 18, 588, 3935, 1442, 12, 262, 6862, 202, 18, 588, 4410, 12, 262, 6862, 202, 18, 9366, 12, 261, 45, 1138, 1852, 13, 843, 11272, 1082, 202, 45, 1138, 3447, 1686, 273, 8208, 1138, 18, 8837, 12, 446, 11272, 1082, 202, 4025, 24999, 18, 4479, 1595, 12, 11272, 1082, 202, 430, 261, 1686, 480, 446, 262, 1082, 202, 95, 9506, 202, 45, 1253, 3198, 1400, 273, 1686, 18, 588, 1253, 3198, 12, 11272, 9506, 202, 430, 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, 6490, 682, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 5411, 333, 18, 601, 3616, 18, 542, 1526, 12, 5743, 1769, 1082, 202, 759, 5289, 326, 843, 471, 6490, 333, 666, 1082, 202, 2171, 1138, 1852, 843, 273, 261, 2171, 1138, 1852, 13, 14065, 1318, 18, 588, 3935, 1442, 12, 262, 6862, 202, 18, 588, 15464, 1138, 12, 4303, 694, 3259, 12, 262, 16, 638, 16, 629, 13, 6862, 202, 18, 588, 4820, 1138, 3262, 82, 12, 11272, 1082, 202, 3651, 2300, 2652, 273, 394, 7739, 2300, 12, 16183, 12, 262, 11272, 1082, 202, 1114, 1852, 1652, 82, 273, 394, 3756, 1852, 12, 11272, 1082, 202, 536, 82, 18, 542, 653, 2300, 12, 2 ]
double waterAmount = vehicle.getInventory().getAmountResourceRemainingCapacity(AmountResource.WATER);
double waterAmount = vehicleInv.getAmountResourceRemainingCapacity(AmountResource.WATER);
private double loadingPhase(double time) throws Exception { // Determine load rate. int strength = person.getNaturalAttributeManager().getAttribute(NaturalAttributeManager.STRENGTH); double strengthModifier = (double) strength / 50D; double amountLoading = LOAD_RATE * strengthModifier * time; // If vehicle is not in a garage, load rate is reduced. Building garage = BuildingManager.getBuilding(vehicle); if (garage == null) amountLoading /= 4D; // If there are enough supplies at the settlement, load the vehicle. if (hasEnoughSupplies(settlement, vehicle)) { // Load fuel double fuelAmount = vehicle.getInventory().getAmountResourceRemainingCapacity(vehicle.getFuelType()); if (fuelAmount > amountLoading) fuelAmount = amountLoading; settlement.getInventory().retrieveAmountResource(vehicle.getFuelType(), fuelAmount); vehicle.getInventory().storeAmountResource(vehicle.getFuelType(), fuelAmount); amountLoading -= fuelAmount; // Load oxygen double oxygenAmount = vehicle.getInventory().getAmountResourceRemainingCapacity(AmountResource.OXYGEN); if (oxygenAmount > amountLoading) oxygenAmount = amountLoading; settlement.getInventory().retrieveAmountResource(AmountResource.OXYGEN, oxygenAmount); vehicle.getInventory().storeAmountResource(AmountResource.OXYGEN, oxygenAmount); amountLoading -= oxygenAmount; // Load water double waterAmount = vehicle.getInventory().getAmountResourceRemainingCapacity(AmountResource.WATER); if (waterAmount > amountLoading) waterAmount = amountLoading; settlement.getInventory().retrieveAmountResource(AmountResource.WATER, waterAmount); vehicle.getInventory().storeAmountResource(AmountResource.WATER, waterAmount); amountLoading -= waterAmount; // Load Food double foodAmount = vehicle.getInventory().getAmountResourceRemainingCapacity(AmountResource.FOOD); if (foodAmount > amountLoading) foodAmount = amountLoading; settlement.getInventory().retrieveAmountResource(AmountResource.FOOD, foodAmount); vehicle.getInventory().storeAmountResource(AmountResource.FOOD, foodAmount); amountLoading -= foodAmount; } else endTask(); if (isFullyLoaded(vehicle)) endTask(); return 0D; }
49678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49678/58cf8606429c7e9a63e58b8add2eb0a7b63c2f2d/LoadVehicle.java/clean/org/mars_sim/msp/simulation/person/ai/task/LoadVehicle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1645, 7153, 11406, 12, 9056, 813, 13, 1216, 1185, 288, 377, 202, 3639, 368, 10229, 1262, 4993, 18, 3639, 509, 21638, 273, 6175, 18, 588, 23779, 3766, 1499, 1318, 7675, 588, 1499, 12, 23779, 3766, 1499, 1318, 18, 882, 862, 4960, 2455, 1769, 3639, 1645, 21638, 9829, 273, 261, 9056, 13, 21638, 342, 6437, 40, 31, 3639, 1645, 3844, 10515, 273, 24089, 67, 24062, 380, 21638, 9829, 380, 813, 31, 7734, 368, 971, 24815, 353, 486, 316, 279, 314, 297, 410, 16, 1262, 4993, 353, 13162, 18, 3639, 3998, 310, 314, 297, 410, 273, 3998, 310, 1318, 18, 588, 16713, 12, 537, 18870, 1769, 3639, 309, 261, 75, 297, 410, 422, 446, 13, 3844, 10515, 9531, 1059, 40, 31, 10402, 368, 971, 1915, 854, 7304, 1169, 5259, 622, 326, 26319, 806, 16, 1262, 326, 24815, 18, 3639, 309, 261, 5332, 664, 4966, 3088, 5259, 12, 542, 88, 806, 16, 24815, 3719, 288, 5411, 368, 4444, 284, 20317, 202, 3639, 1645, 284, 20317, 6275, 273, 24815, 18, 588, 15059, 7675, 588, 6275, 1420, 11429, 7437, 12, 537, 18870, 18, 588, 42, 20317, 559, 10663, 5411, 309, 261, 74, 20317, 6275, 405, 3844, 10515, 13, 284, 20317, 6275, 273, 3844, 10515, 31, 202, 3639, 26319, 806, 18, 588, 15059, 7675, 17466, 6275, 1420, 12, 537, 18870, 18, 588, 42, 20317, 559, 9334, 284, 20317, 6275, 1769, 202, 3639, 24815, 18, 588, 15059, 7675, 2233, 6275, 1420, 12, 537, 18870, 18, 588, 42, 20317, 559, 9334, 284, 20317, 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, 1645, 7153, 11406, 12, 9056, 813, 13, 1216, 1185, 288, 377, 202, 3639, 368, 10229, 1262, 4993, 18, 3639, 509, 21638, 273, 6175, 18, 588, 23779, 3766, 1499, 1318, 7675, 588, 1499, 12, 23779, 3766, 1499, 1318, 18, 882, 862, 4960, 2455, 1769, 3639, 1645, 21638, 9829, 273, 261, 9056, 13, 21638, 342, 6437, 40, 31, 3639, 1645, 3844, 10515, 273, 24089, 67, 24062, 380, 21638, 9829, 380, 813, 31, 7734, 368, 971, 24815, 353, 486, 316, 279, 314, 297, 410, 16, 1262, 4993, 353, 13162, 18, 3639, 3998, 310, 314, 297, 410, 273, 3998, 310, 1318, 18, 588, 16713, 12, 537, 18870, 1769, 3639, 309, 261, 75, 297, 410, 422, 446, 13, 3844, 10515, 9531, 1059, 2 ]
super(name, hasIcon);
super(Translator.localize(name), hasIcon ? ResourceLoaderWrapper.lookupIcon(name) : null); putValue(Action.SHORT_DESCRIPTION, Translator.localize(name));
public ToDoItemAction(String name, boolean hasIcon) { super(name, hasIcon); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/3a718a8ff22f02d58644ba12ac8f5fc2c6edd121/ToDoItemAction.java/buggy/src_new/org/argouml/ui/cmd/ToDoItemAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2974, 3244, 1180, 1803, 12, 780, 508, 16, 1250, 711, 5554, 13, 288, 202, 9565, 12, 12233, 18, 3729, 554, 12, 529, 3631, 711, 5554, 692, 2591, 2886, 3611, 18, 8664, 5554, 12, 529, 13, 294, 446, 1769, 225, 1378, 620, 12, 1803, 18, 15993, 67, 15911, 16, 18669, 18, 3729, 554, 12, 529, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2974, 3244, 1180, 1803, 12, 780, 508, 16, 1250, 711, 5554, 13, 288, 202, 9565, 12, 12233, 18, 3729, 554, 12, 529, 3631, 711, 5554, 692, 2591, 2886, 3611, 18, 8664, 5554, 12, 529, 13, 294, 446, 1769, 225, 1378, 620, 12, 1803, 18, 15993, 67, 15911, 16, 18669, 18, 3729, 554, 12, 529, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (int i = 0; i < myCurrentHighlighters.size(); i++) { highlighter = myCurrentHighlighters.get(i);
for (RangeHighlighterImpl current : myCurrentHighlighters) { highlighter = current;
private void advanceSegmentHighlighters() { if (myNextDocumentHighlighter != null) { if (myNextDocumentHighlighter.getAffectedAreaStartOffset() <= myStartOffset) { myCurrentHighlighters.add(myNextDocumentHighlighter); myNextDocumentHighlighter = null; } } if (myNextViewHighlighter != null) { if (myNextViewHighlighter.getAffectedAreaStartOffset() <= myStartOffset) { myCurrentHighlighters.add(myNextViewHighlighter); myNextViewHighlighter = null; } } RangeHighlighterImpl highlighter; while (myNextDocumentHighlighter == null && myCurrentDocHighlighterIdx < myDocumentHighlighters.size()) { highlighter = myDocumentHighlighters.get(myCurrentDocHighlighterIdx++); if (!skipHighlighter(highlighter)) { if (highlighter.getAffectedAreaStartOffset() > myStartOffset) { myNextDocumentHighlighter = highlighter; break; } else { myCurrentHighlighters.add(highlighter); } } } while (myNextViewHighlighter == null && myCurrentViewHighlighterIdx < myViewHighlighters.size()) { highlighter = myViewHighlighters.get(myCurrentViewHighlighterIdx++); if (!skipHighlighter(highlighter)) { if (highlighter.getAffectedAreaStartOffset() > myStartOffset) { myNextViewHighlighter = highlighter; break; } else { myCurrentHighlighters.add(highlighter); } } } if (myCurrentHighlighters.size() == 1) { //Optimization if ((myCurrentHighlighters.get(0)).getAffectedAreaEndOffset() <= myStartOffset) { myCurrentHighlighters = new ArrayList<RangeHighlighterImpl>(); } } else if (myCurrentHighlighters.size() > 0) { ArrayList<RangeHighlighterImpl> copy = new ArrayList<RangeHighlighterImpl>(myCurrentHighlighters.size()); for (int i = 0; i < myCurrentHighlighters.size(); i++) { highlighter = myCurrentHighlighters.get(i); if (highlighter.getAffectedAreaEndOffset() > myStartOffset) { copy.add(highlighter); } } myCurrentHighlighters = copy; } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/6e2b1d29a6b918c9dd17b0a9bc5aff67b02fff98/IterationState.java/clean/source/com/intellij/openapi/editor/impl/IterationState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 8312, 4131, 8573, 80, 2031, 5432, 1435, 288, 565, 309, 261, 4811, 2134, 2519, 8573, 23624, 480, 446, 13, 288, 1377, 309, 261, 4811, 2134, 2519, 8573, 23624, 18, 588, 23775, 5484, 1685, 2335, 1435, 1648, 3399, 1685, 2335, 13, 288, 3639, 3399, 3935, 8573, 80, 2031, 5432, 18, 1289, 12, 4811, 2134, 2519, 8573, 23624, 1769, 3639, 3399, 2134, 2519, 8573, 23624, 273, 446, 31, 1377, 289, 565, 289, 565, 309, 261, 4811, 2134, 1767, 8573, 23624, 480, 446, 13, 288, 1377, 309, 261, 4811, 2134, 1767, 8573, 23624, 18, 588, 23775, 5484, 1685, 2335, 1435, 1648, 3399, 1685, 2335, 13, 288, 3639, 3399, 3935, 8573, 80, 2031, 5432, 18, 1289, 12, 4811, 2134, 1767, 8573, 23624, 1769, 3639, 3399, 2134, 1767, 8573, 23624, 273, 446, 31, 1377, 289, 565, 289, 565, 8086, 8573, 23624, 2828, 3551, 23624, 31, 565, 1323, 261, 4811, 2134, 2519, 8573, 23624, 422, 446, 597, 3399, 3935, 1759, 8573, 23624, 4223, 411, 3399, 2519, 8573, 80, 2031, 5432, 18, 1467, 10756, 288, 1377, 3551, 23624, 273, 3399, 2519, 8573, 80, 2031, 5432, 18, 588, 12, 4811, 3935, 1759, 8573, 23624, 4223, 9904, 1769, 1377, 309, 16051, 7457, 8573, 23624, 12, 8766, 23624, 3719, 288, 3639, 309, 261, 8766, 23624, 18, 588, 23775, 5484, 1685, 2335, 1435, 405, 3399, 1685, 2335, 13, 288, 1850, 3399, 2134, 2519, 8573, 23624, 273, 3551, 23624, 31, 1850, 898, 31, 3639, 289, 3639, 469, 288, 1850, 3399, 3935, 8573, 80, 2031, 5432, 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, 3238, 918, 8312, 4131, 8573, 80, 2031, 5432, 1435, 288, 565, 309, 261, 4811, 2134, 2519, 8573, 23624, 480, 446, 13, 288, 1377, 309, 261, 4811, 2134, 2519, 8573, 23624, 18, 588, 23775, 5484, 1685, 2335, 1435, 1648, 3399, 1685, 2335, 13, 288, 3639, 3399, 3935, 8573, 80, 2031, 5432, 18, 1289, 12, 4811, 2134, 2519, 8573, 23624, 1769, 3639, 3399, 2134, 2519, 8573, 23624, 273, 446, 31, 1377, 289, 565, 289, 565, 309, 261, 4811, 2134, 1767, 8573, 23624, 480, 446, 13, 288, 1377, 309, 261, 4811, 2134, 1767, 8573, 23624, 18, 588, 23775, 5484, 1685, 2335, 1435, 1648, 3399, 1685, 2335, 13, 288, 3639, 3399, 3935, 8573, 80, 2031, 5432, 18, 1289, 12, 4811, 2134, 1767, 2 ]
public void acquire() {}
public void acquire() { }
public void acquire() {}
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4c66aa27cec27f8dd5902baec018ff86d7f49ee2/Lock.java/buggy/MMTk/ext/vm/stub/org/mmtk/vm/Lock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 10533, 1435, 2618, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 10533, 1435, 2618, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
byte buf[]=msg.getBuffer();
int rc=super.nativeDispatch( msg, ep, JK_HANDLE_JNI_DISPATCH); ep.setNote( receivedNote, msg ); return rc;
public int send( Msg msg, MsgContext ep ) throws IOException { byte buf[]=msg.getBuffer(); // send and get the response if( log.isInfoEnabled() ) log.info( "Sending packet "); msg.end(); // Assert: apr initialized // Will process the message in the current thread. // No wait needed to receive the response // int status=apr.sendPacket( ep.getJniEnv(), ep.getJniContext(), buf, msg.getLen() ); ep.setNote( receivedNote, msg ); if( log.isInfoEnabled() ) log.info( "Sending packet - done "); return 0; }
10630 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10630/9e180c45c0d71b42e4e6692985b3e911187faeae/ChannelJni.java/clean/java/org/apache/jk/common/ChannelJni.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1366, 12, 8671, 1234, 16, 8671, 1042, 5529, 262, 3639, 1216, 1860, 565, 288, 3639, 509, 4519, 33, 9565, 18, 13635, 5325, 12, 1234, 16, 5529, 16, 804, 47, 67, 23056, 67, 46, 50, 45, 67, 2565, 3118, 5858, 1769, 5529, 18, 542, 8067, 12, 5079, 8067, 16, 1234, 11272, 327, 4519, 31, 540, 368, 1366, 471, 336, 326, 766, 3639, 309, 12, 613, 18, 291, 966, 1526, 1435, 262, 613, 18, 1376, 12, 315, 16322, 4414, 315, 1769, 3639, 1234, 18, 409, 5621, 3639, 368, 5452, 30, 513, 86, 6454, 3639, 368, 9980, 1207, 326, 883, 316, 326, 783, 2650, 18, 3639, 368, 2631, 2529, 3577, 358, 6798, 326, 766, 3639, 368, 540, 509, 1267, 33, 438, 86, 18, 4661, 6667, 12, 5529, 18, 588, 46, 15834, 3491, 9334, 5529, 18, 588, 46, 15834, 1042, 9334, 4766, 282, 1681, 16, 1234, 18, 588, 2891, 1435, 11272, 3639, 5529, 18, 542, 8067, 12, 5079, 8067, 16, 1234, 11272, 7734, 309, 12, 613, 18, 291, 966, 1526, 1435, 262, 613, 18, 1376, 12, 315, 16322, 4414, 300, 2731, 315, 1769, 3639, 327, 374, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1366, 12, 8671, 1234, 16, 8671, 1042, 5529, 262, 3639, 1216, 1860, 565, 288, 3639, 509, 4519, 33, 9565, 18, 13635, 5325, 12, 1234, 16, 5529, 16, 804, 47, 67, 23056, 67, 46, 50, 45, 67, 2565, 3118, 5858, 1769, 5529, 18, 542, 8067, 12, 5079, 8067, 16, 1234, 11272, 327, 4519, 31, 540, 368, 1366, 471, 336, 326, 766, 3639, 309, 12, 613, 18, 291, 966, 1526, 1435, 262, 613, 18, 1376, 12, 315, 16322, 4414, 315, 1769, 3639, 1234, 18, 409, 5621, 3639, 368, 5452, 30, 513, 86, 6454, 3639, 368, 9980, 1207, 326, 883, 316, 326, 783, 2650, 18, 3639, 368, 2631, 2529, 3577, 358, 6798, 326, 766, 3639, 368, 540, 509, 1267, 2 ]
return "";
return "";
public String getText(Object element) { if (element == null) { return ""; } else if (element instanceof ICDebugConfiguration) { return ((ICDebugConfiguration) element).getName(); } return element.toString(); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/e18d7494d05c2df37d92c9fd60d82ec6edb98ab2/CApplicationLaunchShortcut.java/buggy/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 514, 6701, 12, 921, 930, 13, 288, 9506, 202, 430, 261, 2956, 422, 446, 13, 288, 6862, 202, 2463, 1408, 31, 9506, 202, 97, 469, 309, 261, 2956, 1276, 26899, 2829, 1750, 13, 288, 6862, 202, 2463, 14015, 2871, 2829, 1750, 13, 930, 2934, 17994, 5621, 9506, 202, 97, 9506, 202, 2463, 930, 18, 10492, 5621, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 514, 6701, 12, 921, 930, 13, 288, 9506, 202, 430, 261, 2956, 422, 446, 13, 288, 6862, 202, 2463, 1408, 31, 9506, 202, 97, 469, 309, 261, 2956, 1276, 26899, 2829, 1750, 13, 288, 6862, 202, 2463, 14015, 2871, 2829, 1750, 13, 930, 2934, 17994, 5621, 9506, 202, 97, 9506, 202, 2463, 930, 18, 10492, 5621, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setColumn(((Integer)newValue).intValue());
setColumn(((Integer) newValue).intValue());
public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case LayoutPackage.BLOCK__CHILDREN: getChildren().clear(); getChildren().addAll((Collection)newValue); return; case LayoutPackage.BLOCK__BOUNDS: setBounds((Bounds)newValue); return; case LayoutPackage.BLOCK__ANCHOR: setAnchor((Anchor)newValue); return; case LayoutPackage.BLOCK__STRETCH: setStretch((Stretch)newValue); return; case LayoutPackage.BLOCK__INSETS: setInsets((Insets)newValue); return; case LayoutPackage.BLOCK__ROW: setRow(((Integer)newValue).intValue()); return; case LayoutPackage.BLOCK__COLUMN: setColumn(((Integer)newValue).intValue()); return; case LayoutPackage.BLOCK__ROWSPAN: setRowspan(((Integer)newValue).intValue()); return; case LayoutPackage.BLOCK__COLUMNSPAN: setColumnspan(((Integer)newValue).intValue()); return; case LayoutPackage.BLOCK__MIN_SIZE: setMinSize((Size)newValue); return; case LayoutPackage.BLOCK__OUTLINE: setOutline((LineAttributes)newValue); return; case LayoutPackage.BLOCK__BACKGROUND: setBackground((Fill)newValue); return; case LayoutPackage.BLOCK__VISIBLE: setVisible(((Boolean)newValue).booleanValue()); return; case LayoutPackage.BLOCK__TRIGGERS: getTriggers().clear(); getTriggers().addAll((Collection)newValue); return; } eDynamicSet(eFeature, newValue); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/BlockImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/BlockImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 9995, 2261, 18, 11403, 972, 27043, 24296, 30, 7734, 10268, 7675, 8507, 5621, 7734, 10268, 7675, 1289, 1595, 12443, 2532, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 11403, 972, 5315, 2124, 3948, 30, 7734, 444, 5694, 12443, 5694, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 11403, 972, 20360, 916, 30, 7734, 444, 11605, 12443, 11605, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 11403, 972, 882, 10238, 1792, 30, 7734, 444, 510, 20783, 12443, 510, 20783, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 11403, 972, 706, 28092, 30, 7734, 444, 382, 4424, 12443, 382, 4424, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 11403, 972, 11226, 30, 7734, 444, 1999, 12443, 12, 4522, 13, 2704, 620, 2934, 474, 620, 10663, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 11403, 972, 11009, 30, 7734, 25918, 12443, 12, 4522, 13, 6129, 2934, 474, 620, 10663, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 11403, 972, 28402, 30819, 30, 7734, 444, 1999, 3969, 12443, 12, 4522, 13, 2704, 620, 2934, 474, 620, 10663, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 11403, 972, 11009, 3118, 1258, 30, 7734, 25918, 3969, 12443, 12, 4522, 13, 2704, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 9995, 2261, 18, 11403, 972, 27043, 24296, 30, 7734, 10268, 7675, 8507, 5621, 7734, 10268, 7675, 1289, 1595, 12443, 2532, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 11403, 972, 5315, 2124, 3948, 30, 7734, 444, 5694, 12443, 5694, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 11403, 972, 20360, 916, 30, 7734, 444, 11605, 12443, 11605, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 11403, 972, 882, 10238, 1792, 30, 7734, 444, 510, 20783, 2 ]
private void updateAttributesFromRepository(String repositoryUrl, String[] selectedProducts, boolean connect) { if (connect) { // TODO: make cancelable (bug 143011) monitorDialog.setCancelable(false); monitorDialog.open(); IProgressMonitor monitor = monitorDialog.getProgressMonitor(); try { monitor.beginTask("Updating search options...", 55); BugzillaUiPlugin.updateQueryOptions(repository, monitor); } catch (LoginException exception) { // we had a problem that seems to have been caused from bad // login info MessageDialog .openError( null, "Login Error", "Bugzilla could not log you in to get the information you requested since login name or password is incorrect.\nPlease check your settings in the bugzilla preferences. "); // BugzillaPlugin.log(exception); return; } catch (IOException e) { MessageDialog.openError(null, "Connection Error", e.getMessage() + "\nPlease check your settings in the bugzilla preferences. "); return; } catch (OperationCanceledException exception) { return; } catch (Exception e) { MessageDialog.openError(null, "Error updating search options", "Error was : "+e.getMessage()); return; } finally { monitor.done(); monitorDialog.close(); } } if (selectedProducts == null) { String[] productsList = BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_PRODUCT, null, repositoryUrl); Arrays.sort(productsList, String.CASE_INSENSITIVE_ORDER); product.setItems(productsList); } String[] componentsList = BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_COMPONENT, selectedProducts, repositoryUrl); Arrays.sort(componentsList, String.CASE_INSENSITIVE_ORDER); component.setItems(componentsList); version.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_VERSION, selectedProducts, repositoryUrl)); target.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_TARGET, selectedProducts, repositoryUrl)); if (selectedProducts == null) { status.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_STATUS, selectedProducts, repositoryUrl)); // status.setSelection(BugzillaRepositoryUtil.getQueryOptions(IBugzillaConstants.VALUSE_STATUS_PRESELECTED, // repositoryUrl)); resolution.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_RESOLUTION, selectedProducts, repositoryUrl)); severity.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_SEVERITY, selectedProducts, repositoryUrl)); priority.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_PRIORITY, selectedProducts, repositoryUrl)); hardware.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_HARDWARE, selectedProducts, repositoryUrl)); os .setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_OS, selectedProducts, repositoryUrl)); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/e6be99aa26a93b1e688759c18057beae866f5994/BugzillaSearchPage.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 2498, 1265, 3305, 12, 780, 3352, 1489, 16, 514, 8526, 3170, 13344, 16, 1250, 3077, 13, 288, 202, 202, 430, 261, 3612, 13, 288, 1082, 202, 759, 2660, 30, 1221, 3755, 429, 261, 925, 5045, 31831, 21, 13, 1082, 202, 10259, 6353, 18, 542, 6691, 429, 12, 5743, 1769, 1082, 202, 10259, 6353, 18, 3190, 5621, 25083, 202, 45, 5491, 7187, 6438, 273, 6438, 6353, 18, 588, 5491, 7187, 5621, 1082, 202, 698, 288, 9506, 202, 10259, 18, 10086, 2174, 2932, 17858, 1623, 702, 7070, 16, 21483, 1769, 9506, 202, 19865, 15990, 13943, 3773, 18, 2725, 1138, 1320, 12, 9071, 16, 6438, 1769, 1082, 202, 97, 1044, 261, 5358, 503, 1520, 13, 288, 9506, 202, 759, 732, 9323, 279, 6199, 716, 12001, 358, 1240, 2118, 15848, 628, 5570, 9506, 202, 759, 3925, 1123, 9506, 202, 1079, 6353, 25083, 202, 18, 3190, 668, 12, 6862, 9506, 202, 2011, 16, 6862, 9506, 202, 6, 5358, 1068, 3113, 6862, 9506, 202, 6, 19865, 15990, 3377, 486, 613, 1846, 316, 358, 336, 326, 1779, 1846, 3764, 3241, 3925, 508, 578, 2201, 353, 11332, 8403, 82, 8496, 866, 3433, 1947, 316, 326, 7934, 15990, 12750, 18, 315, 1769, 9506, 202, 759, 16907, 15990, 3773, 18, 1330, 12, 4064, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 1044, 261, 14106, 425, 13, 288, 9506, 202, 1079, 6353, 18, 3190, 668, 12, 2011, 16, 315, 1952, 1068, 3113, 425, 18, 24906, 1435, 25083, 202, 15, 1548, 82, 8496, 866, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 2498, 1265, 3305, 12, 780, 3352, 1489, 16, 514, 8526, 3170, 13344, 16, 1250, 3077, 13, 288, 202, 202, 430, 261, 3612, 13, 288, 1082, 202, 759, 2660, 30, 1221, 3755, 429, 261, 925, 5045, 31831, 21, 13, 1082, 202, 10259, 6353, 18, 542, 6691, 429, 12, 5743, 1769, 1082, 202, 10259, 6353, 18, 3190, 5621, 25083, 202, 45, 5491, 7187, 6438, 273, 6438, 6353, 18, 588, 5491, 7187, 5621, 1082, 202, 698, 288, 9506, 202, 10259, 18, 10086, 2174, 2932, 17858, 1623, 702, 7070, 16, 21483, 1769, 9506, 202, 19865, 15990, 13943, 3773, 18, 2725, 1138, 1320, 12, 9071, 16, 6438, 1769, 1082, 202, 97, 1044, 261, 5358, 503, 1520, 13, 288, 9506, 2 ]
ArrayList<Point> plist = new ArrayList<Point>(); CollectionUtil.addAll(plist, path); move(createPath(board, plist, speed));
move(createPath(board, path, speed));
public void move (BangBoard board, Point[] path, float speed) { ArrayList<Point> plist = new ArrayList<Point>(); CollectionUtil.addAll(plist, path); move(createPath(board, plist, speed)); }
8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/650d638691f4e909d63af25aff5f4311d58dc6e5/MobileSprite.java/clean/src/java/com/threerings/bang/game/client/sprite/MobileSprite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3635, 261, 38, 539, 22233, 11094, 16, 4686, 8526, 589, 16, 1431, 8632, 13, 565, 288, 3639, 2407, 32, 2148, 34, 21074, 273, 394, 2407, 32, 2148, 34, 5621, 3639, 2200, 1304, 18, 1289, 1595, 12, 17842, 16, 589, 1769, 3639, 3635, 12, 2640, 743, 12, 3752, 16, 21074, 16, 8632, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3635, 261, 38, 539, 22233, 11094, 16, 4686, 8526, 589, 16, 1431, 8632, 13, 565, 288, 3639, 2407, 32, 2148, 34, 21074, 273, 394, 2407, 32, 2148, 34, 5621, 3639, 2200, 1304, 18, 1289, 1595, 12, 17842, 16, 589, 1769, 3639, 3635, 12, 2640, 743, 12, 3752, 16, 21074, 16, 8632, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (this.isInitialised) {
if (!this.isInitialised) {
public Item[] getItems() { if (this.isInitialised) { return (Item[]) this.itemsList.toArray( new Item[ this.itemsList.size() ]); } else { return this.items; } }
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/ab9a43534b4e65c3a7e363af40206c4637c47323/Container.java/clean/enough-polish-j2me/source/src/de/enough/polish/ui/Container.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4342, 8526, 15515, 1435, 288, 202, 202, 430, 261, 2211, 18, 291, 4435, 5918, 13, 288, 1082, 202, 2463, 261, 1180, 63, 5717, 333, 18, 3319, 682, 18, 31447, 12, 394, 4342, 63, 333, 18, 3319, 682, 18, 1467, 1435, 308, 1769, 202, 202, 97, 469, 288, 6862, 202, 2463, 333, 18, 3319, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4342, 8526, 15515, 1435, 288, 202, 202, 430, 261, 2211, 18, 291, 4435, 5918, 13, 288, 1082, 202, 2463, 261, 1180, 63, 5717, 333, 18, 3319, 682, 18, 31447, 12, 394, 4342, 63, 333, 18, 3319, 682, 18, 1467, 1435, 308, 1769, 202, 202, 97, 469, 288, 6862, 202, 2463, 333, 18, 3319, 31, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Interval test = new Interval(TEST_TIME1, TEST_TIME2); Interval result = test.withStart(null); assertEquals(TEST_TIME_NOW, result.getStartMillis()); assertEquals(TEST_TIME2, result.getEndMillis());
Interval base = new Interval(TEST_TIME1, TEST_TIME2, COPTIC_PARIS); Interval test = base.withStart(null); assertEquals(new Interval(TEST_TIME_NOW, TEST_TIME2, COPTIC_PARIS), test);
public void testWithStartInstant_RI3() { Interval test = new Interval(TEST_TIME1, TEST_TIME2); Interval result = test.withStart(null); assertEquals(TEST_TIME_NOW, result.getStartMillis()); assertEquals(TEST_TIME2, result.getEndMillis()); }
52681 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52681/ae46a513a314dc36f12346b57ccacacf7ffb303a/TestInterval_Basics.java/buggy/JodaTime/src/test/org/joda/time/TestInterval_Basics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1190, 1685, 10675, 67, 2259, 23, 1435, 288, 3639, 10803, 1842, 273, 394, 10803, 12, 16961, 67, 4684, 21, 16, 22130, 67, 4684, 22, 1769, 3639, 10803, 563, 273, 1842, 18, 1918, 1685, 12, 2011, 1769, 3639, 1815, 8867, 12, 16961, 67, 4684, 67, 27091, 16, 563, 18, 588, 1685, 4814, 10663, 3639, 1815, 8867, 12, 16961, 67, 4684, 22, 16, 563, 18, 588, 1638, 4814, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1190, 1685, 10675, 67, 2259, 23, 1435, 288, 3639, 10803, 1842, 273, 394, 10803, 12, 16961, 67, 4684, 21, 16, 22130, 67, 4684, 22, 1769, 3639, 10803, 563, 273, 1842, 18, 1918, 1685, 12, 2011, 1769, 3639, 1815, 8867, 12, 16961, 67, 4684, 67, 27091, 16, 563, 18, 588, 1685, 4814, 10663, 3639, 1815, 8867, 12, 16961, 67, 4684, 22, 16, 563, 18, 588, 1638, 4814, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
record.addElement("dayCollected").setText(occurrence.getDayCollected().toString()); record.addElement("monthCollected").setText(occurrence.getMonthCollected().toString());
record.addElement("dayCollected").setText(occurrence.getDayCollectedNN().toString()); record.addElement("monthCollected").setText(occurrence.getMonthCollectedNN().toString());
private void outputDarwinCore() { logger.debug("output"); Element record = document.getRootElement().addElement("record"); setActualREcordElement(record); record.addElement("institutionCode").setText(occurrence.getMetadata().getOwnerOrganizationAbbrev()); record.addElement("collectionCode").setText(occurrence.getMetadata().getDataSetTitle()); record.addElement("basisOfRecord").setText(occurrence.getMetadata().getRecordBasis()); record.addElement("dateLastModified").setText(occurrence.getMetadata().getDateModified().toString()); record.addElement("genus").setText(occurrence.getPlant().getGenus()); record.addElement("identifiedBy").setText(occurrence.getPlant().getScientificNameAuthor()); record.addElement("scientificName").setText(occurrence.getPlant().getTaxon()); record.addElement("specificNameAuthorYear").setText(occurrence.getPlant().getScientificNameAuthor()); record.addElement("catalogNumber").setText(occurrence.getId().toString()); record.addElement("dayCollected").setText(occurrence.getDayCollected().toString()); record.addElement("monthCollected").setText(occurrence.getMonthCollected().toString()); record.addElement("yearCollected").setText(occurrence.getYearCollected().toString()); record.addElement("timeOfDay").setText(occurrence.getTimeCollected().toString()); record.addElement("notes").setText(occurrence.getNote()); record.addElement("country").setText(occurrence.getHabitat().getCountry()); record.addElement("county").setText(occurrence.getHabitat().getNearestVillage().getName()); record.addElement("stateProvince").setText(occurrence.getHabitat().getTerritory().getName()); record.addElement("locality").setText(occurrence.getHabitat().getDescription()); record.addElement("latitude").setText(occurrence.getHabitat().getLatitude().toString()); record.addElement("longitude").setText(occurrence.getHabitat().getLongitude().toString()); record.addElement("minimumElevation").setText(occurrence.getHabitat().getAltitude().toString()); }
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/d20240e23f03ca3ceb8c1edf6058ef2105df08d9/DarwinCoreBuilder.java/clean/trunk/src/net/sf/plantlore/client/export/builders/DarwinCoreBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 876, 40, 19992, 4670, 1435, 288, 3639, 1194, 18, 4148, 2932, 2844, 8863, 3639, 3010, 1409, 273, 1668, 18, 588, 2375, 1046, 7675, 1289, 1046, 2932, 3366, 8863, 3639, 444, 11266, 862, 901, 1046, 12, 3366, 1769, 4766, 4202, 1409, 18, 1289, 1046, 2932, 267, 14278, 1085, 20387, 542, 1528, 12, 31177, 18, 588, 2277, 7675, 588, 5541, 8113, 5895, 27216, 10663, 3639, 1409, 18, 1289, 1046, 2932, 5548, 1085, 20387, 542, 1528, 12, 31177, 18, 588, 2277, 7675, 588, 13676, 4247, 10663, 3639, 1409, 18, 1289, 1046, 2932, 23774, 951, 2115, 20387, 542, 1528, 12, 31177, 18, 588, 2277, 7675, 588, 2115, 11494, 291, 10663, 3639, 1409, 18, 1289, 1046, 2932, 712, 14747, 20387, 542, 1528, 12, 31177, 18, 588, 2277, 7675, 588, 1626, 4575, 7675, 10492, 10663, 7734, 1409, 18, 1289, 1046, 2932, 4507, 407, 20387, 542, 1528, 12, 31177, 18, 588, 1749, 970, 7675, 588, 7642, 407, 10663, 3639, 1409, 18, 1289, 1046, 2932, 6392, 939, 858, 20387, 542, 1528, 12, 31177, 18, 588, 1749, 970, 7675, 588, 1541, 1979, 1507, 461, 3594, 10663, 3639, 1409, 18, 1289, 1046, 2932, 1017, 1979, 1507, 461, 20387, 542, 1528, 12, 31177, 18, 588, 1749, 970, 7675, 588, 7731, 265, 10663, 3639, 1409, 18, 1289, 1046, 2932, 12524, 461, 3594, 5593, 20387, 542, 1528, 12, 31177, 18, 588, 1749, 970, 7675, 588, 1541, 1979, 1507, 461, 3594, 10663, 7734, 1409, 18, 1289, 1046, 2932, 7199, 1854, 20387, 542, 1528, 12, 31177, 18, 26321, 7675, 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, 876, 40, 19992, 4670, 1435, 288, 3639, 1194, 18, 4148, 2932, 2844, 8863, 3639, 3010, 1409, 273, 1668, 18, 588, 2375, 1046, 7675, 1289, 1046, 2932, 3366, 8863, 3639, 444, 11266, 862, 901, 1046, 12, 3366, 1769, 4766, 4202, 1409, 18, 1289, 1046, 2932, 267, 14278, 1085, 20387, 542, 1528, 12, 31177, 18, 588, 2277, 7675, 588, 5541, 8113, 5895, 27216, 10663, 3639, 1409, 18, 1289, 1046, 2932, 5548, 1085, 20387, 542, 1528, 12, 31177, 18, 588, 2277, 7675, 588, 13676, 4247, 10663, 3639, 1409, 18, 1289, 1046, 2932, 23774, 951, 2115, 20387, 542, 1528, 12, 31177, 18, 588, 2277, 7675, 588, 2115, 11494, 291, 10663, 3639, 1409, 18, 1289, 1046, 2932, 712, 14747, 20387, 542, 2 ]
if (info == null) { info = new TypeInfo(type, qualifiedName, fTypeCache); fTypeCache.insert(info); } else { info.setCElementType(type); }
info = new TypeInfo(type, qualifiedName); fTypeCache.insert(info);
private void addType(int type, String name, String[] enclosingNames, Object originalRef, Object resolvedRef, int offset, int length) { QualifiedTypeName qualifiedName = new QualifiedTypeName(name, enclosingNames); ITypeInfo info = fTypeCache.getType(type, qualifiedName); if (info == null || info.isUndefinedType()) { if (info == null) { info = new TypeInfo(type, qualifiedName, fTypeCache); fTypeCache.insert(info); } else { info.setCElementType(type); } TypeReference location; if (originalRef instanceof IWorkingCopy) { IWorkingCopy workingCopy = (IWorkingCopy) originalRef; location = new TypeReference(workingCopy, fProject); } else if (originalRef instanceof IResource) { IResource resource = (IResource) originalRef; location = new TypeReference(resource, fProject); } else { IPath path = (IPath) originalRef; location = new TypeReference(path, fProject); } info.addReference(location); } TypeReference location; if (resolvedRef instanceof IWorkingCopy) { IWorkingCopy workingCopy = (IWorkingCopy) resolvedRef; location = new TypeReference(workingCopy, fProject, offset, length); } else if (resolvedRef instanceof IResource) { IResource resource = (IResource) resolvedRef; location = new TypeReference(resource, fProject, offset, length); } else { IPath path = (IPath) resolvedRef; location = new TypeReference(path, fProject, offset, length); } info.addReference(location); if (fTypeToFind != null && fTypeToFind.equals(info)) { fFoundType = true; } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ccfe7d8f5fb16ffce595bc26621d085f534ba238/TypeParser.java/buggy/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/TypeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 29337, 12, 474, 618, 16, 514, 508, 16, 514, 8526, 16307, 1557, 16, 1033, 2282, 1957, 16, 1033, 4640, 1957, 16, 509, 1384, 16, 509, 769, 13, 288, 202, 202, 8708, 7947, 24133, 273, 394, 24180, 7947, 12, 529, 16, 16307, 1557, 1769, 202, 202, 45, 17305, 1123, 273, 284, 559, 1649, 18, 588, 559, 12, 723, 16, 24133, 1769, 202, 202, 430, 261, 1376, 422, 446, 747, 1123, 18, 291, 10317, 559, 10756, 288, 1082, 202, 430, 261, 1376, 422, 446, 13, 288, 9506, 202, 1376, 273, 394, 1412, 966, 12, 723, 16, 24133, 16, 284, 559, 1649, 1769, 9506, 202, 74, 559, 1649, 18, 6387, 12, 1376, 1769, 1082, 202, 97, 469, 288, 9506, 202, 1376, 18, 542, 39, 17481, 12, 723, 1769, 1082, 202, 97, 25083, 202, 7534, 2117, 31, 1082, 202, 430, 261, 8830, 1957, 1276, 467, 14836, 2951, 13, 288, 9506, 202, 45, 14836, 2951, 5960, 2951, 273, 261, 45, 14836, 2951, 13, 2282, 1957, 31, 9506, 202, 3562, 273, 394, 31717, 12, 20478, 2951, 16, 284, 4109, 1769, 1082, 202, 97, 469, 309, 261, 8830, 1957, 1276, 467, 1420, 13, 288, 9506, 202, 45, 1420, 1058, 273, 261, 45, 1420, 13, 2282, 1957, 31, 9506, 202, 3562, 273, 394, 31717, 12, 3146, 16, 284, 4109, 1769, 1082, 202, 97, 469, 288, 9506, 202, 45, 743, 589, 273, 261, 45, 743, 13, 2282, 1957, 31, 9506, 202, 3562, 273, 394, 31717, 12, 803, 16, 284, 4109, 1769, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 29337, 12, 474, 618, 16, 514, 508, 16, 514, 8526, 16307, 1557, 16, 1033, 2282, 1957, 16, 1033, 4640, 1957, 16, 509, 1384, 16, 509, 769, 13, 288, 202, 202, 8708, 7947, 24133, 273, 394, 24180, 7947, 12, 529, 16, 16307, 1557, 1769, 202, 202, 45, 17305, 1123, 273, 284, 559, 1649, 18, 588, 559, 12, 723, 16, 24133, 1769, 202, 202, 430, 261, 1376, 422, 446, 747, 1123, 18, 291, 10317, 559, 10756, 288, 1082, 202, 430, 261, 1376, 422, 446, 13, 288, 9506, 202, 1376, 273, 394, 1412, 966, 12, 723, 16, 24133, 16, 284, 559, 1649, 1769, 9506, 202, 74, 559, 1649, 18, 6387, 12, 1376, 1769, 1082, 202, 97, 469, 288, 2 ]
String decomp = Normalizer.normalize(ts, Normalizer.DECOMP_COMPAT, 0); if (!decomp.equals(ts)) continue;
public static void print(String testSet, String rawId) throws IOException { Transliterator t = Transliterator.getInstance(rawId); String id = t.getID(); // clean up IDs. Ought to be API for getting source, target, variant int minusPos = id.indexOf('-'); String source = id.substring(0,minusPos); String target = id.substring(minusPos+1); int slashPos = target.indexOf('/'); if (slashPos >= 0) target = target.substring(0,slashPos); // check that the source is a script if (testSet.equals("")) { int[] scripts = UScript.getCode(source); if (scripts.length != 1) { System.out.println("FAILED: " + Transliterator.getDisplayName(id) + " does not have a script as the source"); return; } else { testSet = "[:" + source + ":]"; } } UnicodeSet sourceSet = new UnicodeSet(testSet); // check that the source is a script int[] scripts = UScript.getCode(target); if (scripts.length != 1) { target = "[:Latin:]"; } else { target = "[:" + target + ":]"; } UnicodeSet targetSet = new UnicodeSet(target); Transliterator inverse = t.getInverse(); Transliterator hex = Transliterator.getInstance("Any-Hex"); // iterate through script System.out.println("Transliterating " + sourceSet.toPattern(true) + " with " + Transliterator.getDisplayName(id)); UnicodeSet leftOverSet = new UnicodeSet(targetSet); UnicodeSet privateUse = new UnicodeSet("[:private use:]"); Map map = new TreeMap(); int count = sourceSet.getRangeCount(); for (int i = 0; i < count; ++i) { int end = sourceSet.getRangeEnd(i); for (int j = sourceSet.getRangeStart(i); j <= end; ++j) { String flag = ""; String ss = UTF16.valueOf(j); String ts = t.transliterate(ss); char group = 0; if (!isIn(ts, targetSet)) { group |= 1; } if (UTF16.countCodePoint(ts) == 1) { leftOverSet.remove(UTF16.charAt(ts,0)); } String rt = inverse.transliterate(ts); if (!isIn(rt, sourceSet)) { group |= 2; } else if (!ss.equals(rt)) { group |= 4; } if (containsSome(privateUse, ts) || containsSome(privateUse, rt)) { group |= 16; } map.put(group + UCharacter.toLowerCase(Normalizer.normalize(ss, Normalizer.DECOMP_COMPAT, 0)) + ss, "<tr><td>" + ss + "<br><tt>" + hex.transliterate(ss) + "</tt></td><td>" + ts + "<br><tt>" + hex.transliterate(ts) + "</tt></td><td>" + rt + "<br><tt>" + hex.transliterate(rt) + "</tt></td></tr>" ); } } leftOverSet.remove(0x0100,0x02FF); // remove extended & IPA count = leftOverSet.getRangeCount(); for (int i = 0; i < count; ++i) { int end = leftOverSet.getRangeEnd(i); for (int j = leftOverSet.getRangeStart(i); j <= end; ++j) { String ts = UTF16.valueOf(j); String decomp = Normalizer.normalize(ts, Normalizer.DECOMP_COMPAT, 0); if (!decomp.equals(ts)) continue; String rt = inverse.transliterate(ts); String flag = ""; char group = 0x80; if (!isIn(rt, sourceSet)) { group |= 8; } if (containsSome(privateUse, rt)) { group |= 16; } map.put(group + UCharacter.toLowerCase(Normalizer.normalize(ts, Normalizer.DECOMP_COMPAT, 0)) + ts, "<tr><td>-</td><td>" + ts + "<br><tt>" + hex.transliterate(ts) + "</tt></td><td>" + rt + "<br><tt>" + hex.transliterate(rt) + "</tt></td></tr>"); } } // make file name and open File f = new File("chart_" + id.replace('/', '_') + ".html"); String filename = f.getCanonicalFile().toString(); PrintWriter out = new PrintWriter( new OutputStreamWriter( new FileOutputStream(filename), "UTF-8")); //out.print('\uFEFF'); // BOM System.out.println("Writing " + filename); try { out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">"); out.println("<HTML><HEAD>"); out.println("<META content=\"text/html; charset=utf-8\" http-equiv=Content-Type></HEAD>"); out.println("<link rel='stylesheet' href='http://www.unicode.org/charts/uca/charts.css' type='text/css'>"); out.println("<BODY>"); String tableHeader = "<p><table border='1'><tr><th>Source</th><th>Target</th><th>Return</th></tr>"; String tableFooter = "</table></p>"; out.println("<h1>Round Trip</h1>"); out.println(tableHeader); Iterator it = map.keySet().iterator(); char lastGroup = 0; count = 0; while (it.hasNext()) { String key = (String) it.next(); char group = key.charAt(0); if (group != lastGroup || count++ > 50) { lastGroup = group; count = 0; out.println(tableFooter); String title = ""; if ((group & 0x80) != 0) out.println("<hr><h1>Completeness</h1>"); else out.println("<hr><h1>Round Trip</h1>"); if ((group & 16) != 0) out.println("<h2>Errors: Contains Private Use Characters</h2>"); if ((group & 8) != 0) out.println("<h2>Possible Errors: Return not in Source Set</h2>"); if ((group & 4) != 0) out.println("<h2>Errors: Return not equal to Source</h2>"); if ((group & 2) != 0) out.println("<h2>Errors: Return not in Source Set</h2>"); if ((group & 1) != 0) out.println("<h2>Errors: Target not in Target Set</h2>"); out.println(tableHeader); } String value = (String) map.get(key); out.println(value); } out.println(tableFooter + "</BODY></HTML>"); } finally { out.close(); } }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/e6733853a08db9d4bdfafbe9e6e1d2121725eef1/WriteCharts.java/clean/icu4j/src/com/ibm/icu/dev/test/translit/WriteCharts.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1172, 12, 780, 1842, 694, 16, 514, 1831, 548, 13, 1216, 1860, 288, 3639, 8193, 9838, 268, 273, 8193, 9838, 18, 588, 1442, 12, 1899, 548, 1769, 3639, 514, 612, 273, 268, 18, 588, 734, 5621, 7734, 368, 2721, 731, 7115, 18, 531, 9540, 358, 506, 1491, 364, 8742, 1084, 16, 1018, 16, 5437, 3639, 509, 12647, 1616, 273, 612, 18, 31806, 2668, 6627, 1769, 3639, 514, 1084, 273, 612, 18, 28023, 12, 20, 16, 19601, 1616, 1769, 3639, 514, 1018, 273, 612, 18, 28023, 12, 19601, 1616, 15, 21, 1769, 3639, 509, 9026, 1616, 273, 1018, 18, 31806, 2668, 2473, 1769, 3639, 309, 261, 12877, 1616, 1545, 374, 13, 1018, 273, 1018, 18, 28023, 12, 20, 16, 12877, 1616, 1769, 7734, 368, 866, 716, 326, 1084, 353, 279, 2728, 3639, 309, 261, 3813, 694, 18, 14963, 2932, 6, 3719, 288, 5411, 509, 8526, 8873, 273, 587, 3651, 18, 588, 1085, 12, 3168, 1769, 5411, 309, 261, 12827, 18, 2469, 480, 404, 13, 288, 7734, 2332, 18, 659, 18, 8222, 2932, 11965, 30, 315, 5397, 397, 8193, 9838, 18, 588, 20524, 12, 350, 13, 10792, 397, 315, 1552, 486, 1240, 279, 2728, 487, 326, 1084, 8863, 7734, 327, 31, 5411, 289, 469, 288, 7734, 1842, 694, 273, 5158, 2773, 397, 1084, 397, 6398, 4279, 31, 5411, 289, 3639, 289, 3639, 9633, 694, 1084, 694, 273, 394, 9633, 694, 12, 3813, 694, 1769, 3639, 368, 866, 716, 326, 1084, 353, 279, 2728, 3639, 509, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1172, 12, 780, 1842, 694, 16, 514, 1831, 548, 13, 1216, 1860, 288, 3639, 8193, 9838, 268, 273, 8193, 9838, 18, 588, 1442, 12, 1899, 548, 1769, 3639, 514, 612, 273, 268, 18, 588, 734, 5621, 7734, 368, 2721, 731, 7115, 18, 531, 9540, 358, 506, 1491, 364, 8742, 1084, 16, 1018, 16, 5437, 3639, 509, 12647, 1616, 273, 612, 18, 31806, 2668, 6627, 1769, 3639, 514, 1084, 273, 612, 18, 28023, 12, 20, 16, 19601, 1616, 1769, 3639, 514, 1018, 273, 612, 18, 28023, 12, 19601, 1616, 15, 21, 1769, 3639, 509, 9026, 1616, 273, 1018, 18, 31806, 2668, 2473, 1769, 3639, 309, 261, 12877, 1616, 1545, 374, 13, 1018, 273, 1018, 18, 28023, 2 ]
if (messageImage.getVisible()) {
if (showingError) {
public void setErrorMessage(String errorMessage) { if (errorMessage == null) { if (messageImage.getVisible()) { // we were previously showing an error messageLabel.setBackground(normalMsgAreaBackground); messageImage.setBackground(normalMsgAreaBackground); messageArea.setBackground(normalMsgAreaBackground); messageImage.setVisible(false); messageImage.setImage(null); titleArea.layout(true); } // show the message // avoid calling setMessage in case it is overridden to call setErrorMessage, // which would result in a recursive infinite loop if (message == null) //this should probably never happen since setMessage does this conversion.... message = ""; //$NON-NLS-1$ messageLabel.setText(message); messageLabel.setToolTipText(message); } else { messageLabel.setText(errorMessage); messageLabel.setToolTipText(errorMessage); if (!messageImage.getVisible()) { // we were not previously showing an error // lazy initialize the error background color and image if (errorMsgAreaBackground == null) { errorMsgAreaBackground = JFaceColors.getErrorBackground(messageArea.getDisplay()); errorMsgImage = JFaceResources.getImage(DLG_IMG_TITLE_ERROR); } // show the error normalMsgAreaBackground = messageLabel.getBackground(); messageLabel.setBackground(errorMsgAreaBackground); messageImage.setBackground(errorMsgAreaBackground); messageArea.setBackground(errorMsgAreaBackground); messageImage.setImage(errorMsgImage); messageImage.setVisible(true); titleArea.layout(true); } }}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/c4f6eea0242519035d1255fb52958492b9739dbf/TitleAreaDialog.java/clean/bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/dialogs/TitleAreaDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 9967, 1079, 12, 780, 9324, 13, 288, 202, 430, 261, 1636, 1079, 422, 446, 13, 288, 202, 202, 430, 261, 2150, 2040, 18, 588, 6207, 10756, 288, 1082, 202, 759, 732, 4591, 7243, 17253, 392, 555, 1082, 202, 2150, 2224, 18, 542, 8199, 12, 6130, 3332, 5484, 8199, 1769, 1082, 202, 2150, 2040, 18, 542, 8199, 12, 6130, 3332, 5484, 8199, 1769, 1082, 202, 2150, 5484, 18, 542, 8199, 12, 6130, 3332, 5484, 8199, 1769, 1082, 202, 2150, 2040, 18, 542, 6207, 12, 5743, 1769, 1082, 202, 2150, 2040, 18, 542, 2040, 12, 2011, 1769, 1082, 202, 2649, 5484, 18, 6741, 12, 3767, 1769, 202, 202, 97, 202, 202, 759, 2405, 326, 883, 202, 202, 759, 4543, 4440, 15227, 316, 648, 518, 353, 11000, 358, 745, 9967, 1079, 16, 3196, 202, 759, 1492, 4102, 563, 316, 279, 5904, 14853, 2798, 202, 202, 430, 261, 2150, 422, 446, 13, 202, 759, 2211, 1410, 8656, 5903, 5865, 3241, 15227, 1552, 333, 4105, 6265, 1082, 202, 2150, 273, 1408, 31, 202, 202, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 2150, 2224, 18, 542, 1528, 12, 2150, 1769, 202, 202, 2150, 2224, 18, 542, 29250, 1528, 12, 2150, 1769, 202, 97, 469, 288, 202, 202, 2150, 2224, 18, 542, 1528, 12, 1636, 1079, 1769, 202, 202, 2150, 2224, 18, 542, 29250, 1528, 12, 1636, 1079, 1769, 202, 202, 430, 16051, 2150, 2040, 18, 588, 6207, 10756, 288, 1082, 202, 759, 732, 4591, 486, 7243, 17253, 392, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 9967, 1079, 12, 780, 9324, 13, 288, 202, 430, 261, 1636, 1079, 422, 446, 13, 288, 202, 202, 430, 261, 2150, 2040, 18, 588, 6207, 10756, 288, 1082, 202, 759, 732, 4591, 7243, 17253, 392, 555, 1082, 202, 2150, 2224, 18, 542, 8199, 12, 6130, 3332, 5484, 8199, 1769, 1082, 202, 2150, 2040, 18, 542, 8199, 12, 6130, 3332, 5484, 8199, 1769, 1082, 202, 2150, 5484, 18, 542, 8199, 12, 6130, 3332, 5484, 8199, 1769, 1082, 202, 2150, 2040, 18, 542, 6207, 12, 5743, 1769, 1082, 202, 2150, 2040, 18, 542, 2040, 12, 2011, 1769, 1082, 202, 2649, 5484, 18, 6741, 12, 3767, 1769, 202, 202, 97, 202, 202, 759, 2405, 326, 883, 202, 202, 759, 4543, 2 ]
changeSupport.firePostChangeEvent(ce); }
changeSupport.firePostChangeEvent(ce); } }
public void destroyTransition(State from, State to) throws IllegalSymbolException, ChangeVetoException { stateAlphabet().validate(from); stateAlphabet().validate(to); FiniteAlphabet f = transitionsFrom(from); FiniteAlphabet t = transitionsTo(to); ChangeEvent ce = new ChangeEvent( this, MarkovModel.ARCHITECTURE, null, new Object[] { from, to } ); if(!f.contains(to)) { throw new ChangeVetoException( ce, "Transition does not exists: " + from.getName() + " -> " + to.getName() ); } Distribution dist = getWeights(from); double w = dist.getWeight(to); if(w != 0.0) { throw new ChangeVetoException( ce, "Can't remove transition as its weight is not zero: " + from.getName() + " -> " + to.getName() + " = " + w ); } synchronized(changeSupport) { changeSupport.firePreChangeEvent(ce); transitionsFrom(from).removeSymbol(to); transitionsTo(to).removeSymbol(from); changeSupport.firePostChangeEvent(ce); } }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/8fed5481857df30b804285a8e6c59f3d4f49d738/SimpleMarkovModel.java/clean/src/org/biojava/bio/dp/SimpleMarkovModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 5546, 8850, 12, 1119, 628, 16, 3287, 358, 13, 225, 1216, 2141, 5335, 503, 16, 7576, 58, 11453, 503, 288, 565, 919, 27316, 7675, 5662, 12, 2080, 1769, 565, 919, 27316, 7675, 5662, 12, 869, 1769, 565, 9458, 1137, 27316, 284, 273, 13136, 1265, 12, 2080, 1769, 565, 9458, 1137, 27316, 268, 273, 13136, 774, 12, 869, 1769, 565, 7576, 1133, 5898, 273, 394, 7576, 1133, 12, 1377, 333, 16, 6622, 1527, 1488, 18, 10586, 1285, 4239, 4830, 16, 1377, 446, 16, 1377, 394, 1033, 8526, 288, 628, 16, 358, 289, 565, 11272, 3639, 309, 12, 5, 74, 18, 12298, 12, 869, 3719, 288, 1377, 604, 394, 7576, 58, 11453, 503, 12, 3639, 5898, 16, 3639, 315, 8850, 1552, 486, 1704, 30, 315, 397, 628, 18, 17994, 1435, 397, 315, 317, 315, 397, 358, 18, 17994, 1435, 1377, 11272, 565, 289, 565, 17547, 2411, 273, 336, 16595, 12, 2080, 1769, 565, 1645, 341, 273, 2411, 18, 588, 6544, 12, 869, 1769, 377, 309, 12, 91, 480, 374, 18, 20, 13, 288, 1377, 604, 394, 7576, 58, 11453, 503, 12, 3639, 5898, 16, 3639, 315, 2568, 1404, 1206, 6007, 487, 2097, 3119, 353, 486, 3634, 30, 315, 397, 3639, 628, 18, 17994, 1435, 397, 315, 317, 315, 397, 358, 18, 17994, 1435, 397, 315, 273, 315, 397, 341, 1377, 11272, 565, 289, 565, 3852, 12, 3427, 6289, 13, 288, 1377, 2549, 6289, 18, 12179, 1386, 20930, 12, 311, 1769, 1377, 13136, 1265, 12, 2080, 2934, 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, 5546, 8850, 12, 1119, 628, 16, 3287, 358, 13, 225, 1216, 2141, 5335, 503, 16, 7576, 58, 11453, 503, 288, 565, 919, 27316, 7675, 5662, 12, 2080, 1769, 565, 919, 27316, 7675, 5662, 12, 869, 1769, 565, 9458, 1137, 27316, 284, 273, 13136, 1265, 12, 2080, 1769, 565, 9458, 1137, 27316, 268, 273, 13136, 774, 12, 869, 1769, 565, 7576, 1133, 5898, 273, 394, 7576, 1133, 12, 1377, 333, 16, 6622, 1527, 1488, 18, 10586, 1285, 4239, 4830, 16, 1377, 446, 16, 1377, 394, 1033, 8526, 288, 628, 16, 358, 289, 565, 11272, 3639, 309, 12, 5, 74, 18, 12298, 12, 869, 3719, 288, 1377, 604, 394, 7576, 58, 11453, 503, 12, 3639, 5898, 16, 3639, 2 ]
if(value.length() < 1) return null;
public String strippedValue() { String value=(String)valueForBinding("value"); StringTokenizer tokenizer = new StringTokenizer(value, "<", false); if(value.length() < 1) return null; int token = value.charAt(0) == '<' ? 0 : 1; String nextPart = null; StringBuffer result = new StringBuffer(); int l=length(); int currentLength = result.length(); while (tokenizer.hasMoreTokens() && currentLength < l && currentLength < value.length()) { if(token == 0) nextPart = tokenizer.nextToken(">"); else { nextPart = tokenizer.nextToken("<"); if(nextPart.length() > 0 && nextPart.charAt(0) == '>') nextPart = nextPart.substring(1); } if (nextPart != null && token != 0) { result.append(nextPart); currentLength += nextPart.length(); } token = 1 - token; } return result.toString(); }
22541 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22541/c738585f3d8b446f12a268eb803a2c286cf41b84/ERXFixedLengthString.java/clean/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXFixedLengthString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 13300, 620, 1435, 288, 3639, 514, 460, 28657, 780, 13, 1132, 1290, 5250, 2932, 1132, 8863, 3639, 16370, 10123, 273, 394, 16370, 12, 1132, 16, 3532, 3113, 629, 1769, 3639, 309, 12, 1132, 18, 2469, 1435, 411, 404, 13, 5411, 327, 446, 31, 3639, 509, 1147, 273, 460, 18, 3001, 861, 12, 20, 13, 422, 9138, 692, 374, 294, 404, 31, 3639, 514, 1024, 1988, 273, 446, 31, 3639, 6674, 563, 273, 394, 6674, 5621, 3639, 509, 328, 33, 2469, 5621, 3639, 509, 783, 1782, 273, 563, 18, 2469, 5621, 3639, 1323, 261, 2316, 1824, 18, 5332, 7417, 5157, 1435, 597, 783, 1782, 411, 328, 597, 783, 1782, 411, 460, 18, 2469, 10756, 288, 5411, 309, 12, 2316, 422, 374, 13, 7734, 1024, 1988, 273, 10123, 18, 4285, 1345, 2932, 2984, 1769, 5411, 469, 288, 7734, 1024, 1988, 273, 10123, 18, 4285, 1345, 2932, 32, 8863, 7734, 309, 12, 4285, 1988, 18, 2469, 1435, 405, 374, 225, 597, 1024, 1988, 18, 3001, 861, 12, 20, 13, 422, 7481, 13, 10792, 1024, 1988, 273, 1024, 1988, 18, 28023, 12, 21, 1769, 5411, 289, 5411, 309, 261, 4285, 1988, 480, 446, 597, 1147, 480, 374, 13, 288, 7734, 563, 18, 6923, 12, 4285, 1988, 1769, 7734, 783, 1782, 1011, 1024, 1988, 18, 2469, 5621, 5411, 289, 5411, 1147, 273, 404, 300, 1147, 31, 3639, 289, 3639, 327, 563, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 13300, 620, 1435, 288, 3639, 514, 460, 28657, 780, 13, 1132, 1290, 5250, 2932, 1132, 8863, 3639, 16370, 10123, 273, 394, 16370, 12, 1132, 16, 3532, 3113, 629, 1769, 3639, 309, 12, 1132, 18, 2469, 1435, 411, 404, 13, 5411, 327, 446, 31, 3639, 509, 1147, 273, 460, 18, 3001, 861, 12, 20, 13, 422, 9138, 692, 374, 294, 404, 31, 3639, 514, 1024, 1988, 273, 446, 31, 3639, 6674, 563, 273, 394, 6674, 5621, 3639, 509, 328, 33, 2469, 5621, 3639, 509, 783, 1782, 273, 563, 18, 2469, 5621, 3639, 1323, 261, 2316, 1824, 18, 5332, 7417, 5157, 1435, 597, 783, 1782, 411, 328, 597, 783, 1782, 411, 460, 18, 2469, 10756, 288, 5411, 309, 2 ]
if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable());
if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable());
public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2029, 1610, 907, 3876, 12, 39, 1957, 907, 1278, 620, 13, 288, 202, 202, 907, 1610, 273, 394, 5468, 907, 12, 2011, 16, 1278, 620, 18, 14056, 39, 1957, 907, 9334, 6927, 907, 10663, 202, 202, 430, 261, 588, 1388, 1435, 480, 446, 13, 288, 1082, 202, 682, 394, 1388, 273, 394, 2407, 12, 588, 1388, 7675, 1467, 10663, 1082, 202, 2704, 1388, 18, 1289, 1595, 12, 588, 1388, 10663, 1082, 202, 3530, 18, 542, 1388, 12, 2704, 1388, 1769, 202, 202, 97, 202, 202, 2463, 1610, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2029, 1610, 907, 3876, 12, 39, 1957, 907, 1278, 620, 13, 288, 202, 202, 907, 1610, 273, 394, 5468, 907, 12, 2011, 16, 1278, 620, 18, 14056, 39, 1957, 907, 9334, 6927, 907, 10663, 202, 202, 430, 261, 588, 1388, 1435, 480, 446, 13, 288, 1082, 202, 682, 394, 1388, 273, 394, 2407, 12, 588, 1388, 7675, 1467, 10663, 1082, 202, 2704, 1388, 18, 1289, 1595, 12, 588, 1388, 10663, 1082, 202, 3530, 18, 542, 1388, 12, 2704, 1388, 1769, 202, 202, 97, 202, 202, 2463, 1610, 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 ]
_newMessageCount = newMessageCount;
_unreadMessageCount = unreadMessageCount;
public MailFolder(String name, long messageCount, long newMessageCount) { _name = name; _messageCount = messageCount; _newMessageCount = newMessageCount; }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f50c5dcd24e306757713c78cc720dbf902448ba3/MailFolder.java/buggy/portal-ejb/src/com/liferay/portlet/mail/model/MailFolder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11542, 3899, 12, 780, 508, 16, 1525, 883, 1380, 16, 1525, 394, 1079, 1380, 13, 288, 202, 202, 67, 529, 273, 508, 31, 202, 202, 67, 2150, 1380, 273, 883, 1380, 31, 202, 202, 67, 2704, 1079, 1380, 273, 394, 1079, 1380, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11542, 3899, 12, 780, 508, 16, 1525, 883, 1380, 16, 1525, 394, 1079, 1380, 13, 288, 202, 202, 67, 529, 273, 508, 31, 202, 202, 67, 2150, 1380, 273, 883, 1380, 31, 202, 202, 67, 2704, 1079, 1380, 273, 394, 1079, 1380, 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 ]
if (_isInvalid) throw new IllegalStateException();
if (_invalid) throw new IllegalStateException();
public String[] getValueNames() { if (_isInvalid) throw new IllegalStateException(); throw new RuntimeException( "getValueNames not implemented" ); }
5961 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5961/b42bb13df24d8e282a9f911f7835ec7662de0bab/ServletUnitHttpSession.java/buggy/src/com/meterware/servletunit/ServletUnitHttpSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 2366, 1557, 1435, 288, 3639, 309, 261, 67, 5387, 13, 604, 394, 5477, 5621, 3639, 604, 394, 3235, 12, 315, 24805, 1557, 486, 8249, 6, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 2366, 1557, 1435, 288, 3639, 309, 261, 67, 5387, 13, 604, 394, 5477, 5621, 3639, 604, 394, 3235, 12, 315, 24805, 1557, 486, 8249, 6, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void processFaultToEPR(Options messageContextOptions, SOAPEnvelope envelope, OMNamespace addressingNamespaceObject) {
private void processFaultToEPR(Options messageContextOptions, SOAPEnvelope envelope, OMNamespace addressingNamespaceObject, String namespace) {
private void processFaultToEPR(Options messageContextOptions, SOAPEnvelope envelope, OMNamespace addressingNamespaceObject) { EndpointReference epr; epr = messageContextOptions.getFaultTo(); if (epr != null) {//optional addToSOAPHeader(epr, AddressingConstants.WSA_FAULT_TO, envelope, addressingNamespaceObject); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/ce2f3c98dad10104d03dfc73395c1281182a3945/AddressingOutHandler.java/clean/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 7083, 774, 41, 8025, 12, 1320, 883, 1042, 1320, 16, 16434, 10862, 9045, 16, 28839, 3402, 1758, 310, 3402, 921, 16, 514, 1981, 13, 288, 3639, 6961, 2404, 425, 683, 31, 3639, 425, 683, 273, 883, 1042, 1320, 18, 588, 7083, 774, 5621, 3639, 309, 261, 73, 683, 480, 446, 13, 288, 759, 10444, 5411, 9604, 27952, 1864, 12, 73, 683, 16, 5267, 310, 2918, 18, 2651, 37, 67, 2636, 67, 4296, 16, 9045, 16, 1758, 310, 3402, 921, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 7083, 774, 41, 8025, 12, 1320, 883, 1042, 1320, 16, 16434, 10862, 9045, 16, 28839, 3402, 1758, 310, 3402, 921, 16, 514, 1981, 13, 288, 3639, 6961, 2404, 425, 683, 31, 3639, 425, 683, 273, 883, 1042, 1320, 18, 588, 7083, 774, 5621, 3639, 309, 261, 73, 683, 480, 446, 13, 288, 759, 10444, 5411, 9604, 27952, 1864, 12, 73, 683, 16, 5267, 310, 2918, 18, 2651, 37, 67, 2636, 67, 4296, 16, 9045, 16, 1758, 310, 3402, 921, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.folderName = folderName;
this.folderName = folderName;
public PublishLibraryWizard(LibraryHandle handle ,String fileName, String folderName) { setWindowTitle( windowTitle ); this.fileName = fileName; this.folderName = folderName; this.handle = handle; this.filePath = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .getFileName( ); type = HAVE_HANDLE; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/4c119a1050d684d55ed1b33be4933a9564966b7c/PublishLibraryWizard.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/wizards/PublishLibraryWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9761, 9313, 27130, 12, 9313, 3259, 1640, 269, 780, 3968, 16, 514, 31814, 13, 202, 95, 202, 202, 542, 3829, 4247, 12, 2742, 4247, 11272, 202, 202, 2211, 18, 17812, 273, 3968, 31, 202, 202, 2211, 18, 5609, 461, 273, 31814, 31, 9506, 202, 2211, 18, 4110, 273, 1640, 31, 202, 202, 2211, 18, 22787, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 202, 202, 18, 588, 4820, 15478, 3259, 12, 262, 202, 202, 18, 588, 4771, 12, 11272, 202, 202, 723, 273, 21926, 3412, 67, 23056, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9761, 9313, 27130, 12, 9313, 3259, 1640, 269, 780, 3968, 16, 514, 31814, 13, 202, 95, 202, 202, 542, 3829, 4247, 12, 2742, 4247, 11272, 202, 202, 2211, 18, 17812, 273, 3968, 31, 202, 202, 2211, 18, 5609, 461, 273, 31814, 31, 9506, 202, 2211, 18, 4110, 273, 1640, 31, 202, 202, 2211, 18, 22787, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 202, 202, 18, 588, 4820, 15478, 3259, 12, 262, 202, 202, 18, 588, 4771, 12, 11272, 202, 202, 723, 273, 21926, 3412, 67, 23056, 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 ]
IConfigurationElement configElement = (IConfigurationElement) iciToConfigElementMap.get(item);
IConfigurationElement configElement = (IConfigurationElement) iciToConfigElementMap .get(item);
public Expression getVisibleWhenForItem(IContributionItem item) { IConfigurationElement configElement = (IConfigurationElement) iciToConfigElementMap.get(item); if (configElement == null) return null; if (!visWhenMap.containsKey(configElement)) { // Not parsed yet try { IConfigurationElement[] visibleConfig = configElement .getChildren(IWorkbenchRegistryConstants.TAG_VISIBLE_WHEN); if (visibleConfig.length > 0 && visibleConfig.length < 2) { IConfigurationElement[] visibleChild = visibleConfig[0] .getChildren(); if (visibleChild.length > 0) { Expression visWhen = ExpressionConverter.getDefault() .perform(visibleChild[0]); visWhenMap.put(configElement, visWhen); } } } catch (InvalidRegistryObjectException e) { visWhenMap.put(configElement, null); // TODO Auto-generated catch block e.printStackTrace(); } catch (CoreException e) { visWhenMap.put(configElement, null); // TODO Auto-generated catch block e.printStackTrace(); } } return (Expression) visWhenMap.get(configElement); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/7708c9aa128d7f727df6c085dc73634c29372cac/MenuAdditionCacheEntry.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/MenuAdditionCacheEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5371, 31564, 9434, 1290, 1180, 12, 45, 442, 4027, 1180, 761, 13, 288, 202, 202, 45, 1750, 1046, 642, 1046, 273, 261, 45, 1750, 1046, 13, 277, 8450, 774, 809, 1046, 863, 18, 588, 12, 1726, 1769, 202, 202, 430, 261, 1425, 1046, 422, 446, 13, 1082, 202, 2463, 446, 31, 9506, 202, 430, 16051, 3516, 9434, 863, 18, 12298, 653, 12, 1425, 1046, 3719, 288, 1082, 202, 759, 2288, 2707, 4671, 1082, 202, 698, 288, 9506, 202, 45, 1750, 1046, 8526, 6021, 809, 273, 642, 1046, 25083, 202, 18, 588, 4212, 12, 45, 2421, 22144, 4243, 2918, 18, 7927, 67, 29588, 67, 12557, 1157, 1769, 9506, 202, 430, 261, 8613, 809, 18, 2469, 405, 374, 597, 6021, 809, 18, 2469, 411, 576, 13, 288, 6862, 202, 45, 1750, 1046, 8526, 6021, 1763, 273, 6021, 809, 63, 20, 65, 6862, 1082, 202, 18, 588, 4212, 5621, 6862, 202, 430, 261, 8613, 1763, 18, 2469, 405, 374, 13, 288, 25083, 202, 2300, 2281, 9434, 273, 5371, 5072, 18, 588, 1868, 1435, 6862, 9506, 202, 18, 16092, 12, 8613, 1763, 63, 20, 19226, 25083, 202, 3516, 9434, 863, 18, 458, 12, 1425, 1046, 16, 2281, 9434, 1769, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 1044, 261, 1941, 4243, 921, 503, 425, 13, 288, 9506, 202, 3516, 9434, 863, 18, 458, 12, 1425, 1046, 16, 446, 1769, 9506, 202, 759, 2660, 8064, 17, 11168, 1044, 1203, 9506, 202, 73, 18, 1188, 6332, 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, 5371, 31564, 9434, 1290, 1180, 12, 45, 442, 4027, 1180, 761, 13, 288, 202, 202, 45, 1750, 1046, 642, 1046, 273, 261, 45, 1750, 1046, 13, 277, 8450, 774, 809, 1046, 863, 18, 588, 12, 1726, 1769, 202, 202, 430, 261, 1425, 1046, 422, 446, 13, 1082, 202, 2463, 446, 31, 9506, 202, 430, 16051, 3516, 9434, 863, 18, 12298, 653, 12, 1425, 1046, 3719, 288, 1082, 202, 759, 2288, 2707, 4671, 1082, 202, 698, 288, 9506, 202, 45, 1750, 1046, 8526, 6021, 809, 273, 642, 1046, 25083, 202, 18, 588, 4212, 12, 45, 2421, 22144, 4243, 2918, 18, 7927, 67, 29588, 67, 12557, 1157, 1769, 9506, 202, 430, 261, 8613, 809, 18, 2469, 405, 374, 2 ]
int jdbcType) throws SQLException { ps.setBigDecimal(index, (BigDecimal) value); return 1; }
int jdbcType) throws SQLException { ps.setBigDecimal(index, (BigDecimal) value); return 1; }
public int bindValue(PreparedStatement ps, int index, Object value, int jdbcType) throws SQLException { ps.setBigDecimal(index, (BigDecimal) value); return 1; }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/558097820abc0198518796cedde797658cda9a5e/MetadataRoot.java/buggy/archive/core-platform/src/com/arsdigita/persistence/metadata/MetadataRoot.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 509, 11380, 12, 29325, 4250, 16, 509, 770, 16, 1033, 460, 16, 11794, 509, 16579, 559, 13, 1216, 6483, 288, 7734, 4250, 18, 542, 29436, 12, 1615, 16, 261, 29436, 13, 460, 1769, 7734, 327, 404, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 509, 11380, 12, 29325, 4250, 16, 509, 770, 16, 1033, 460, 16, 11794, 509, 16579, 559, 13, 1216, 6483, 288, 7734, 4250, 18, 542, 29436, 12, 1615, 16, 261, 29436, 13, 460, 1769, 7734, 327, 404, 31, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void openConnection(String host, int port, Properties info, String database, String url, Driver d) throws SQLException { // Throw an exception if the user or password properties are missing // This occasionally occurs when the client uses the properties version // of getConnection(), and is a common question on the email lists if(info.getProperty("user")==null) throw new PSQLException("postgresql.con.user"); if(info.getProperty("password")==null) throw new PSQLException("postgresql.con.pass"); this_driver = d; this_url = url; PG_DATABASE = database; PG_PASSWORD = info.getProperty("password"); PG_USER = info.getProperty("user"); PG_PORT = port; PG_HOST = host; PG_STATUS = CONNECTION_BAD; // Now make the initial connection try { pg_stream = new PG_Stream(host, port); } catch (ConnectException cex) { // Added by Peter Mount <peter@retep.org.uk> // ConnectException is thrown when the connection cannot be made. // we trap this an return a more meaningful message for the end user throw new PSQLException ("postgresql.con.refused"); } catch (IOException e) { throw new PSQLException ("postgresql.con.failed",e); } // Now we need to construct and send a startup packet try { // Ver 6.3 code pg_stream.SendInteger(4+4+SM_DATABASE+SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY,4); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MAJOR,2); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MINOR,2); pg_stream.Send(database.getBytes(),SM_DATABASE); // This last send includes the unused fields pg_stream.Send(PG_USER.getBytes(),SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY); // now flush the startup packets to the backend pg_stream.flush(); // Now get the response from the backend, either an error message // or an authentication request int areq = -1; // must have a value here do { int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // throw new SQLException(pg_stream.ReceiveString (receive_sbuf, 4096, getEncoding())); case 'R': // Get the type of request areq = pg_stream.ReceiveIntegerR(4); // Get the password salt if there is one if(areq == AUTH_REQ_CRYPT) { byte[] rst = new byte[2]; rst[0] = (byte)pg_stream.ReceiveChar(); rst[1] = (byte)pg_stream.ReceiveChar(); salt = new String(rst,0,2); DriverManager.println("Salt="+salt); } // now send the auth packet switch(areq) { case AUTH_REQ_OK: break; case AUTH_REQ_KRB4: DriverManager.println("postgresql: KRB4"); throw new PSQLException("postgresql.con.kerb4"); case AUTH_REQ_KRB5: DriverManager.println("postgresql: KRB5"); throw new PSQLException("postgresql.con.kerb5"); case AUTH_REQ_PASSWORD: DriverManager.println("postgresql: PASSWORD"); pg_stream.SendInteger(5+PG_PASSWORD.length(),4); pg_stream.Send(PG_PASSWORD.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; case AUTH_REQ_CRYPT: DriverManager.println("postgresql: CRYPT"); String crypted = UnixCrypt.crypt(salt,PG_PASSWORD); pg_stream.SendInteger(5+crypted.length(),4); pg_stream.Send(crypted.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; default: throw new PSQLException("postgresql.con.auth",new Integer(areq)); } break; default: throw new PSQLException("postgresql.con.authfail"); } } while(areq != AUTH_REQ_OK); } catch (IOException e) { throw new PSQLException("postgresql.con.failed",e); } // As of protocol version 2.0, we should now receive the cancellation key and the pid int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'K': pid = pg_stream.ReceiveInteger(4); ckey = pg_stream.ReceiveInteger(4); break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString (receive_sbuf, 4096, getEncoding())); default: throw new PSQLException("postgresql.con.setup"); } // Expect ReadyForQuery packet beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'Z': break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString(receive_sbuf, 4096, getEncoding())); default: throw new PSQLException("postgresql.con.setup"); } // Originally we issued a SHOW DATESTYLE statement to find the databases default // datestyle. However, this caused some problems with timestamps, so in 6.5, we // went the way of ODBC, and set the connection to ISO. // // This may cause some clients to break when they assume anything other than ISO, // but then - they should be using the proper methods ;-) // // We also ask the DB for certain properties (i.e. DatabaseEncoding at this time) // firstWarning = null; java.sql.ResultSet initrset = ExecSQL("set datestyle to 'ISO'; select getdatabaseencoding()"); String dbEncoding = null; //retrieve DB properties if(initrset.next()) { //handle DatabaseEncoding dbEncoding = initrset.getString(1); //convert from the PostgreSQL name to the Java name if (dbEncoding.equals("SQL_ASCII")) { dbEncoding = "ASCII"; } else if (dbEncoding.equals("UNICODE")) { dbEncoding = "UTF8"; } else if (dbEncoding.equals("LATIN1")) { dbEncoding = "ISO8859_1"; } else if (dbEncoding.equals("LATIN2")) { dbEncoding = "ISO8859_2"; } else if (dbEncoding.equals("LATIN3")) { dbEncoding = "ISO8859_3"; } else if (dbEncoding.equals("LATIN4")) { dbEncoding = "ISO8859_4"; } else if (dbEncoding.equals("LATIN5")) { dbEncoding = "ISO8859_5"; } else if (dbEncoding.equals("LATIN6")) { dbEncoding = "ISO8859_6"; } else if (dbEncoding.equals("LATIN7")) { dbEncoding = "ISO8859_7"; } else if (dbEncoding.equals("LATIN8")) { dbEncoding = "ISO8859_8"; } else if (dbEncoding.equals("LATIN9")) { dbEncoding = "ISO8859_9"; } else if (dbEncoding.equals("EUC_JP")) { dbEncoding = "EUC_JP"; } else if (dbEncoding.equals("EUC_CN")) { dbEncoding = "EUC_CN"; } else if (dbEncoding.equals("EUC_KR")) { dbEncoding = "EUC_KR"; } else if (dbEncoding.equals("EUC_TW")) { dbEncoding = "EUC_TW"; } else if (dbEncoding.equals("KOI8")) { dbEncoding = "KOI8_R"; } else if (dbEncoding.equals("WIN")) { dbEncoding = "Cp1252"; } else { dbEncoding = null; } } //Set the encoding for this connection //Since the encoding could be specified or obtained from the DB we use the //following order: // 1. passed as a property // 2. value from DB if supported by current JVM // 3. default for JVM (leave encoding null) String passedEncoding = info.getProperty("charSet"); // could be null if (passedEncoding != null) { encoding = passedEncoding; } else { if (dbEncoding != null) { //test DB encoding try { "TEST".getBytes(dbEncoding); //no error the encoding is supported by the current JVM encoding = dbEncoding; } catch (UnsupportedEncodingException uee) { //dbEncoding is not supported by the current JVM encoding = null; } } else { encoding = null; } } // Initialise object handling initObjectTypes(); // Mark the connection as ok, and cleanup firstWarning = null; PG_STATUS = CONNECTION_OK; }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/45b5d792afa60ae24d57cdceaaec0e03cf6abb2a/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24982, 12, 780, 1479, 16, 509, 1756, 16, 6183, 1123, 16, 514, 2063, 16, 514, 880, 16, 9396, 302, 13, 1216, 6483, 565, 288, 565, 368, 3743, 392, 1520, 309, 326, 729, 578, 2201, 1790, 854, 3315, 565, 368, 1220, 9145, 345, 285, 1230, 9938, 1347, 326, 1004, 4692, 326, 1790, 1177, 565, 368, 434, 6742, 9334, 471, 353, 279, 2975, 5073, 603, 326, 2699, 6035, 565, 309, 12, 1376, 18, 588, 1396, 2932, 1355, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 1355, 8863, 565, 309, 12, 1376, 18, 588, 1396, 2932, 3664, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 5466, 8863, 3639, 333, 67, 7407, 273, 302, 31, 565, 333, 67, 718, 273, 880, 31, 565, 22116, 67, 22366, 273, 2063, 31, 565, 22116, 67, 13784, 273, 1123, 18, 588, 1396, 2932, 3664, 8863, 565, 22116, 67, 4714, 273, 1123, 18, 588, 1396, 2932, 1355, 8863, 565, 22116, 67, 6354, 273, 1756, 31, 565, 22116, 67, 8908, 273, 1479, 31, 565, 22116, 67, 8608, 273, 20695, 67, 16234, 31, 565, 368, 4494, 1221, 326, 2172, 1459, 565, 775, 1377, 288, 202, 8365, 67, 3256, 273, 394, 22116, 67, 1228, 12, 2564, 16, 1756, 1769, 1377, 289, 1044, 261, 5215, 503, 276, 338, 13, 288, 202, 759, 25808, 635, 453, 847, 13076, 411, 84, 847, 36, 266, 736, 84, 18, 3341, 18, 19445, 34, 202, 759, 8289, 503, 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, 24982, 12, 780, 1479, 16, 509, 1756, 16, 6183, 1123, 16, 514, 2063, 16, 514, 880, 16, 9396, 302, 13, 1216, 6483, 565, 288, 565, 368, 3743, 392, 1520, 309, 326, 729, 578, 2201, 1790, 854, 3315, 565, 368, 1220, 9145, 345, 285, 1230, 9938, 1347, 326, 1004, 4692, 326, 1790, 1177, 565, 368, 434, 6742, 9334, 471, 353, 279, 2975, 5073, 603, 326, 2699, 6035, 565, 309, 12, 1376, 18, 588, 1396, 2932, 1355, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 1355, 8863, 565, 309, 12, 1376, 18, 588, 1396, 2932, 3664, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 2 ]
if (path.indexOf("/currencies") >= 0 && path.endsWith("/symbol")) { checkCurrencyFormats(path, fullPath, value, result); }
public CheckCLDR handleCheck(String path, String fullPath, String value, Map options, List result) { if (path.indexOf("/currencyMatch") >= 0) { try { UnicodeSet s = new UnicodeSet(value); } catch (Exception e) { CheckStatus item = new CheckStatus().setCause(this).setType(CheckStatus.errorType) .setMessage("Error in creating UnicodeSet {0}; {1}; {2}", new Object[]{value, e.getClass().getName(), e}); result.add(item); } return this; } if (path.indexOf("/numbers") < 0) return this; try { if (path.indexOf("/pattern") >= 0 && path.indexOf("/patternDigit") < 0) { checkPattern(path, fullPath, value, result); } if (path.indexOf("/currencies") >= 0 && path.endsWith("/symbol")) { checkCurrencyFormats(path, fullPath, value, result); } byte type = getNumericType(path); if (type != NOT_NUMERIC_TYPE) { String pattern = getCanonicalPattern(value, type, isPOSIX); if (!pattern.equals(value)) { result.add(new CheckStatus() .setCause(this).setType(CheckStatus.errorType) .setMessage("Value should be \u200E{0}\u200E", new Object[]{pattern})); } } } catch (Exception e) { CheckStatus item = new CheckStatus().setCause(this).setType(CheckStatus.errorType) .setMessage("Error in creating number format {0}; {1}", new Object[]{e.getClass().getName(), e}); result.add(item); } return this; }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/87c7dce2b987a3b6a1b5317d8fc2f137907406ec/CheckNumbers.java/buggy/tools/java/org/unicode/cldr/test/CheckNumbers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2073, 5017, 6331, 1640, 1564, 12, 780, 589, 16, 514, 11225, 16, 514, 460, 16, 1635, 702, 16, 987, 563, 13, 288, 3639, 309, 261, 803, 18, 31806, 2932, 19, 7095, 2060, 7923, 1545, 374, 13, 288, 5411, 775, 288, 7734, 9633, 694, 272, 273, 394, 9633, 694, 12, 1132, 1769, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 2073, 1482, 761, 273, 394, 2073, 1482, 7675, 542, 10683, 12, 2211, 2934, 542, 559, 12, 1564, 1482, 18, 1636, 559, 13, 7734, 263, 542, 1079, 2932, 668, 316, 4979, 9633, 694, 288, 20, 20451, 288, 21, 20451, 288, 22, 1532, 16, 394, 1033, 63, 7073, 1132, 16, 425, 18, 588, 797, 7675, 17994, 9334, 425, 22938, 15604, 563, 18, 1289, 12, 1726, 1769, 5411, 289, 5411, 327, 333, 31, 3639, 289, 3639, 309, 261, 803, 18, 31806, 2932, 19, 13851, 7923, 411, 374, 13, 327, 333, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 803, 18, 31806, 2932, 19, 4951, 7923, 1545, 374, 597, 589, 18, 31806, 2932, 19, 4951, 10907, 7923, 411, 374, 13, 288, 9506, 202, 1893, 3234, 12, 803, 16, 11225, 16, 460, 16, 563, 1769, 1082, 202, 97, 1082, 202, 430, 261, 803, 18, 31806, 2932, 19, 1397, 14695, 7923, 1545, 374, 597, 589, 18, 5839, 1190, 2932, 19, 7175, 6, 3719, 288, 9506, 202, 1893, 7623, 8976, 12, 803, 16, 11225, 16, 460, 16, 563, 1769, 1082, 202, 97, 25083, 202, 7229, 618, 273, 336, 9902, 559, 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, 2073, 5017, 6331, 1640, 1564, 12, 780, 589, 16, 514, 11225, 16, 514, 460, 16, 1635, 702, 16, 987, 563, 13, 288, 3639, 309, 261, 803, 18, 31806, 2932, 19, 7095, 2060, 7923, 1545, 374, 13, 288, 5411, 775, 288, 7734, 9633, 694, 272, 273, 394, 9633, 694, 12, 1132, 1769, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 2073, 1482, 761, 273, 394, 2073, 1482, 7675, 542, 10683, 12, 2211, 2934, 542, 559, 12, 1564, 1482, 18, 1636, 559, 13, 7734, 263, 542, 1079, 2932, 668, 316, 4979, 9633, 694, 288, 20, 20451, 288, 21, 20451, 288, 22, 1532, 16, 394, 1033, 63, 7073, 1132, 16, 425, 18, 588, 797, 7675, 17994, 9334, 425, 2 ]
else buffer.setBooleanProperty(ERROR_OCCURRED,true); if(!twoStageSave) VFSManager.sendVFSUpdate(vfs,path,true);
finally { buffer.readUnlock(); }
public void run() { OutputStream out = null; boolean vfsRenameCap = (vfs.getCapabilities() & VFS.RENAME_CAP) != 0; boolean overwriteReadOnly = buffer.getBooleanProperty("overwriteReadonly"); /* if the VFS supports renaming files, we first * save to #<filename>#save#, then rename that * to <filename>, so that if the save fails, * data will not be lost. * * as of 4.1pre7 we now call vfs.getTwoStageSaveName() * instead of constructing the path directly * since some VFS's might not allow # in filenames. */ boolean twoStageSave = overwriteReadOnly || (vfsRenameCap && jEdit.getBooleanProperty("twoStageSave")); try { String[] args = { vfs.getFileName(path) }; setStatus(jEdit.getProperty("vfs.status.save",args)); // the entire save operation can be aborted... setAbortable(true); path = vfs._canonPath(session,path,view); if(!MiscUtilities.isURL(path)) path = MiscUtilities.resolveSymlinks(path); // Only backup once per session if(buffer.getProperty(Buffer.BACKED_UP) == null || jEdit.getBooleanProperty("backupEverySave")) { vfs._backup(session,path,view); buffer.setBooleanProperty(Buffer.BACKED_UP,true); } String savePath; if(twoStageSave) { savePath = vfs.getTwoStageSaveName(path); if (savePath == null) { twoStageSave = false; savePath = path; } } else savePath = path; out = vfs._createOutputStream(session,savePath,view); try { // this must be after the stream is created or // we deadlock with SSHTools. buffer.readLock(); if(out != null) { // Can't use buffer.getName() here because // it is not changed until the save is // complete if(path.endsWith(".gz")) buffer.setBooleanProperty(Buffer.GZIPPED,true); else if (buffer.getName().endsWith(".gz")) { // The path do not ends with gz. // The buffer name was .gz. // So it means it's blabla.txt.gz -> blabla.txt, I remove // the gz property buffer.setBooleanProperty(Buffer.GZIPPED, false); } if(buffer.getBooleanProperty(Buffer.GZIPPED)) out = new GZIPOutputStream(out); write(buffer,out); if(twoStageSave) { if(!vfs._rename(session,savePath,path,view)) throw new IOException("Rename failed: " + savePath); } } else buffer.setBooleanProperty(ERROR_OCCURRED,true); if(!twoStageSave) VFSManager.sendVFSUpdate(vfs,path,true); } finally { buffer.readUnlock(); } } catch(IOException io) { Log.log(Log.ERROR,this,io); String[] pp = { io.toString() }; VFSManager.error(view,path,"ioerror.write-error",pp); buffer.setBooleanProperty(ERROR_OCCURRED,true); } catch(WorkThread.Abort a) { IOUtilities.closeQuietly(out); buffer.setBooleanProperty(ERROR_OCCURRED,true); } finally { try { vfs._saveComplete(session,buffer,path,view); if( twoStageSave ) { vfs._finishTwoStageSave(session,buffer,path,view); } // clean up left-over markers file if(!jEdit.getBooleanProperty("persistentMarkers")) vfs._delete(session,buffer.getMarkersPath(vfs),view); vfs._endVFSSession(session,view); } catch(IOException io) { Log.log(Log.ERROR,this,io); String[] pp = { io.toString() }; VFSManager.error(view,path,"ioerror.write-error",pp); buffer.setBooleanProperty(ERROR_OCCURRED,true); } catch(WorkThread.Abort a) { buffer.setBooleanProperty(ERROR_OCCURRED,true); } } } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/090e73b2604fd0a2e90206f3abdfb1ef65e39699/BufferSaveRequest.java/clean/org/gjt/sp/jedit/bufferio/BufferSaveRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 202, 95, 202, 202, 4632, 596, 273, 446, 31, 202, 202, 6494, 20682, 16019, 4664, 273, 261, 90, 2556, 18, 588, 14012, 1435, 473, 1082, 202, 58, 4931, 18, 862, 1985, 67, 17296, 13, 480, 374, 31, 202, 202, 6494, 6156, 12066, 273, 1613, 18, 588, 5507, 1396, 2932, 19274, 1994, 3700, 8863, 202, 202, 20308, 309, 326, 23567, 6146, 30883, 1390, 16, 732, 1122, 1082, 380, 1923, 358, 468, 32, 3459, 34, 7, 5688, 7, 16, 1508, 6472, 716, 1082, 380, 358, 411, 3459, 20401, 1427, 716, 309, 326, 1923, 6684, 16, 1082, 380, 501, 903, 486, 506, 13557, 18, 1082, 380, 1082, 380, 487, 434, 1059, 18, 21, 1484, 27, 732, 2037, 745, 20682, 18, 588, 11710, 8755, 4755, 461, 1435, 1082, 380, 3560, 434, 27389, 326, 589, 5122, 1082, 380, 3241, 2690, 23567, 1807, 4825, 486, 1699, 468, 316, 9066, 18, 1082, 1195, 202, 202, 6494, 2795, 8755, 4755, 273, 6156, 12066, 747, 1082, 202, 12, 90, 2556, 16019, 4664, 597, 1082, 202, 78, 4666, 18, 588, 5507, 1396, 2932, 15415, 8755, 4755, 7923, 1769, 202, 202, 698, 202, 202, 95, 1082, 202, 780, 8526, 833, 273, 288, 20682, 18, 588, 4771, 12, 803, 13, 289, 31, 1082, 202, 542, 1482, 12, 78, 4666, 18, 588, 1396, 2932, 90, 2556, 18, 2327, 18, 5688, 3113, 1968, 10019, 1082, 202, 759, 326, 7278, 1923, 1674, 848, 506, 18166, 2777, 1082, 202, 542, 13572, 429, 12, 3767, 1769, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 202, 95, 202, 202, 4632, 596, 273, 446, 31, 202, 202, 6494, 20682, 16019, 4664, 273, 261, 90, 2556, 18, 588, 14012, 1435, 473, 1082, 202, 58, 4931, 18, 862, 1985, 67, 17296, 13, 480, 374, 31, 202, 202, 6494, 6156, 12066, 273, 1613, 18, 588, 5507, 1396, 2932, 19274, 1994, 3700, 8863, 202, 202, 20308, 309, 326, 23567, 6146, 30883, 1390, 16, 732, 1122, 1082, 380, 1923, 358, 468, 32, 3459, 34, 7, 5688, 7, 16, 1508, 6472, 716, 1082, 380, 358, 411, 3459, 20401, 1427, 716, 309, 326, 1923, 6684, 16, 1082, 380, 501, 903, 486, 506, 13557, 18, 1082, 380, 1082, 380, 487, 434, 1059, 18, 21, 1484, 27, 732, 2 ]
throws NotImplementedException
public void addPropertyChangeListener(PropertyChangeListener l) throws NotImplementedException { throw new Error("not implemented"); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/030f234365d7fd52f6b14483c6fc238ec6dea29c/JTableHeader.java/clean/javax/swing/table/JTableHeader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 14324, 15744, 12, 1396, 15744, 328, 13, 2398, 288, 3639, 604, 394, 1068, 2932, 902, 8249, 8863, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 14324, 15744, 12, 1396, 15744, 328, 13, 2398, 288, 3639, 604, 394, 1068, 2932, 902, 8249, 8863, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (smallmoney.length != money.length) { throw new SQLException("Must have same number of elements in " + "money and smallmoney"); }
if (smallmoney.length != money.length) { throw new SQLException("Must have same number of elements in " + "money and smallmoney"); }
public void testMoneyHandling0019() throws Exception { java.sql.Statement stmt = null; BigDecimal tmp1 = null; BigDecimal tmp2 = null; int i; BigDecimal money[] = { new BigDecimal("922337203685477.5807"), new BigDecimal("-922337203685477.5807"), new BigDecimal("1.0000"), new BigDecimal("0.0000"), new BigDecimal("-1.0000") }; BigDecimal smallmoney[] = { new BigDecimal("214748.3647"), new BigDecimal("-214748.3648"), new BigDecimal("1.0000"), new BigDecimal("0.0000"), new BigDecimal("-1.0000") }; if (smallmoney.length != money.length) { throw new SQLException("Must have same number of elements in " + "money and smallmoney"); } stmt = con.createStatement(); dropTable("#t0019"); stmt.executeUpdate("create table #t0019 ( " + " i integer primary key, " + " mymoney money not null, " + " mysmallmoney smallmoney not null) " + ""); for(i=0; i<money.length; i++) { stmt.executeUpdate("insert into #t0019 values (" + i + ", " + money[i] + ", " + smallmoney[i] + ") "); } // long l = System.currentTimeMillis(); // while (l + 500 > System.currentTimeMillis()) ; ResultSet rs = stmt.executeQuery("select * from #t0019 order by i"); for(i=0; rs.next(); i++) { BigDecimal m; BigDecimal sm; m = (BigDecimal)rs.getObject("mymoney"); sm = (BigDecimal)rs.getObject("mysmallmoney"); assertEquals(m, money[i]); assertEquals(sm, smallmoney[i]); output.println(m + ", " + sm); } }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/662fbbf0e5f04956f22a56e58dae82d6c816a2c6/CSUnitTest.java/buggy/src/test/net/sourceforge/jtds/test/CSUnitTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 23091, 14701, 713, 3657, 1435, 1216, 1185, 288, 565, 2252, 18, 4669, 18, 3406, 225, 3480, 282, 273, 446, 31, 565, 8150, 1850, 1853, 21, 282, 273, 446, 31, 565, 8150, 1850, 1853, 22, 282, 273, 446, 31, 565, 509, 1171, 277, 31, 565, 8150, 1850, 15601, 8526, 273, 288, 1377, 394, 8150, 2932, 29, 3787, 3707, 27, 3462, 5718, 28, 6564, 4700, 18, 25, 3672, 27, 6, 3631, 1377, 394, 8150, 2932, 17, 29, 3787, 3707, 27, 3462, 5718, 28, 6564, 4700, 18, 25, 3672, 27, 6, 3631, 1377, 394, 8150, 2932, 21, 18, 2787, 6, 3631, 1377, 394, 8150, 2932, 20, 18, 2787, 6, 3631, 1377, 394, 8150, 2932, 17, 21, 18, 2787, 7923, 565, 289, 31, 565, 8150, 1850, 5264, 2586, 402, 8526, 273, 288, 1377, 394, 8150, 2932, 22, 3461, 5608, 28, 18, 23, 30792, 6, 3631, 1377, 394, 8150, 2932, 17, 22, 3461, 5608, 28, 18, 23, 27382, 6, 3631, 1377, 394, 8150, 2932, 21, 18, 2787, 6, 3631, 1377, 394, 8150, 2932, 20, 18, 2787, 6, 3631, 1377, 394, 8150, 2932, 17, 21, 18, 2787, 7923, 565, 289, 31, 565, 309, 261, 12019, 2586, 402, 18, 2469, 480, 15601, 18, 2469, 13, 288, 1377, 604, 394, 6483, 2932, 10136, 1240, 1967, 1300, 434, 2186, 316, 315, 397, 1377, 315, 2586, 402, 471, 5264, 2586, 402, 8863, 565, 289, 565, 3480, 273, 356, 18, 2640, 3406, 5621, 565, 3640, 1388, 2932, 7, 88, 713, 3657, 8863, 565, 3480, 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, 23091, 14701, 713, 3657, 1435, 1216, 1185, 288, 565, 2252, 18, 4669, 18, 3406, 225, 3480, 282, 273, 446, 31, 565, 8150, 1850, 1853, 21, 282, 273, 446, 31, 565, 8150, 1850, 1853, 22, 282, 273, 446, 31, 565, 509, 1171, 277, 31, 565, 8150, 1850, 15601, 8526, 273, 288, 1377, 394, 8150, 2932, 29, 3787, 3707, 27, 3462, 5718, 28, 6564, 4700, 18, 25, 3672, 27, 6, 3631, 1377, 394, 8150, 2932, 17, 29, 3787, 3707, 27, 3462, 5718, 28, 6564, 4700, 18, 25, 3672, 27, 6, 3631, 1377, 394, 8150, 2932, 21, 18, 2787, 6, 3631, 1377, 394, 8150, 2932, 20, 18, 2787, 6, 3631, 1377, 394, 8150, 2932, 17, 21, 18, 2787, 2 ]
private void setObjectRects() { if (objIOleInPlaceObject == null) return; // size the object to fill the available space // leave a border Rectangle clientArea = this.getClientArea(); Point clientLocation = this.getLocation(); setExtent(clientArea.width - indent.left - indent.right, clientArea.height - indent.top - indent.bottom); RECT posRect = new RECT(); posRect.left = clientLocation.x + indent.left; posRect.top = clientLocation.y + indent.top; posRect.right = clientLocation.x + clientArea.width - indent.right; posRect.bottom = clientLocation.y + clientArea.height - indent.bottom; RECT clipRect = new RECT(); Rectangle frameArea = frame.getClientArea(); clipRect.left = frameArea.x; clipRect.top = frameArea.y; clipRect.right = frameArea.x + frameArea.width; clipRect.bottom = frameArea.y + frameArea.height; objIOleInPlaceObject.SetObjectRects(posRect, clipRect); }
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/4f54f9a0adbafad7894d71ae55e5d03d9d9890d9/OleClientSite.java/clean/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 542, 921, 6120, 87, 1435, 95, 202, 430, 12, 2603, 4294, 298, 382, 6029, 921, 631, 2011, 13, 2463, 31, 202, 759, 87, 452, 546, 73, 1612, 88, 792, 737, 5787, 842, 671, 1538, 909, 202, 759, 19574, 378, 1019, 202, 19463, 2625, 5484, 33, 2211, 18, 588, 1227, 5484, 5621, 202, 2148, 2625, 2735, 33, 2211, 18, 588, 2735, 5621, 202, 542, 17639, 12, 2625, 5484, 18, 2819, 17, 9355, 18, 4482, 17, 9355, 18, 4083, 16, 2625, 5484, 18, 4210, 17, 9355, 18, 3669, 17, 9355, 18, 9176, 1769, 202, 202, 4512, 917, 6120, 33, 2704, 4512, 5621, 202, 917, 6120, 18, 4482, 33, 2625, 2735, 18, 92, 15, 9355, 18, 4482, 31, 202, 917, 6120, 18, 3669, 33, 2625, 2735, 18, 93, 15, 9355, 18, 3669, 31, 202, 917, 6120, 18, 4083, 33, 2625, 2735, 18, 92, 15, 2625, 5484, 18, 2819, 17, 9355, 18, 4083, 31, 202, 917, 6120, 18, 9176, 33, 2625, 2735, 18, 93, 15, 2625, 5484, 18, 4210, 17, 9355, 18, 9176, 31, 202, 4512, 14161, 6120, 33, 2704, 4512, 5621, 202, 19463, 3789, 5484, 33, 3789, 18, 588, 1227, 5484, 5621, 202, 14161, 6120, 18, 4482, 33, 3789, 5484, 18, 92, 31, 202, 14161, 6120, 18, 3669, 33, 3789, 5484, 18, 93, 31, 202, 14161, 6120, 18, 4083, 33, 3789, 5484, 18, 92, 15, 3789, 5484, 18, 2819, 31, 202, 14161, 6120, 18, 9176, 33, 3789, 5484, 18, 93, 15, 3789, 5484, 18, 4210, 31, 202, 2603, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 542, 921, 6120, 87, 1435, 95, 202, 430, 12, 2603, 4294, 298, 382, 6029, 921, 631, 2011, 13, 2463, 31, 202, 759, 87, 452, 546, 73, 1612, 88, 792, 737, 5787, 842, 671, 1538, 909, 202, 759, 19574, 378, 1019, 202, 19463, 2625, 5484, 33, 2211, 18, 588, 1227, 5484, 5621, 202, 2148, 2625, 2735, 33, 2211, 18, 588, 2735, 5621, 202, 542, 17639, 12, 2625, 5484, 18, 2819, 17, 9355, 18, 4482, 17, 9355, 18, 4083, 16, 2625, 5484, 18, 4210, 17, 9355, 18, 3669, 17, 9355, 18, 9176, 1769, 202, 202, 4512, 917, 6120, 33, 2704, 4512, 5621, 202, 917, 6120, 18, 4482, 33, 2625, 2735, 18, 92, 15, 9355, 18, 4482, 31, 202, 917, 2 ]
hmc = (HibernateMappedClass)InvokerHelper.invokeStaticMethod(className, "get", new Object[] { new Integer(1) });
hmc = (HibernateMappedClass)InvokerHelper.invokeStaticMethod(hmc.getClass(), "get", new Object[] { new Integer(1) });
public void testDynamicMethods() { HibernateMappedClass hmc = new HibernateMappedClass(); hmc.setMyProp("somevalue"); InvokerHelper.invokeMethod(hmc, "save", new Object[0]); String className = hmc.getClass().getName(); hmc = null; hmc = (HibernateMappedClass)InvokerHelper.invokeStaticMethod(className, "get", new Object[] { new Integer(1) }); assertEquals("somevalue", hmc.getMyProp()); }
47932 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47932/eb03468e6d4cb0abf1c146efbdff6e5383a08838/HibernateMappedClassTests.java/buggy/grails/test/persistence/org/codehaus/groovy/grails/orm/hibernate/HibernateMappedClassTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9791, 4712, 1435, 288, 202, 202, 44, 24360, 12868, 797, 366, 13952, 273, 394, 670, 24360, 12868, 797, 5621, 202, 202, 76, 13952, 18, 542, 12062, 4658, 2932, 19068, 1132, 8863, 202, 202, 24455, 2276, 18, 14407, 1305, 12, 76, 13952, 16, 315, 5688, 3113, 394, 1033, 63, 20, 19226, 202, 202, 780, 2658, 273, 366, 13952, 18, 588, 797, 7675, 17994, 5621, 202, 202, 76, 13952, 273, 446, 31, 9506, 202, 76, 13952, 273, 261, 44, 24360, 12868, 797, 13, 24455, 2276, 18, 14407, 5788, 1305, 12, 12434, 16, 315, 588, 3113, 394, 1033, 8526, 288, 394, 2144, 12, 21, 13, 15549, 202, 202, 11231, 8867, 2932, 19068, 1132, 3113, 366, 13952, 18, 588, 12062, 4658, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9791, 4712, 1435, 288, 202, 202, 44, 24360, 12868, 797, 366, 13952, 273, 394, 670, 24360, 12868, 797, 5621, 202, 202, 76, 13952, 18, 542, 12062, 4658, 2932, 19068, 1132, 8863, 202, 202, 24455, 2276, 18, 14407, 1305, 12, 76, 13952, 16, 315, 5688, 3113, 394, 1033, 63, 20, 19226, 202, 202, 780, 2658, 273, 366, 13952, 18, 588, 797, 7675, 17994, 5621, 202, 202, 76, 13952, 273, 446, 31, 9506, 202, 76, 13952, 273, 261, 44, 24360, 12868, 797, 13, 24455, 2276, 18, 14407, 5788, 1305, 12, 12434, 16, 315, 588, 3113, 394, 1033, 8526, 288, 394, 2144, 12, 21, 13, 15549, 202, 202, 11231, 8867, 2932, 19068, 1132, 3113, 366, 13952, 18, 2 ]
isDegenerated = d; return d;
return isDegenerated;
public boolean isDegenerated(boolean d) { isDegenerated = d; return d; }
45433 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45433/2a01af96440a43fab8611a6e5a3d5907e98140ad/MNode1D.java/buggy/amibe/src/org/jcae/mesh/mesher/ds/MNode1D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 758, 11168, 12, 6494, 302, 13, 202, 95, 202, 202, 291, 758, 11168, 273, 302, 31, 202, 202, 2463, 302, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 758, 11168, 12, 6494, 302, 13, 202, 95, 202, 202, 291, 758, 11168, 273, 302, 31, 202, 202, 2463, 302, 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 ]
ViewPane pane = getPane(ref);
/*package*/ Rectangle getFastViewBounds(IViewReference ref) { // Copy the bounds of the page composite Rectangle bounds = page.getClientComposite().getBounds(); ViewPane pane = getPane(ref); // get the width ratio of the fast view float ratio = getFastViewWidthRatio(pane.getID()); // Compute the actual width of the fast view. bounds.width = (int)(ratio*(float)getClientComposite().getSize().x); return bounds;}
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/635ba689407e5df06ae38d8bebb8a2508ab865e4/Perspective.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Perspective.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1748, 5610, 5549, 13264, 2812, 689, 1767, 5694, 12, 45, 1767, 2404, 1278, 13, 288, 202, 759, 5631, 326, 4972, 434, 326, 1363, 9635, 202, 19463, 4972, 273, 1363, 18, 588, 1227, 9400, 7675, 588, 5694, 5621, 202, 1767, 8485, 13618, 273, 1689, 8806, 12, 1734, 1769, 202, 759, 336, 326, 1835, 7169, 434, 326, 4797, 1476, 202, 5659, 7169, 273, 2812, 689, 1767, 2384, 8541, 12, 29009, 18, 588, 734, 10663, 202, 759, 8155, 326, 3214, 1835, 434, 326, 4797, 1476, 18, 202, 10576, 18, 2819, 273, 261, 474, 21433, 9847, 21556, 5659, 13, 588, 1227, 9400, 7675, 588, 1225, 7675, 92, 1769, 202, 2463, 4972, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1748, 5610, 5549, 13264, 2812, 689, 1767, 5694, 12, 45, 1767, 2404, 1278, 13, 288, 202, 759, 5631, 326, 4972, 434, 326, 1363, 9635, 202, 19463, 4972, 273, 1363, 18, 588, 1227, 9400, 7675, 588, 5694, 5621, 202, 1767, 8485, 13618, 273, 1689, 8806, 12, 1734, 1769, 202, 759, 336, 326, 1835, 7169, 434, 326, 4797, 1476, 202, 5659, 7169, 273, 2812, 689, 1767, 2384, 8541, 12, 29009, 18, 588, 734, 10663, 202, 759, 8155, 326, 3214, 1835, 434, 326, 4797, 1476, 18, 202, 10576, 18, 2819, 273, 261, 474, 21433, 9847, 21556, 5659, 13, 588, 1227, 9400, 7675, 588, 1225, 7675, 92, 1769, 202, 2463, 4972, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
strBuf.append("direct publish file or folder: ").append((m_publishResource != null) ? m_publishResource.getRootPath() : "-").append("\n");
strBuf.append("direct publish file or folder: ").append( (m_publishResource != null) ? m_publishResource.getRootPath() : "-").append("\n");
public String toString() { StringBuffer strBuf = new StringBuffer(); strBuf.append("\n[\n"); strBuf.append("direct publish file or folder: ").append((m_publishResource != null) ? m_publishResource.getRootPath() : "-").append("\n"); strBuf.append("publish history ID: ").append(m_publishHistoryId.toString()).append("\n"); strBuf.append("resources: ").append(m_fileList.toString()).append("\n"); strBuf.append("folders: ").append(m_folderList.toString()).append("\n"); strBuf.append("]\n"); return strBuf.toString(); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/ffc41838b2d111ebeb91e9a4f240187165ad24d5/CmsPublishList.java/buggy/src/org/opencms/db/CmsPublishList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 6674, 609, 5503, 273, 394, 6674, 5621, 7734, 609, 5503, 18, 6923, 31458, 82, 7438, 82, 8863, 3639, 609, 5503, 18, 6923, 2932, 7205, 3808, 585, 578, 3009, 30, 315, 2934, 6923, 12, 261, 81, 67, 6543, 1420, 480, 446, 13, 692, 312, 67, 6543, 1420, 18, 588, 21302, 1435, 294, 7514, 2934, 6923, 31458, 82, 8863, 3639, 609, 5503, 18, 6923, 2932, 6543, 4927, 1599, 30, 315, 2934, 6923, 12, 81, 67, 6543, 5623, 548, 18, 10492, 1435, 2934, 6923, 31458, 82, 8863, 3639, 609, 5503, 18, 6923, 2932, 4683, 30, 315, 2934, 6923, 12, 81, 67, 768, 682, 18, 10492, 1435, 2934, 6923, 31458, 82, 8863, 3639, 609, 5503, 18, 6923, 2932, 16064, 30, 315, 2934, 6923, 12, 81, 67, 5609, 682, 18, 10492, 1435, 2934, 6923, 31458, 82, 8863, 3639, 609, 5503, 18, 6923, 2932, 13944, 82, 8863, 7734, 327, 609, 5503, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 6674, 609, 5503, 273, 394, 6674, 5621, 7734, 609, 5503, 18, 6923, 31458, 82, 7438, 82, 8863, 3639, 609, 5503, 18, 6923, 2932, 7205, 3808, 585, 578, 3009, 30, 315, 2934, 6923, 12, 261, 81, 67, 6543, 1420, 480, 446, 13, 692, 312, 67, 6543, 1420, 18, 588, 21302, 1435, 294, 7514, 2934, 6923, 31458, 82, 8863, 3639, 609, 5503, 18, 6923, 2932, 6543, 4927, 1599, 30, 315, 2934, 6923, 12, 81, 67, 6543, 5623, 548, 18, 10492, 1435, 2934, 6923, 31458, 82, 8863, 3639, 609, 5503, 18, 6923, 2932, 4683, 30, 315, 2934, 6923, 12, 81, 67, 768, 682, 18, 10492, 1435, 2934, 6923, 31458, 82, 8863, 3639, 609, 5503, 18, 2 ]
if (moduleFileIndex.isContentJavaSourceFile(fileOrDir) && (myIncludeTestSource ? true : moduleFileIndex.isInTestSourceContent(fileOrDir))) {
if (moduleFileIndex.isContentJavaSourceFile(fileOrDir) && (myIncludeTestSource ? true : !moduleFileIndex.isInTestSourceContent(fileOrDir))) {
public void accept(final PsiElementVisitor visitor) { if (myProject != null) { final FileIndex projectFileIndex = ProjectRootManager.getInstance(myProject).getFileIndex(); projectFileIndex.iterateContent(new ContentIterator() { public boolean processFile(VirtualFile fileOrDir) { if (projectFileIndex.isContentJavaSourceFile(fileOrDir) && (myIncludeTestSource ? true : !projectFileIndex.isInTestSourceContent(fileOrDir))) { PsiFile psiFile = PsiManager.getInstance(myProject).findFile(fileOrDir); LOG.assertTrue(psiFile != null); psiFile.accept(visitor); } return true; } }); } else if (myModule != null) { final FileIndex moduleFileIndex = ModuleRootManager.getInstance(myModule).getFileIndex(); moduleFileIndex.iterateContent(new ContentIterator() { public boolean processFile(VirtualFile fileOrDir) { if (moduleFileIndex.isContentJavaSourceFile(fileOrDir) && (myIncludeTestSource ? true : moduleFileIndex.isInTestSourceContent(fileOrDir))) { PsiFile psiFile = PsiManager.getInstance(myModule.getProject()).findFile(fileOrDir); LOG.assertTrue(psiFile != null); psiFile.accept(visitor); } return true; } }); } else if (myModules != null) { for (Iterator<Module> iterator = myModules.iterator(); iterator.hasNext();) { final Module module = iterator.next(); final FileIndex moduleFileIndex = ModuleRootManager.getInstance(module).getFileIndex(); moduleFileIndex.iterateContent(new ContentIterator() { public boolean processFile(VirtualFile fileOrDir) { if (moduleFileIndex.isContentJavaSourceFile(fileOrDir) && (myIncludeTestSource ? true : moduleFileIndex.isInTestSourceContent(fileOrDir))) { PsiFile psiFile = PsiManager.getInstance(module.getProject()).findFile(fileOrDir); LOG.assertTrue(psiFile != null); psiFile.accept(visitor); } return true; } }); } } else if (myElement instanceof PsiPackage) { PsiPackage pack = (PsiPackage)myElement; PsiDirectory[] dirs = pack.getDirectories(GlobalSearchScope.projectScope(myElement.getProject())); for (int i = 0; i < dirs.length; i++) { dirs[i].accept(visitor); } } else { myElement.accept(visitor); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/7dd28f67848f0677c153139eeefda9eef810d700/AnalysisScope.java/buggy/source/com/intellij/analysis/AnalysisScope.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2791, 12, 6385, 453, 7722, 1046, 7413, 8000, 13, 288, 565, 309, 261, 4811, 4109, 480, 446, 13, 288, 1377, 727, 1387, 1016, 1984, 812, 1016, 273, 5420, 2375, 1318, 18, 588, 1442, 12, 4811, 4109, 2934, 29925, 1016, 5621, 1377, 1984, 812, 1016, 18, 18793, 1350, 12, 2704, 3697, 3198, 1435, 288, 3639, 1071, 1250, 1207, 812, 12, 6466, 812, 585, 1162, 1621, 13, 288, 1850, 309, 261, 4406, 812, 1016, 18, 291, 1350, 5852, 31150, 12, 768, 1162, 1621, 13, 597, 261, 4811, 8752, 4709, 1830, 692, 638, 294, 401, 4406, 812, 1016, 18, 291, 382, 4709, 1830, 1350, 12, 768, 1162, 1621, 20349, 288, 5411, 453, 7722, 812, 23921, 812, 273, 453, 7722, 1318, 18, 588, 1442, 12, 4811, 4109, 2934, 4720, 812, 12, 768, 1162, 1621, 1769, 5411, 2018, 18, 11231, 5510, 12, 24275, 812, 480, 446, 1769, 5411, 23921, 812, 18, 9436, 12, 3516, 1811, 1769, 1850, 289, 1850, 327, 638, 31, 3639, 289, 1377, 15549, 565, 289, 565, 469, 309, 261, 4811, 3120, 480, 446, 13, 288, 1377, 727, 1387, 1016, 1605, 812, 1016, 273, 5924, 2375, 1318, 18, 588, 1442, 12, 4811, 3120, 2934, 29925, 1016, 5621, 1377, 1605, 812, 1016, 18, 18793, 1350, 12, 2704, 3697, 3198, 1435, 288, 3639, 1071, 1250, 1207, 812, 12, 6466, 812, 585, 1162, 1621, 13, 288, 1850, 309, 261, 2978, 812, 1016, 18, 291, 1350, 5852, 31150, 12, 768, 1162, 1621, 13, 597, 261, 4811, 8752, 4709, 1830, 692, 638, 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, 2791, 12, 6385, 453, 7722, 1046, 7413, 8000, 13, 288, 565, 309, 261, 4811, 4109, 480, 446, 13, 288, 1377, 727, 1387, 1016, 1984, 812, 1016, 273, 5420, 2375, 1318, 18, 588, 1442, 12, 4811, 4109, 2934, 29925, 1016, 5621, 1377, 1984, 812, 1016, 18, 18793, 1350, 12, 2704, 3697, 3198, 1435, 288, 3639, 1071, 1250, 1207, 812, 12, 6466, 812, 585, 1162, 1621, 13, 288, 1850, 309, 261, 4406, 812, 1016, 18, 291, 1350, 5852, 31150, 12, 768, 1162, 1621, 13, 597, 261, 4811, 8752, 4709, 1830, 692, 638, 294, 401, 4406, 812, 1016, 18, 291, 382, 4709, 1830, 1350, 12, 768, 1162, 1621, 20349, 288, 5411, 453, 7722, 812, 23921, 812, 273, 453, 7722, 2 ]
User newUser = userDatabase.createUser(newUserName); newUser.setPassword("pass1"); newUser.setFromAddress("fromAddress1"); newUser.setReplyToAddress("replyToAddress1"); User newUser2 = userDatabase.findUser(newUserName); assertTrue("Check username", newUserName.equals(newUser2.getUsername())); assertTrue("Check fromAddress", "fromAddress1".equals(newUser2.getFromAddress())); assertTrue("Check replyToAddress", "replyToAddress1".equals(newUser2.getReplyToAddress())); assertTrue("Check password", "pass1".equals(newUser2.getPassword())); assertNull("Check fullName", newUser2.getFullName()); generateUsers(3, subs, "08"); User newUser3 = userDatabase.findUser("08user1"); Subscription[] subscriptions = newUser3.getSubscriptions(); assertTrue ("Testing subscriptions length", subscriptions.length == subs); User newUser4 = userDatabase.findUser("08user1"); Subscription[] subscriptions2 = newUser4.getSubscriptions(); assertTrue ("Testing subscriptions length", subscriptions2.length == subs);
User newUser = userDatabase.createUser(newUserName); newUser.setPassword("pass1"); newUser.setFromAddress("fromAddress1"); newUser.setReplyToAddress("replyToAddress1"); User newUser2 = userDatabase.findUser(newUserName); assertTrue("Check username", newUserName.equals(newUser2.getUsername())); assertTrue("Check fromAddress", "fromAddress1".equals(newUser2.getFromAddress())); assertTrue("Check replyToAddress", "replyToAddress1".equals(newUser2.getReplyToAddress())); assertTrue("Check password", "pass1".equals(newUser2.getPassword())); assertNull("Check fullName", newUser2.getFullName()); generateUsers(3, subs, "08"); User newUser3 = userDatabase.findUser("08user1"); Subscription[] subscriptions = newUser3.getSubscriptions(); assertTrue ("Testing subscriptions length", subscriptions.length == subs); User newUser4 = userDatabase.findUser("08user1"); Subscription[] subscriptions2 = newUser4.getSubscriptions(); assertTrue ("Testing subscriptions length", subscriptions2.length == subs);
public void testCase08() throws Exception{ String newUserName = "newUser08"; int subs = 5; User newUser = userDatabase.createUser(newUserName); newUser.setPassword("pass1"); newUser.setFromAddress("fromAddress1"); newUser.setReplyToAddress("replyToAddress1"); // TODO fix me, this is not releasing the internal state on close // userDatabase.save(); // userDatabase.close(); // userDatabase.open(); User newUser2 = userDatabase.findUser(newUserName); assertTrue("Check username", newUserName.equals(newUser2.getUsername())); assertTrue("Check fromAddress", "fromAddress1".equals(newUser2.getFromAddress())); assertTrue("Check replyToAddress", "replyToAddress1".equals(newUser2.getReplyToAddress())); assertTrue("Check password", "pass1".equals(newUser2.getPassword())); assertNull("Check fullName", newUser2.getFullName()); generateUsers(3, subs, "08"); User newUser3 = userDatabase.findUser("08user1"); Subscription[] subscriptions = newUser3.getSubscriptions(); assertTrue ("Testing subscriptions length", subscriptions.length == subs); // userDatabase.save(); // userDatabase.close(); // userDatabase.open(); User newUser4 = userDatabase.findUser("08user1"); Subscription[] subscriptions2 = newUser4.getSubscriptions(); assertTrue ("Testing subscriptions length", subscriptions2.length == subs); }
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/1c9701ef0df49c47648fb6bcf65f7575186571d3/BaseTestUserDatabase.java/buggy/mailreader-dao/src/test/java/org/apache/struts/apps/mailreader/dao/BaseTestUserDatabase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2449, 6840, 1435, 1216, 1185, 95, 3639, 514, 394, 15296, 273, 315, 2704, 1299, 6840, 14432, 3639, 509, 11630, 273, 1381, 31, 2398, 202, 565, 2177, 394, 1299, 273, 729, 4254, 18, 2640, 1299, 12, 2704, 15296, 1769, 202, 565, 394, 1299, 18, 542, 3913, 2932, 5466, 21, 8863, 202, 565, 394, 1299, 18, 542, 1265, 1887, 2932, 2080, 1887, 21, 8863, 202, 565, 394, 1299, 18, 542, 7817, 774, 1887, 2932, 10629, 774, 1887, 21, 8863, 202, 377, 202, 565, 368, 2660, 2917, 1791, 16, 333, 353, 486, 6707, 11730, 326, 2713, 919, 603, 1746, 202, 759, 5411, 729, 4254, 18, 5688, 5621, 202, 759, 5411, 729, 4254, 18, 4412, 5621, 202, 759, 5411, 729, 4254, 18, 3190, 5621, 202, 377, 202, 565, 2177, 394, 1299, 22, 273, 729, 4254, 18, 4720, 1299, 12, 2704, 15296, 1769, 202, 565, 1815, 5510, 2932, 1564, 2718, 3113, 394, 15296, 18, 14963, 12, 2704, 1299, 22, 18, 588, 8575, 1435, 10019, 202, 565, 1815, 5510, 2932, 1564, 628, 1887, 3113, 315, 2080, 1887, 21, 9654, 14963, 12, 2704, 1299, 22, 18, 588, 1265, 1887, 1435, 10019, 202, 565, 1815, 5510, 2932, 1564, 30934, 1887, 3113, 315, 10629, 774, 1887, 21, 9654, 14963, 12, 2704, 1299, 22, 18, 588, 7817, 774, 1887, 1435, 10019, 202, 565, 1815, 5510, 2932, 1564, 2201, 3113, 315, 5466, 21, 9654, 14963, 12, 2704, 1299, 22, 18, 588, 3913, 1435, 10019, 202, 565, 1815, 2041, 2932, 1564, 12424, 3113, 394, 1299, 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, 2449, 6840, 1435, 1216, 1185, 95, 3639, 514, 394, 15296, 273, 315, 2704, 1299, 6840, 14432, 3639, 509, 11630, 273, 1381, 31, 2398, 202, 565, 2177, 394, 1299, 273, 729, 4254, 18, 2640, 1299, 12, 2704, 15296, 1769, 202, 565, 394, 1299, 18, 542, 3913, 2932, 5466, 21, 8863, 202, 565, 394, 1299, 18, 542, 1265, 1887, 2932, 2080, 1887, 21, 8863, 202, 565, 394, 1299, 18, 542, 7817, 774, 1887, 2932, 10629, 774, 1887, 21, 8863, 202, 377, 202, 565, 368, 2660, 2917, 1791, 16, 333, 353, 486, 6707, 11730, 326, 2713, 919, 603, 1746, 202, 759, 5411, 729, 4254, 18, 5688, 5621, 202, 759, 5411, 729, 4254, 18, 4412, 5621, 202, 759, 5411, 2 ]
stringBuffer.append(TEXT_168);
stringBuffer.append(TEXT_143);
public String generate(Object argument) { final StringBuffer stringBuffer = new StringBuffer(); final GenCommonBase genElement = (GenCommonBase) ((Object[]) argument)[0];final GenChildLabelNode genChildNode = (GenChildLabelNode)genElement;GenNode genHost = genChildNode;GenNode genNode = genChildNode; /*var used by componentEditPolicy.javajetinc*/GenClass underlyingMetaClass = genHost.getDomainMetaClass();GenDiagram genDiagram = genChildNode.getDiagram();final ImportAssistant importManager = (ImportAssistant) ((Object[]) argument)[1];LabelModelFacet labelModelFacet = genChildNode.getLabelModelFacet();final boolean isReadOnly = genChildNode.isLabelReadOnly(); stringBuffer.append(TEXT_1); String copyrightText = genDiagram.getEditorGen().getCopyrightText();if (copyrightText != null && copyrightText.trim().length() > 0) { stringBuffer.append(TEXT_2); stringBuffer.append(copyrightText.replaceAll("\n", "\n * ")); stringBuffer.append(TEXT_3); } stringBuffer.append(TEXT_4); stringBuffer.append(TEXT_5); class FeatureGetAccessorHelper { /** * @param containerName the name of the container * @param feature the feature whose value is in interest * @param containerMetaClass the <code>GenClass</code> of the container, or <code>null</code>, if the container is declared as an <code>EObject</code>. * @param needsCastToResultType whether the cast to the result type is required (this parameter is only used if the <code>EClass</code> this feature belongs to is an external interface). */ public void appendFeatureValueGetter(String containerName, GenFeature feature, GenClass containerMetaClass, boolean needsCastToResultType) { if (feature.getGenClass().isExternalInterface()) { boolean needsCastToEObject = containerMetaClass != null && containerMetaClass.isExternalInterface(); if (needsCastToResultType) { stringBuffer.append(TEXT_6); stringBuffer.append(importManager.getImportedName(feature.isListType() ? "java.util.Collection" : feature.getTypeGenClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_7); } if (needsCastToEObject) { stringBuffer.append(TEXT_8); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_9); } stringBuffer.append(containerName); if (needsCastToEObject) { stringBuffer.append(TEXT_10); } stringBuffer.append(TEXT_11); stringBuffer.append(importManager.getImportedName(feature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_12); stringBuffer.append(feature.getFeatureAccessorName()); stringBuffer.append(TEXT_13); if (needsCastToResultType) { stringBuffer.append(TEXT_14); } } else { boolean needsCastToFeatureGenType = containerMetaClass == null || containerMetaClass.isExternalInterface(); if (needsCastToFeatureGenType) { stringBuffer.append(TEXT_15); stringBuffer.append(importManager.getImportedName(feature.getGenClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_16); } stringBuffer.append(containerName); if (needsCastToFeatureGenType) { stringBuffer.append(TEXT_17); } stringBuffer.append(TEXT_18); stringBuffer.append(feature.getGetAccessor()); stringBuffer.append(TEXT_19); } }}final FeatureGetAccessorHelper myFeatureGetAccessorHelper = new FeatureGetAccessorHelper(); stringBuffer.append(TEXT_20); importManager.emitPackageStatement(stringBuffer);importManager.registerInnerClass("TreeEditPartAdapter");importManager.addImport("org.eclipse.gef.EditPolicy");importManager.addImport("org.eclipse.gef.Request");importManager.addImport("org.eclipse.gmf.runtime.notation.View");importManager.addImport("org.eclipse.gmf.runtime.notation.NotationPackage");importManager.addImport("java.util.List");importManager.markImportLocation(stringBuffer); stringBuffer.append(TEXT_21); stringBuffer.append(genChildNode.getEditPartClassName()); stringBuffer.append(TEXT_22); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.editparts.AbstractGraphicalEditPart")); stringBuffer.append(TEXT_23); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.IUpdatableEditPart")); stringBuffer.append(TEXT_24); {GenCommonBase genCommonBase = genChildNode; stringBuffer.append(TEXT_25); stringBuffer.append(TEXT_26); stringBuffer.append(genCommonBase.getVisualID()); stringBuffer.append(TEXT_27); } stringBuffer.append(TEXT_28); stringBuffer.append(TEXT_29); if (!isReadOnly) { stringBuffer.append(TEXT_30); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.tools.DirectEditManager")); stringBuffer.append(TEXT_31); } stringBuffer.append(TEXT_32); stringBuffer.append(genChildNode.getEditPartClassName()); stringBuffer.append(TEXT_33); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.Node")); stringBuffer.append(TEXT_34); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.Node")); stringBuffer.append(TEXT_35); stringBuffer.append(TEXT_36); stringBuffer.append(TEXT_37); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_38); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_39); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_40); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_41); String resolvedSemanticElement = "(" + importManager.getImportedName(genHost.getDomainMetaClass().getQualifiedInterfaceName()) + ") getDiagramNode().getElement()"; final String primaryView = "getDiagramNode()"; if (!isReadOnly) { String editPatternCode = "EDIT_PATTERN"; //declared in labelText.javajetinc, used in directEditCommand.jetinc. stringBuffer.append(TEXT_42); stringBuffer.append(TEXT_43); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.EditPolicy")); stringBuffer.append(TEXT_44); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.editpolicies.DirectEditPolicy")); stringBuffer.append(TEXT_45); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.requests.DirectEditRequest")); stringBuffer.append(TEXT_46); stringBuffer.append(TEXT_47); stringBuffer.append(TEXT_48); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.Command")); stringBuffer.append(TEXT_49); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.requests.DirectEditRequest")); stringBuffer.append(TEXT_50); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_51); stringBuffer.append(importManager.getImportedName("java.text.MessageFormat")); stringBuffer.append(TEXT_52); stringBuffer.append(editPatternCode); stringBuffer.append(TEXT_53); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_54); stringBuffer.append(importManager.getImportedName("java.text.ParseException")); stringBuffer.append(TEXT_55); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_56); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_57); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.util.TransactionUtil")); stringBuffer.append(TEXT_58); stringBuffer.append(primaryView); stringBuffer.append(TEXT_59); if (labelModelFacet instanceof FeatureLabelModelFacet) { GenFeature featureToSet = ((FeatureLabelModelFacet)labelModelFacet).getMetaFeature(); EStructuralFeature ecoreFeature = featureToSet.getEcoreFeature(); stringBuffer.append(TEXT_60); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_61); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_62); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_63); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_64); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_65); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_66); stringBuffer.append(resolvedSemanticElement); stringBuffer.append(TEXT_67); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_68); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_69); stringBuffer.append(importManager.getImportedName(featureToSet.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_70); stringBuffer.append(featureToSet.getFeatureAccessorName()); stringBuffer.append(TEXT_71); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.ParserUtil")); stringBuffer.append(TEXT_72); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.UnexecutableCommand")); stringBuffer.append(TEXT_73); if (ecoreFeature.isMany()) { stringBuffer.append(TEXT_74); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_75); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_76); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.EList")); stringBuffer.append(TEXT_77); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.BasicEList")); stringBuffer.append(TEXT_78); stringBuffer.append(featureToSet.getAccessorName()); stringBuffer.append(TEXT_79); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_80); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.AddCommand")); stringBuffer.append(TEXT_81); } else { stringBuffer.append(TEXT_82); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_83); } stringBuffer.append(TEXT_84); } else if (labelModelFacet instanceof CompositeFeatureLabelModelFacet) { CompositeFeatureLabelModelFacet compositeFeatureLabelModelFacet = (CompositeFeatureLabelModelFacet) labelModelFacet; List metaFeatures = compositeFeatureLabelModelFacet.getMetaFeatures(); stringBuffer.append(TEXT_85); stringBuffer.append(metaFeatures.size()); stringBuffer.append(TEXT_86); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_87); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_88); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_89); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_90); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_91); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_92); stringBuffer.append(resolvedSemanticElement); stringBuffer.append(TEXT_93); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_94); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_95); boolean haveDeclaredValues = false; for(int i = 0; i < metaFeatures.size(); i++) { GenFeature nextFeatureToSet = (GenFeature) metaFeatures.get(i); EStructuralFeature nextEcoreFeature = nextFeatureToSet.getEcoreFeature(); stringBuffer.append(TEXT_96); if (i == 0) { stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_97); } stringBuffer.append(TEXT_98); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_99); stringBuffer.append(importManager.getImportedName(nextFeatureToSet.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_100); stringBuffer.append(nextFeatureToSet.getFeatureAccessorName()); stringBuffer.append(TEXT_101); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.ParserUtil")); stringBuffer.append(TEXT_102); stringBuffer.append(i); stringBuffer.append(TEXT_103); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.UnexecutableCommand")); stringBuffer.append(TEXT_104); if (nextEcoreFeature.isMany()) { stringBuffer.append(TEXT_105); if (!haveDeclaredValues) { haveDeclaredValues = true; stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.EList")); stringBuffer.append(TEXT_106); } stringBuffer.append(TEXT_107); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.BasicEList")); stringBuffer.append(TEXT_108); stringBuffer.append(nextFeatureToSet.getAccessorName()); stringBuffer.append(TEXT_109); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_110); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.AddCommand")); stringBuffer.append(TEXT_111); } else { stringBuffer.append(TEXT_112); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_113); } } stringBuffer.append(TEXT_114); } stringBuffer.append(TEXT_115); } stringBuffer.append(TEXT_116); stringBuffer.append(TEXT_117); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.EditPolicy")); stringBuffer.append(TEXT_118); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.editpolicies.ComponentEditPolicy")); stringBuffer.append(TEXT_119); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.Command")); stringBuffer.append(TEXT_120); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.requests.GroupRequest")); stringBuffer.append(TEXT_121); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_122); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.util.TransactionUtil")); stringBuffer.append(TEXT_123); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_124); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_125); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_126); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_127); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_128); {TypeModelFacet facet = genNode.getModelFacet();GenFeature childFeature = facet.getChildMetaFeature();GenFeature containmentFeature = facet.getContainmentMetaFeature();if (childFeature != null && childFeature != containmentFeature && !childFeature.isDerived()) { stringBuffer.append(TEXT_129); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_130); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_131); if (containmentFeature.getEcoreFeature().isMany()) { stringBuffer.append(TEXT_132); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_133); stringBuffer.append(importManager.getImportedName(containmentFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_134); stringBuffer.append(containmentFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_135); } else { stringBuffer.append(TEXT_136); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_137); stringBuffer.append(importManager.getImportedName(containmentFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_138); stringBuffer.append(containmentFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_139); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_140); } if (childFeature.getEcoreFeature().isMany()) { stringBuffer.append(TEXT_141); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_142); stringBuffer.append(importManager.getImportedName(childFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_143); stringBuffer.append(childFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_144); } else { stringBuffer.append(TEXT_145); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_146); stringBuffer.append(importManager.getImportedName(childFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_147); stringBuffer.append(childFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_148); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_149); } stringBuffer.append(TEXT_150); } else { if (containmentFeature.getEcoreFeature().isMany()) { stringBuffer.append(TEXT_151); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_152); stringBuffer.append(importManager.getImportedName(containmentFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_153); stringBuffer.append(containmentFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_154); } else { stringBuffer.append(TEXT_155); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_156); stringBuffer.append(importManager.getImportedName(containmentFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_157); stringBuffer.append(containmentFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_158); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_159); }} stringBuffer.append(TEXT_160); } /*restrict local vars used in component edit policy*/ stringBuffer.append(TEXT_161); if (!isReadOnly) { stringBuffer.append(TEXT_162); stringBuffer.append(TEXT_163); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.Request")); stringBuffer.append(TEXT_164); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.RequestConstants")); stringBuffer.append(TEXT_165); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.tools.DirectEditManager")); stringBuffer.append(TEXT_166); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.tools.DirectEditManager")); stringBuffer.append(TEXT_167); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.TextCellEditor")); stringBuffer.append(TEXT_168); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.tools.CellEditorLocator")); stringBuffer.append(TEXT_169); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.CellEditor")); stringBuffer.append(TEXT_170); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.geometry.Rectangle")); stringBuffer.append(TEXT_171); } stringBuffer.append(TEXT_172); stringBuffer.append(TEXT_173); /*genFeature.getObjectType() throws NPE on primitive types. This is a workaround. */HashMap primitiveTypeToWrapperClassName = new HashMap();primitiveTypeToWrapperClassName.put(Boolean.TYPE, "Boolean");primitiveTypeToWrapperClassName.put(Byte.TYPE, "Byte");primitiveTypeToWrapperClassName.put(Character.TYPE, "Character");primitiveTypeToWrapperClassName.put(Double.TYPE, "Double");primitiveTypeToWrapperClassName.put(Float.TYPE, "Float");primitiveTypeToWrapperClassName.put(Integer.TYPE, "Integer");primitiveTypeToWrapperClassName.put(Long.TYPE, "Long");primitiveTypeToWrapperClassName.put(Short.TYPE, "Short");String viewPattern = null;String editPattern = null;if (labelModelFacet instanceof FeatureLabelModelFacet) { FeatureLabelModelFacet featureLabelModelFacet = (FeatureLabelModelFacet) labelModelFacet; viewPattern = featureLabelModelFacet.getViewPattern(); if (viewPattern == null || viewPattern.length() == 0) { viewPattern = "{0}"; } editPattern = featureLabelModelFacet.getEditPattern(); if (editPattern == null || editPattern.length() == 0) { editPattern = "{0}"; }} else if (labelModelFacet instanceof CompositeFeatureLabelModelFacet) { CompositeFeatureLabelModelFacet compositeFeatureLabelModelFacet = (CompositeFeatureLabelModelFacet) labelModelFacet; viewPattern = compositeFeatureLabelModelFacet.getViewPattern(); if (viewPattern == null || viewPattern.length() == 0) { StringBuffer patternBuffer = new StringBuffer(); for(int i = 0; i < compositeFeatureLabelModelFacet.getMetaFeatures().size(); i++) { patternBuffer.append("{").append(i).append("} "); } viewPattern = patternBuffer.toString().trim(); } editPattern = compositeFeatureLabelModelFacet.getEditPattern(); if (editPattern == null || editPattern.length() == 0) { StringBuffer patternBuffer = new StringBuffer(); for(int i = 0; i < compositeFeatureLabelModelFacet.getMetaFeatures().size(); i++) { patternBuffer.append("{").append(i).append("} "); } editPattern = patternBuffer.toString().trim(); }} stringBuffer.append(TEXT_174); stringBuffer.append(viewPattern); stringBuffer.append(TEXT_175); stringBuffer.append(editPattern); stringBuffer.append(TEXT_176); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_177); stringBuffer.append(resolvedSemanticElement); stringBuffer.append(TEXT_178); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_179); stringBuffer.append(resolvedSemanticElement); stringBuffer.append(TEXT_180); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_181); if (labelModelFacet instanceof FeatureLabelModelFacet) { FeatureLabelModelFacet featureLabelModelFacet = (FeatureLabelModelFacet) labelModelFacet; GenFeature feature = featureLabelModelFacet.getMetaFeature(); if (!feature.isPrimitiveType()) { stringBuffer.append(TEXT_182); myFeatureGetAccessorHelper.appendFeatureValueGetter("element", feature, underlyingMetaClass, false); stringBuffer.append(TEXT_183); } stringBuffer.append(TEXT_184); stringBuffer.append(importManager.getImportedName("java.text.MessageFormat")); stringBuffer.append(TEXT_185); if (feature.isPrimitiveType()) { stringBuffer.append(TEXT_186); stringBuffer.append(primitiveTypeToWrapperClassName.get(feature.getTypeGenClassifier().getEcoreClassifier().getInstanceClass())); stringBuffer.append(TEXT_187); } myFeatureGetAccessorHelper.appendFeatureValueGetter("element", feature, underlyingMetaClass, false); if (feature.isPrimitiveType()) { stringBuffer.append(TEXT_188); } stringBuffer.append(TEXT_189); } else if (labelModelFacet instanceof CompositeFeatureLabelModelFacet) { CompositeFeatureLabelModelFacet compositeFeatureLabelModelFacet = (CompositeFeatureLabelModelFacet) labelModelFacet; stringBuffer.append(TEXT_190); stringBuffer.append(importManager.getImportedName("java.text.MessageFormat")); stringBuffer.append(TEXT_191); for(Iterator it = compositeFeatureLabelModelFacet.getMetaFeatures().iterator(); it.hasNext(); ) { GenFeature next = (GenFeature) it.next(); if (next.isPrimitiveType()) { stringBuffer.append(TEXT_192); stringBuffer.append(primitiveTypeToWrapperClassName.get(next.getTypeGenClassifier().getEcoreClassifier().getInstanceClass())); stringBuffer.append(TEXT_193); } myFeatureGetAccessorHelper.appendFeatureValueGetter("element", next, underlyingMetaClass, false); if (next.isPrimitiveType()) { stringBuffer.append(TEXT_194); } if (it.hasNext()) { stringBuffer.append(TEXT_195); } } stringBuffer.append(TEXT_196); } else { stringBuffer.append(TEXT_197); } stringBuffer.append(TEXT_198); stringBuffer.append(TEXT_199); boolean isFixedFontSetInFigure;{ StyleAttributes styleAttributes = (genElement.getViewmap() == null) ? null : (StyleAttributes)genElement.getViewmap().find(StyleAttributes.class); isFixedFontSetInFigure = styleAttributes != null && styleAttributes.isFixedFont();} stringBuffer.append(TEXT_200); if (!isFixedFontSetInFigure) { stringBuffer.append(TEXT_201); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.FontStyle")); stringBuffer.append(TEXT_202); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.FontStyle")); stringBuffer.append(TEXT_203); stringBuffer.append(primaryView); stringBuffer.append(TEXT_204); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_205); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Font")); stringBuffer.append(TEXT_206); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_207); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_208); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_209); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Font")); stringBuffer.append(TEXT_210); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.FontData")); stringBuffer.append(TEXT_211); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Font")); stringBuffer.append(TEXT_212); } stringBuffer.append(TEXT_213); if (!isFixedFontSetInFigure) { stringBuffer.append(TEXT_214); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Font")); stringBuffer.append(TEXT_215); } stringBuffer.append(TEXT_216); stringBuffer.append(TEXT_217); stringBuffer.append(TEXT_218); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.FontStyle")); stringBuffer.append(TEXT_219); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.FontStyle")); stringBuffer.append(TEXT_220); stringBuffer.append(primaryView); stringBuffer.append(TEXT_221); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_222); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Color")); stringBuffer.append(TEXT_223); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Color")); stringBuffer.append(TEXT_224); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Color")); stringBuffer.append(TEXT_225); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Color")); stringBuffer.append(TEXT_226); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Image")); stringBuffer.append(TEXT_227); if (genChildNode.isLabelElementIcon()) { stringBuffer.append(TEXT_228); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.resource.ImageDescriptor")); stringBuffer.append(TEXT_229); stringBuffer.append(importManager.getImportedName(genDiagram.getEditorGen().getPlugin().getActivatorQualifiedClassName())); stringBuffer.append(TEXT_230); } stringBuffer.append(TEXT_231); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.TreeEditPart")); stringBuffer.append(TEXT_232); /*@ include file="adapters/propertySource.javajetinc"*/ stringBuffer.append(TEXT_233); stringBuffer.append(TEXT_234); stringBuffer.append(TEXT_235); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.RefreshAdapter")); stringBuffer.append(TEXT_236); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.RefreshAdapter")); stringBuffer.append(TEXT_237); stringBuffer.append(TEXT_238); stringBuffer.append(TEXT_239); stringBuffer.append(importManager.getImportedName("java.util.HashMap")); stringBuffer.append(TEXT_240); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")); stringBuffer.append(TEXT_241); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.notify.Notification")); stringBuffer.append(TEXT_242); stringBuffer.append(TEXT_243); stringBuffer.append(TEXT_244); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_245); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_246); stringBuffer.append(TEXT_247); stringBuffer.append(TEXT_248); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_249); if (labelModelFacet instanceof FeatureLabelModelFacet) { FeatureLabelModelFacet compositeFeatureLabelModelFacet = (FeatureLabelModelFacet) labelModelFacet; for(Iterator it = compositeFeatureLabelModelFacet.getMetaFeatures().iterator(); it.hasNext(); ) { GenFeature next = (GenFeature) it.next(); stringBuffer.append(TEXT_250); stringBuffer.append(importManager.getImportedName(next.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_251); stringBuffer.append(next.getFeatureAccessorName()); stringBuffer.append(TEXT_252); }} stringBuffer.append(TEXT_253); stringBuffer.append(TEXT_254); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_255); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_256); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_257); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_258); stringBuffer.append(TEXT_259); stringBuffer.append(TEXT_260); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_261); final Viewmap viewmap = genChildNode.getViewmap(); stringBuffer.append(TEXT_262); final String figureQualifiedClassName;if (viewmap instanceof ParentAssignedViewmap) { ParentAssignedViewmap parentAssignedViewmap = (ParentAssignedViewmap) viewmap; figureQualifiedClassName = parentAssignedViewmap.getFigureQualifiedClassName() == null ? "org.eclipse.draw2d.IFigure" : parentAssignedViewmap.getFigureQualifiedClassName();} else if (viewmap instanceof FigureViewmap) { String figureQualifiedClassNameCandidate = ((FigureViewmap) viewmap).getFigureQualifiedClassName(); if (figureQualifiedClassNameCandidate == null || figureQualifiedClassNameCandidate.trim().length() == 0) { figureQualifiedClassName = "org.eclipse.draw2d.Label"; } else { figureQualifiedClassName = figureQualifiedClassNameCandidate; }} else if (viewmap instanceof SnippetViewmap) { figureQualifiedClassName = "org.eclipse.draw2d.IFigure";} else if (viewmap instanceof InnerClassViewmap) { figureQualifiedClassName = ((InnerClassViewmap) viewmap).getClassName();} else { figureQualifiedClassName = "org.eclipse.draw2d.IFigure";}final String figureImportedName;if (viewmap instanceof InnerClassViewmap) { figureImportedName = figureQualifiedClassName; //do not import inner class} else { figureImportedName = importManager.getImportedName(figureQualifiedClassName);}if (viewmap instanceof ParentAssignedViewmap) { final ParentAssignedViewmap parentAssignedViewmap = (ParentAssignedViewmap) viewmap; stringBuffer.append(TEXT_263); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.IFigure")); stringBuffer.append(TEXT_264); stringBuffer.append((parentAssignedViewmap.getSetterName() == null ? "setLabel" : parentAssignedViewmap.getSetterName())); stringBuffer.append(TEXT_265); } else { stringBuffer.append(TEXT_266); stringBuffer.append(figureImportedName); stringBuffer.append(TEXT_267); if (viewmap instanceof FigureViewmap) { stringBuffer.append(TEXT_268); stringBuffer.append(figureImportedName); stringBuffer.append(TEXT_269); } // instanceof FigureViewmap else if (viewmap instanceof SnippetViewmap) { stringBuffer.append(TEXT_270); stringBuffer.append(((SnippetViewmap) viewmap).getBody()); stringBuffer.append(TEXT_271); } // instanceof SnippetViewmap; FIXME : obtain figure class name to generate getter else if (viewmap instanceof InnerClassViewmap) { stringBuffer.append(TEXT_272); stringBuffer.append(figureImportedName); stringBuffer.append(TEXT_273); } stringBuffer.append(TEXT_274); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.IFigure")); stringBuffer.append(TEXT_275); stringBuffer.append(figureImportedName); stringBuffer.append(TEXT_276); if ("org.eclipse.draw2d.Label".equals(figureQualifiedClassName) || viewmap instanceof InnerClassViewmap) { stringBuffer.append(TEXT_277); } else { stringBuffer.append(TEXT_278); } stringBuffer.append(TEXT_279); } /*not parent-assigned*/ stringBuffer.append(TEXT_280); if (!"org.eclipse.draw2d.Label".equals(figureQualifiedClassName) && viewmap instanceof InnerClassViewmap==false) { stringBuffer.append(TEXT_281); } stringBuffer.append(TEXT_282); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.Label")); stringBuffer.append(TEXT_283); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.Label")); stringBuffer.append(TEXT_284); String labelSetterName = "setLabel"; // same assumption in NodeEditPartString labelFigureClassName = "org.eclipse.draw2d.IFigure";if (viewmap instanceof ParentAssignedViewmap) { ParentAssignedViewmap parentAssignedViewmap = (ParentAssignedViewmap) viewmap; if (parentAssignedViewmap.getSetterName() != null) { labelSetterName = parentAssignedViewmap.getSetterName(); } if (parentAssignedViewmap.getFigureQualifiedClassName() != null) { labelFigureClassName = parentAssignedViewmap.getFigureQualifiedClassName(); }} // FIXME perhaps, there's no sense to have setLabel for any other viewmap than ParentAssigned? stringBuffer.append(TEXT_285); stringBuffer.append(labelSetterName); stringBuffer.append(TEXT_286); stringBuffer.append(importManager.getImportedName(labelFigureClassName)); stringBuffer.append(TEXT_287); if ("org.eclipse.draw2d.Label".equals(labelFigureClassName)) { stringBuffer.append(TEXT_288); } else { stringBuffer.append(TEXT_289); } stringBuffer.append(TEXT_290); if (viewmap instanceof InnerClassViewmap) { String classBody = ((InnerClassViewmap) viewmap).getClassBody(); stringBuffer.append(TEXT_291); stringBuffer.append(classBody); stringBuffer.append(TEXT_292); if (classBody.indexOf("DPtoLP") != -1) { stringBuffer.append(TEXT_293); } } stringBuffer.append(TEXT_294); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.tree.BaseTreeEditPart")); stringBuffer.append(TEXT_295); stringBuffer.append(importManager.getImportedName(genDiagram.getEditorGen().getPlugin().getActivatorQualifiedClassName())); stringBuffer.append(TEXT_296); stringBuffer.append(TEXT_297); stringBuffer.append(TEXT_298); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.EditPolicy")); stringBuffer.append(TEXT_299); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.editpolicies.ComponentEditPolicy")); stringBuffer.append(TEXT_300); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.Command")); stringBuffer.append(TEXT_301); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.requests.GroupRequest")); stringBuffer.append(TEXT_302); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_303); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.util.TransactionUtil")); stringBuffer.append(TEXT_304); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_305); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_306); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_307); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_308); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_309); {TypeModelFacet facet = genNode.getModelFacet();GenFeature childFeature = facet.getChildMetaFeature();GenFeature containmentFeature = facet.getContainmentMetaFeature();if (childFeature != null && childFeature != containmentFeature && !childFeature.isDerived()) { stringBuffer.append(TEXT_310); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_311); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_312); if (containmentFeature.getEcoreFeature().isMany()) { stringBuffer.append(TEXT_313); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_314); stringBuffer.append(importManager.getImportedName(containmentFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_315); stringBuffer.append(containmentFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_316); } else { stringBuffer.append(TEXT_317); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_318); stringBuffer.append(importManager.getImportedName(containmentFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_319); stringBuffer.append(containmentFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_320); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_321); } if (childFeature.getEcoreFeature().isMany()) { stringBuffer.append(TEXT_322); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_323); stringBuffer.append(importManager.getImportedName(childFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_324); stringBuffer.append(childFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_325); } else { stringBuffer.append(TEXT_326); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_327); stringBuffer.append(importManager.getImportedName(childFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_328); stringBuffer.append(childFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_329); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_330); } stringBuffer.append(TEXT_331); } else { if (containmentFeature.getEcoreFeature().isMany()) { stringBuffer.append(TEXT_332); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_333); stringBuffer.append(importManager.getImportedName(containmentFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_334); stringBuffer.append(containmentFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_335); } else { stringBuffer.append(TEXT_336); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_337); stringBuffer.append(importManager.getImportedName(containmentFeature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_338); stringBuffer.append(containmentFeature.getFeatureAccessorName()); stringBuffer.append(TEXT_339); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_340); }} stringBuffer.append(TEXT_341); } /*restrict local vars used in component edit policy*/ if (!isReadOnly) { String editPatternCode = "EDIT_PATTERN"; //declared in labelText.javajetinc, used in directEditCommand.jetinc. stringBuffer.append(TEXT_342); stringBuffer.append(TEXT_343); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.EditPolicy")); stringBuffer.append(TEXT_344); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.editpolicies.DirectEditPolicy")); stringBuffer.append(TEXT_345); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.requests.DirectEditRequest")); stringBuffer.append(TEXT_346); stringBuffer.append(TEXT_347); stringBuffer.append(TEXT_348); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.Command")); stringBuffer.append(TEXT_349); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.requests.DirectEditRequest")); stringBuffer.append(TEXT_350); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_351); stringBuffer.append(importManager.getImportedName("java.text.MessageFormat")); stringBuffer.append(TEXT_352); stringBuffer.append(editPatternCode); stringBuffer.append(TEXT_353); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_354); stringBuffer.append(importManager.getImportedName("java.text.ParseException")); stringBuffer.append(TEXT_355); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_356); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_357); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.util.TransactionUtil")); stringBuffer.append(TEXT_358); stringBuffer.append(primaryView); stringBuffer.append(TEXT_359); if (labelModelFacet instanceof FeatureLabelModelFacet) { GenFeature featureToSet = ((FeatureLabelModelFacet)labelModelFacet).getMetaFeature(); EStructuralFeature ecoreFeature = featureToSet.getEcoreFeature(); stringBuffer.append(TEXT_360); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_361); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_362); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_363); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_364); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_365); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_366); stringBuffer.append(resolvedSemanticElement); stringBuffer.append(TEXT_367); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_368); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_369); stringBuffer.append(importManager.getImportedName(featureToSet.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_370); stringBuffer.append(featureToSet.getFeatureAccessorName()); stringBuffer.append(TEXT_371); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.ParserUtil")); stringBuffer.append(TEXT_372); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.UnexecutableCommand")); stringBuffer.append(TEXT_373); if (ecoreFeature.isMany()) { stringBuffer.append(TEXT_374); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_375); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_376); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.EList")); stringBuffer.append(TEXT_377); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.BasicEList")); stringBuffer.append(TEXT_378); stringBuffer.append(featureToSet.getAccessorName()); stringBuffer.append(TEXT_379); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_380); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.AddCommand")); stringBuffer.append(TEXT_381); } else { stringBuffer.append(TEXT_382); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_383); } stringBuffer.append(TEXT_384); } else if (labelModelFacet instanceof CompositeFeatureLabelModelFacet) { CompositeFeatureLabelModelFacet compositeFeatureLabelModelFacet = (CompositeFeatureLabelModelFacet) labelModelFacet; List metaFeatures = compositeFeatureLabelModelFacet.getMetaFeatures(); stringBuffer.append(TEXT_385); stringBuffer.append(metaFeatures.size()); stringBuffer.append(TEXT_386); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_387); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_388); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_389); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_390); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_391); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_392); stringBuffer.append(resolvedSemanticElement); stringBuffer.append(TEXT_393); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_394); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_395); boolean haveDeclaredValues = false; for(int i = 0; i < metaFeatures.size(); i++) { GenFeature nextFeatureToSet = (GenFeature) metaFeatures.get(i); EStructuralFeature nextEcoreFeature = nextFeatureToSet.getEcoreFeature(); stringBuffer.append(TEXT_396); if (i == 0) { stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_397); } stringBuffer.append(TEXT_398); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_399); stringBuffer.append(importManager.getImportedName(nextFeatureToSet.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_400); stringBuffer.append(nextFeatureToSet.getFeatureAccessorName()); stringBuffer.append(TEXT_401); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.ParserUtil")); stringBuffer.append(TEXT_402); stringBuffer.append(i); stringBuffer.append(TEXT_403); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.UnexecutableCommand")); stringBuffer.append(TEXT_404); if (nextEcoreFeature.isMany()) { stringBuffer.append(TEXT_405); if (!haveDeclaredValues) { haveDeclaredValues = true; stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.EList")); stringBuffer.append(TEXT_406); } stringBuffer.append(TEXT_407); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.BasicEList")); stringBuffer.append(TEXT_408); stringBuffer.append(nextFeatureToSet.getAccessorName()); stringBuffer.append(TEXT_409); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_410); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.AddCommand")); stringBuffer.append(TEXT_411); } else { stringBuffer.append(TEXT_412); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_413); } } stringBuffer.append(TEXT_414); } stringBuffer.append(TEXT_415); } stringBuffer.append(TEXT_416); stringBuffer.append(TEXT_417); stringBuffer.append(TEXT_418); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.TreeDirectEditManager")); stringBuffer.append(TEXT_419); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.Request")); stringBuffer.append(TEXT_420); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.RequestConstants")); stringBuffer.append(TEXT_421); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.TreeDirectEditManager")); stringBuffer.append(TEXT_422); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.TreeDirectEditManager")); stringBuffer.append(TEXT_423); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.TextCellEditor")); stringBuffer.append(TEXT_424); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.tools.CellEditorLocator")); stringBuffer.append(TEXT_425); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.CellEditor")); stringBuffer.append(TEXT_426); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.TreeItem")); stringBuffer.append(TEXT_427); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.TreeItem")); stringBuffer.append(TEXT_428); stringBuffer.append(TEXT_429); stringBuffer.append(TEXT_430); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.RefreshAdapter")); stringBuffer.append(TEXT_431); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.RefreshAdapter")); stringBuffer.append(TEXT_432); if (labelModelFacet instanceof FeatureLabelModelFacet) { FeatureLabelModelFacet compositeFeatureLabelModelFacet = (FeatureLabelModelFacet) labelModelFacet; for(Iterator it = compositeFeatureLabelModelFacet.getMetaFeatures().iterator(); it.hasNext(); ) { GenFeature next = (GenFeature) it.next(); stringBuffer.append(TEXT_433); stringBuffer.append(importManager.getImportedName(next.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_434); stringBuffer.append(next.getFeatureAccessorName()); stringBuffer.append(TEXT_435); }} stringBuffer.append(TEXT_436); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_437); stringBuffer.append(importManager.getImportedName("java.util.Collections")); stringBuffer.append(TEXT_438); importManager.emitSortedImports(); stringBuffer.append(TEXT_439); return stringBuffer.toString(); }
7409 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7409/de70953cec74fbba0ed0cfbed37c36c0b594b3db/ChildNodeEditPartGenerator.java/clean/plugins/org.eclipse.gmf.codegen.lite/src-templates/org/eclipse/gmf/codegen/templates/lite/parts/ChildNodeEditPartGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 2103, 12, 921, 1237, 13, 225, 288, 565, 727, 6674, 533, 1892, 273, 394, 6674, 5621, 565, 727, 10938, 6517, 2171, 3157, 1046, 273, 261, 7642, 6517, 2171, 13, 14015, 921, 63, 5717, 1237, 25146, 20, 15533, 6385, 10938, 1763, 2224, 907, 3157, 25550, 273, 261, 7642, 1763, 2224, 907, 13, 4507, 1046, 31, 7642, 907, 3157, 2594, 273, 3157, 25550, 31, 7642, 907, 3157, 907, 273, 3157, 25550, 31, 202, 20308, 1401, 1399, 635, 1794, 4666, 2582, 18, 6290, 78, 278, 9523, 5549, 7642, 797, 6808, 2781, 797, 273, 3157, 2594, 18, 588, 3748, 2781, 797, 5621, 7642, 14058, 1940, 3157, 14058, 1940, 273, 3157, 25550, 18, 588, 14058, 1940, 5621, 6385, 6164, 2610, 17175, 1930, 1318, 273, 261, 5010, 2610, 17175, 13, 14015, 921, 63, 5717, 1237, 25146, 21, 15533, 2224, 1488, 11137, 1433, 1488, 11137, 273, 3157, 25550, 18, 588, 2224, 1488, 11137, 5621, 6385, 1250, 26249, 273, 3157, 25550, 18, 291, 2224, 12066, 5621, 565, 533, 1892, 18, 6923, 12, 5151, 67, 21, 1769, 565, 514, 22245, 1528, 273, 3157, 14058, 1940, 18, 588, 6946, 7642, 7675, 588, 2951, 4083, 1528, 5621, 430, 261, 29187, 1528, 480, 446, 597, 22245, 1528, 18, 5290, 7675, 2469, 1435, 405, 374, 13, 288, 565, 533, 1892, 18, 6923, 12, 5151, 67, 22, 1769, 565, 533, 1892, 18, 6923, 12, 29187, 1528, 18, 2079, 1595, 31458, 82, 3113, 1548, 82, 380, 9369, 1769, 565, 533, 1892, 18, 6923, 12, 5151, 67, 23, 1769, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 2103, 12, 921, 1237, 13, 225, 288, 565, 727, 6674, 533, 1892, 273, 394, 6674, 5621, 565, 727, 10938, 6517, 2171, 3157, 1046, 273, 261, 7642, 6517, 2171, 13, 14015, 921, 63, 5717, 1237, 25146, 20, 15533, 6385, 10938, 1763, 2224, 907, 3157, 25550, 273, 261, 7642, 1763, 2224, 907, 13, 4507, 1046, 31, 7642, 907, 3157, 2594, 273, 3157, 25550, 31, 7642, 907, 3157, 907, 273, 3157, 25550, 31, 202, 20308, 1401, 1399, 635, 1794, 4666, 2582, 18, 6290, 78, 278, 9523, 5549, 7642, 797, 6808, 2781, 797, 273, 3157, 2594, 18, 588, 3748, 2781, 797, 5621, 7642, 14058, 1940, 3157, 14058, 1940, 273, 3157, 25550, 18, 588, 14058, 1940, 5621, 6385, 6164, 2610, 17175, 2 ]
if (aClass.getName() != null) { final PsiFile[] formsBoundToClass = psiElement.getManager().getSearchHelper().findFormsBoundToClass(aClass.getQualifiedName());
final String qName = aClass.getQualifiedName(); if (qName != null) { final PsiFile[] formsBoundToClass = psiElement.getManager().getSearchHelper().findFormsBoundToClass(qName);
public void annotate(PsiElement psiElement, AnnotationHolder holder) { if (psiElement instanceof PsiField) { PsiField field = (PsiField) psiElement; final PsiFile boundForm = CodeInsightUtil.getFormFile(field); if (boundForm != null) { annotateFormField(field, boundForm, holder); } } else if (psiElement instanceof PsiClass) { PsiClass aClass = (PsiClass) psiElement; if (aClass.getName() != null) { final PsiFile[] formsBoundToClass = psiElement.getManager().getSearchHelper().findFormsBoundToClass(aClass.getQualifiedName()); if (formsBoundToClass.length > 0) { Annotation boundClassAnnotation = holder.createInfoAnnotation(aClass.getNameIdentifier(), null); boundClassAnnotation.setGutterIconRenderer(new BoundIconRenderer(aClass)); } } } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/43c35bca8f2dce50d7bec61dbcf3ddf46ff1942f/FormClassAnnotator.java/buggy/ui-designer/impl/com/intellij/uiDesigner/binding/FormClassAnnotator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 13795, 12, 52, 7722, 1046, 23921, 1046, 16, 6090, 6064, 10438, 13, 288, 565, 309, 261, 24275, 1046, 1276, 453, 7722, 974, 13, 288, 1377, 453, 7722, 974, 652, 273, 261, 52, 7722, 974, 13, 23921, 1046, 31, 1377, 727, 453, 7722, 812, 2489, 1204, 273, 3356, 5048, 750, 1304, 18, 588, 1204, 812, 12, 1518, 1769, 1377, 309, 261, 3653, 1204, 480, 446, 13, 288, 3639, 13795, 27317, 12, 1518, 16, 2489, 1204, 16, 10438, 1769, 1377, 289, 565, 289, 565, 469, 309, 261, 24275, 1046, 1276, 453, 7722, 797, 13, 288, 1377, 453, 7722, 797, 20148, 273, 261, 52, 7722, 797, 13, 23921, 1046, 31, 1377, 309, 261, 69, 797, 18, 17994, 1435, 480, 446, 13, 288, 3639, 727, 453, 7722, 812, 8526, 10138, 3499, 774, 797, 273, 23921, 1046, 18, 588, 1318, 7675, 588, 2979, 2276, 7675, 4720, 18529, 3499, 774, 797, 12, 69, 797, 18, 588, 12345, 10663, 3639, 309, 261, 9741, 3499, 774, 797, 18, 2469, 405, 374, 13, 288, 1850, 6090, 2489, 797, 3257, 273, 10438, 18, 2640, 966, 3257, 12, 69, 797, 18, 17994, 3004, 9334, 446, 1769, 1850, 2489, 797, 3257, 18, 542, 43, 18220, 5554, 6747, 12, 2704, 12281, 5554, 6747, 12, 69, 797, 10019, 3639, 289, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 13795, 12, 52, 7722, 1046, 23921, 1046, 16, 6090, 6064, 10438, 13, 288, 565, 309, 261, 24275, 1046, 1276, 453, 7722, 974, 13, 288, 1377, 453, 7722, 974, 652, 273, 261, 52, 7722, 974, 13, 23921, 1046, 31, 1377, 727, 453, 7722, 812, 2489, 1204, 273, 3356, 5048, 750, 1304, 18, 588, 1204, 812, 12, 1518, 1769, 1377, 309, 261, 3653, 1204, 480, 446, 13, 288, 3639, 13795, 27317, 12, 1518, 16, 2489, 1204, 16, 10438, 1769, 1377, 289, 565, 289, 565, 469, 309, 261, 24275, 1046, 1276, 453, 7722, 797, 13, 288, 1377, 453, 7722, 797, 20148, 273, 261, 52, 7722, 797, 13, 23921, 1046, 31, 1377, 309, 261, 69, 797, 18, 17994, 1435, 480, 2 ]
public Object execMethod (int methodId, IdFunction function, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case Id_abs: return wrap_double (js_abs(ScriptRuntime.toNumber(args, 0))); case Id_acos: return wrap_double (js_acos(ScriptRuntime.toNumber(args, 0))); case Id_asin: return wrap_double (js_asin(ScriptRuntime.toNumber(args, 0))); case Id_atan: return wrap_double (js_atan(ScriptRuntime.toNumber(args, 0))); case Id_atan2: return wrap_double (js_atan2(ScriptRuntime.toNumber(args, 0), ScriptRuntime.toNumber(args, 1))); case Id_ceil: return wrap_double (js_ceil(ScriptRuntime.toNumber(args, 0))); case Id_cos: return wrap_double (js_cos(ScriptRuntime.toNumber(args, 0))); case Id_exp: return wrap_double (js_exp(ScriptRuntime.toNumber(args, 0))); case Id_floor: return wrap_double (js_floor(ScriptRuntime.toNumber(args, 0))); case Id_log: return wrap_double (js_log(ScriptRuntime.toNumber(args, 0))); case Id_max: return wrap_double (js_max(args)); case Id_min: return wrap_double (js_min(args)); case Id_pow: return wrap_double (js_pow(ScriptRuntime.toNumber(args, 0), ScriptRuntime.toNumber(args, 1))); case Id_random: return wrap_double (js_random()); case Id_round: return wrap_double (js_round(ScriptRuntime.toNumber(args, 0))); case Id_sin: return wrap_double (js_sin(ScriptRuntime.toNumber(args, 0))); case Id_sqrt: return wrap_double (js_sqrt(ScriptRuntime.toNumber(args, 0))); case Id_tan: return wrap_double (js_tan(ScriptRuntime.toNumber(args, 0))); } return null; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeMath.java/clean/js/rhino/src/org/mozilla/javascript/NativeMath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 445, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 10792, 648, 3124, 67, 5113, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 5113, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 1077, 538, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 1077, 538, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 345, 267, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 345, 267, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 270, 304, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 270, 304, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 270, 304, 22, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 270, 304, 22, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3631, 12900, 7739, 5576, 18, 869, 1854, 12, 1968, 16, 404, 3719, 1769, 13491, 648, 3124, 67, 311, 330, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 311, 330, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 14445, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 14445, 12, 3651, 5576, 18, 869, 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, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 445, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 10792, 648, 3124, 67, 5113, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 5113, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 1077, 538, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 1077, 538, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 345, 267, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 345, 267, 12, 3651, 5576, 18, 2 ]
-1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 0, 343, 41, -1, -1, 44, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, 0, -1, -1, -1, -1, -1, -1, 58, 59, -1, 10, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 41, 93, -1, 44, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, 58, 59, -1, 10, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, 125, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, -1, -1, 41, 93, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 325, 326, -1, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, 125, -1, -1, -1, 343, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 93, -1, -1, 58, 59, -1, -1, -1, 63, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 325, 326, -1, -1, 329, 330, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 125, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 325, 326, -1, -1, 329, 330, -1, 281, 282, -1, -1, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 338, 125, -1, -1, -1, 343, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 93, -1, -1, 58, 59, -1, -1, -1, 63, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 325, 326, -1, -1, 329, 330, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 125, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, -1, -1, -1, -1, -1, -1, -1, -1,
private static final short[] yyCheck3() { return new short[] { -1, -1, 10, -1, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 37, 38, -1, -1, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, 124, 125, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, 333, 334, -1, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, 93, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, -1, 37, 38, -1, 343, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, 93, 94, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, 43, 44, 45, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, 326, 62, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 0, 343, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, 43, 44, 45, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 124, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, 38, -1, 338, 41, -1, -1, 44, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, 37, 38, -1, 93, 94, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, 60, 41, 62, 63, 44, -1, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 94, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, -1, 44, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 124, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, 94, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, 60, -1, 62, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 318, 319, 320, 321, 322, 323, 324, 93, 94, 327, 328, -1, -1, -1, -1, 333, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 125, -1, -1, -1, -1, -1, 281, 282, -1, 94, -1, 96, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, 126, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 0, 293, 294, 295, 296, 297, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 41, -1, -1, 44, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, 58, 59, 60, -1, 62, 63, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 0, 293, 294, 295, 296, 297, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 41, -1, -1, 44, -1, 338, -1, 125, -1, -1, 343, 304, 305, -1, -1, 308, -1, 58, 59, 60, -1, 62, 63, 316, 317, 318, 319, 320, 321, -1, 323, 324, 0, -1, 327, -1, -1, -1, 331, 332, 333, 334, 10, -1, -1, -1, -1, -1, -1, -1, -1, 344, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, 41, -1, -1, 44, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, -1, -1, 93, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 125, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, -1, -1, -1, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, 93, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, 125, -1, 41, -1, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 325, 326, -1, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 0, 343, 41, -1, -1, 44, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, 0, -1, -1, -1, -1, -1, -1, 58, 59, -1, 10, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 41, 93, -1, 44, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, 58, 59, -1, 10, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, 125, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, -1, -1, 41, 93, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 325, 326, -1, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, 125, -1, -1, -1, 343, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 93, -1, -1, 58, 59, -1, -1, -1, 63, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 325, 326, -1, -1, 329, 330, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 125, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 325, 326, -1, -1, 329, 330, -1, 281, 282, -1, -1, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 325, 326, -1, -1, 329, 330, -1, 281, 282, -1, -1, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, 338, 41, -1, -1, 44, 343, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 338, 41, -1, -1, 44, 343, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 41, -1, -1, 44, -1, -1, -1, 125, 10, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 41, -1, -1, 44, -1, -1, 125, 10, -1, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 41, -1, -1, 44, -1, -1, -1, 125, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 125, -1, 281, 282, -1, -1, -1, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, 262, 263, 264, 343, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 0, 343, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, 0, -1, -1, 343, -1, 41, -1, -1, 44, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 41, 343, -1, 44, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 93, 58, 59, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 125, -1, -1, 41, 93, -1, 44, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 125, -1, -1, 41, -1, -1, 44, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, 41, -1, -1, 44, -1, 10, -1, -1, -1, -1, -1, 125, -1, -1, -1, 93, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, 93, 58, 59, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, -1, -1, 125, -1, -1, 10, 93, 290, 291, -1, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, 125, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, 93, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, -1, -1, -1, -1, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, 41, -1, -1, 44, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, 93, 58, 59, 338, -1, -1, -1, -1, 343, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, 94, -1, 125, -1, -1, -1, 93, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 124, -1, -1, -1, -1, -1, -1, -1, 125, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 343, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 0, 91, -1, -1, 94, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 124, 125, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, 91, -1, -1, 94, 290, 291, -1, 293, 294, 295, 296, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 125, -1, -1, -1, -1, -1, -1, -1, 281, 282, 124, 125, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, -1, -1, -1, -1, 333, 334, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 343, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, -1, -1, 338, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 290, 291, 281, 293, 294, 295, 296, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 37, 38, 338, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, 0, 47, -1, -1, -1, -1, 91, -1, -1, 94, 10, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, 124, 125, 41, 42, 43, 44, 45, 46, 47, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 124, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, 91, -1, 0, 94, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, 41, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 91, -1, -1, 94, 10, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, 124, 125, 41, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 125, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 0, -1, 338, 93, -1, -1, -1, -1, -1, -1, 10, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 318, 319, 320, 321, 322, 323, 324, 325, -1, 327, 328, -1, -1, -1, 125, 333, 334, -1, 290, 291, 41, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, -1, 337, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 290, 291, -1, 293, 294, 295, 296, 297, 281, 0, 125, -1, -1, -1, -1, -1, -1, 290, 291, 10, 293, 294, 295, 296, 297, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 59, 60, 61, 62, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, 0, -1, 290, 291, -1, 293, 294, 295, 296, 297, 10, -1, -1, -1, -1, -1, -1, 91, -1, -1, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, 91, 290, 291, 94, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 124, 125, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 336, -1, -1, 339, 340, 341, 342, -1, 126, -1, 346, 347, 348, 349, 350, 351, 33, -1, 290, 291, 356, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 126, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 256, 257, 258, 259, 260, 261, 59, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, }; }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/clean/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 23, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 300, 21, 16, 282, 1728, 16, 282, 300, 21, 16, 225, 890, 8942, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 225, 2593, 24, 16, 225, 30616, 16, 282, 18091, 16, 5411, 18012, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 20170, 16, 282, 14856, 16, 282, 21193, 16, 282, 13291, 16, 282, 12292, 16, 282, 300, 21, 16, 282, 17495, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 17066, 16, 282, 14995, 16, 282, 4752, 16, 282, 300, 21, 16, 282, 22684, 16, 282, 13746, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 23, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 300, 21, 16, 282, 1728, 16, 282, 300, 21, 16, 225, 890, 8942, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 2 ]
public Document buildDocument(Publication publication, String url) throws DocumentBuildException { String publicationURI = url.substring(("/" + publication.getId()).length()); String area = publicationURI.split("/")[1]; String documentURL = publicationURI.substring(("/" + area).length()); String originalURL = documentURL; String extension = getExtension(documentURL); String fullExtension = "".equals(extension) ? "" : ("." + extension); documentURL = documentURL.substring(0, documentURL.length() - fullExtension.length()); String language = getLanguage(documentURL); String fullLanguage = "".equals(language) ? "" : ("_" + language); documentURL = documentURL.substring(0, documentURL.length() - fullLanguage.length()); boolean defaultLanguageForced = false; if ("".equals(language)) { defaultLanguageForced = true; language = publication.getDefaultLanguage(); } String documentId = documentURL; if (!documentId.startsWith("/")) { throw new DocumentBuildException("Document ID [" + documentId + "] does not start with '/'!"); } DefaultDocument document = new DefaultDocument(publication, documentId, area, language); document.setExtension(extension); document.setDocumentURL(originalURL); if (defaultLanguageForced) { // unfortunatelly we cannot count on the document to always be available // in the default language. So if the default language is not in the list // of available languages for this document, simply use the first available // language. HashMap languagesMap = new HashMap(); String[] languages = null; try { languages = document.getLanguages(); } catch (DocumentException e) { throw new DocumentBuildException(e); } // If the document has no languages, we'll just leave it // as it is (i.e. we leave it at the default language) if (languages.length > 0) { for (int i = 0; i < languages.length; i++) { languagesMap.put(languages[i], languages[i]); } if (!languagesMap.containsKey(document.getLanguage())) { document.setLanguage(languages[0]); } } } return document; }
45951 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45951/a2c6e659b6d17da7ee0b0b31f137627c13fc6144/DefaultDocumentBuilder.java/buggy/src/java/org/apache/lenya/cms/publication/DefaultDocumentBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2519, 3510, 2519, 12, 4782, 367, 28631, 16, 780, 718, 13, 15069, 2519, 3116, 503, 95, 780, 28631, 3098, 33, 718, 18, 28023, 12, 2932, 4898, 15, 28631, 18, 26321, 1435, 2934, 2469, 10663, 780, 5036, 33, 28631, 3098, 18, 4939, 2932, 4898, 25146, 21, 15533, 780, 5457, 1785, 33, 28631, 3098, 18, 28023, 12, 2932, 4898, 15, 5036, 2934, 2469, 10663, 780, 8830, 1785, 33, 5457, 1785, 31, 780, 6447, 33, 588, 3625, 12, 5457, 1785, 1769, 780, 2854, 3625, 1546, 9654, 14963, 12, 6447, 9945, 3660, 30, 2932, 1199, 15, 6447, 1769, 5457, 1785, 33, 5457, 1785, 18, 28023, 12, 20, 16, 5457, 1785, 18, 2469, 1435, 17, 2854, 3625, 18, 2469, 10663, 780, 4923, 33, 588, 3779, 12, 5457, 1785, 1769, 780, 2854, 3779, 1546, 9654, 14963, 12, 4923, 9945, 3660, 30, 2932, 9548, 15, 4923, 1769, 5457, 1785, 33, 5457, 1785, 18, 28023, 12, 20, 16, 5457, 1785, 18, 2469, 1435, 17, 2854, 3779, 18, 2469, 10663, 6494, 1886, 3779, 1290, 3263, 33, 5743, 31, 430, 2932, 9654, 14963, 12, 4923, 3719, 95, 1886, 3779, 1290, 3263, 33, 3767, 31, 4923, 33, 28631, 18, 588, 1868, 3779, 5621, 97, 780, 5457, 548, 33, 5457, 1785, 31, 430, 12, 5, 5457, 548, 18, 17514, 1190, 2932, 4898, 3719, 95, 12849, 2704, 2519, 3116, 503, 2932, 2519, 734, 9614, 15, 5457, 548, 9078, 65, 20657, 902, 1937, 1918, 11, 2473, 4442, 1769, 97, 1868, 2519, 5457, 33, 2704, 1868, 2519, 12, 28631, 16, 5457, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2519, 3510, 2519, 12, 4782, 367, 28631, 16, 780, 718, 13, 15069, 2519, 3116, 503, 95, 780, 28631, 3098, 33, 718, 18, 28023, 12, 2932, 4898, 15, 28631, 18, 26321, 1435, 2934, 2469, 10663, 780, 5036, 33, 28631, 3098, 18, 4939, 2932, 4898, 25146, 21, 15533, 780, 5457, 1785, 33, 28631, 3098, 18, 28023, 12, 2932, 4898, 15, 5036, 2934, 2469, 10663, 780, 8830, 1785, 33, 5457, 1785, 31, 780, 6447, 33, 588, 3625, 12, 5457, 1785, 1769, 780, 2854, 3625, 1546, 9654, 14963, 12, 6447, 9945, 3660, 30, 2932, 1199, 15, 6447, 1769, 5457, 1785, 33, 5457, 1785, 18, 28023, 12, 20, 16, 5457, 1785, 18, 2469, 1435, 17, 2854, 3625, 18, 2469, 10663, 780, 4923, 33, 2 ]
new HtmlPolicy(settings), null, null), settings);
new HtmlPolicy(settings), null, null));
public XHTMLLanguage() { super("XHTML", "text/xhtml"); myFormattingModelBuilder = new FormattingModelBuilder() { public FormattingModel createModel(final PsiElement element, final CodeStyleSettings settings) { return new PsiBasedFormattingModel(element.getContainingFile(), new XmlBlock(SourceTreeToPsiMap.psiElementToTree(element), null, null, new HtmlPolicy(settings), null, null), settings); } }; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/8440b555a5532a243be03bd555d1348ef20331b3/XHTMLLanguage.java/clean/source/com/intellij/lang/xhtml/XHTMLLanguage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 30551, 3779, 1435, 288, 565, 2240, 2932, 60, 4870, 3113, 315, 955, 19, 26341, 8863, 565, 3399, 23974, 1488, 1263, 273, 394, 4077, 1787, 1488, 1263, 1435, 288, 1377, 1071, 4077, 1787, 1488, 15552, 12, 6385, 453, 7722, 1046, 930, 16, 727, 3356, 2885, 2628, 1947, 13, 288, 3639, 327, 394, 453, 7722, 9802, 23974, 1488, 12, 2956, 18, 588, 24344, 812, 9334, 4766, 6647, 394, 5714, 1768, 12, 1830, 2471, 774, 52, 7722, 863, 18, 24275, 1046, 774, 2471, 12, 2956, 3631, 4766, 13491, 446, 16, 446, 16, 4766, 13491, 394, 5430, 2582, 12, 4272, 3631, 446, 16, 446, 10019, 1377, 289, 565, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 30551, 3779, 1435, 288, 565, 2240, 2932, 60, 4870, 3113, 315, 955, 19, 26341, 8863, 565, 3399, 23974, 1488, 1263, 273, 394, 4077, 1787, 1488, 1263, 1435, 288, 1377, 1071, 4077, 1787, 1488, 15552, 12, 6385, 453, 7722, 1046, 930, 16, 727, 3356, 2885, 2628, 1947, 13, 288, 3639, 327, 394, 453, 7722, 9802, 23974, 1488, 12, 2956, 18, 588, 24344, 812, 9334, 4766, 6647, 394, 5714, 1768, 12, 1830, 2471, 774, 52, 7722, 863, 18, 24275, 1046, 774, 2471, 12, 2956, 3631, 4766, 13491, 446, 16, 446, 16, 4766, 13491, 394, 5430, 2582, 12, 4272, 3631, 446, 16, 446, 10019, 1377, 289, 565, 289, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
MylarTasklistPlugin.ReportOpenMode mode = MylarTasklistPlugin.getDefault().getReportMode(); if (mode == MylarTasklistPlugin.ReportOpenMode.EDITOR) {
MylarTaskListPlugin.ReportOpenMode mode = MylarTaskListPlugin.getDefault().getReportMode(); if (mode == MylarTaskListPlugin.ReportOpenMode.EDITOR) {
public void itemOpened(ITaskListElement element) { boolean offline = MylarTasklistPlugin.getPrefs().getBoolean(MylarPlugin.WORK_OFFLINE); if (element instanceof BugzillaTask) { BugzillaTask t = (BugzillaTask) element; MylarTasklistPlugin.ReportOpenMode mode = MylarTasklistPlugin.getDefault().getReportMode(); if (mode == MylarTasklistPlugin.ReportOpenMode.EDITOR) { t.openTaskInEditor(offline); } else if (mode == MylarTasklistPlugin.ReportOpenMode.INTERNAL_BROWSER) { if(offline){ MessageDialog.openInformation(null, "Unable to open bug", "Unable to open the selected bugzilla task since you are currently offline"); return; } String title = "Bug #" + BugzillaTask.getBugId(t.getHandleIdentifier()); BugzillaUITools.openUrl(title, title, t.getBugUrl()); } else { // not supported } } else if(element instanceof BugzillaCustomQuery){ BugzillaCustomQuery queryCategory = (BugzillaCustomQuery)element; BugzillaCustomQueryDialog sqd = new BugzillaCustomQueryDialog(Display.getCurrent().getActiveShell(), queryCategory.getQueryString(), queryCategory.getDescription(false), queryCategory.getMaxHits()+""); if(sqd.open() == Dialog.OK){ queryCategory.setDescription(sqd.getName()); queryCategory.setQueryString(sqd.getUrl()); int maxHits = -1; try{ maxHits = Integer.parseInt(sqd.getMaxHits()); } catch(Exception e){} queryCategory.setMaxHits(maxHits); new RefreshBugzillaAction(queryCategory).run(); } }else if (element instanceof BugzillaQueryCategory){ BugzillaQueryCategory queryCategory = (BugzillaQueryCategory)element; BugzillaQueryDialog sqd = new BugzillaQueryDialog(Display.getCurrent().getActiveShell(), queryCategory.getQueryString(), queryCategory.getDescription(false), queryCategory.getMaxHits()+""); if(sqd.open() == Dialog.OK){ queryCategory.setDescription(sqd.getName()); queryCategory.setQueryString(sqd.getUrl()); int maxHits = -1; try{ maxHits = Integer.parseInt(sqd.getMaxHits()); } catch(Exception e){} queryCategory.setMaxHits(maxHits); new RefreshBugzillaAction(queryCategory).run(); } } else if(element instanceof BugzillaHit){ BugzillaHit hit = (BugzillaHit)element; MylarTasklistPlugin.ReportOpenMode mode = MylarTasklistPlugin.getDefault().getReportMode(); if (mode == MylarTasklistPlugin.ReportOpenMode.EDITOR) { if(hit.hasCorrespondingActivatableTask()){ hit.getAssociatedTask().openTaskInEditor(offline); } else { if(offline){ MessageDialog.openInformation(null, "Unable to open bug", "Unable to open the selected bugzilla report since you are currently offline"); return; } BugzillaOpenStructure open = new BugzillaOpenStructure(((BugzillaHit)element).getServerName(), ((BugzillaHit)element).getID(),-1); List<BugzillaOpenStructure> selectedBugs = new ArrayList<BugzillaOpenStructure>(); selectedBugs.add(open); ViewBugzillaAction viewBugs = new ViewBugzillaAction("Display bugs in editor", selectedBugs); viewBugs.schedule(); } } else if (mode == MylarTasklistPlugin.ReportOpenMode.INTERNAL_BROWSER) { if(offline){ MessageDialog.openInformation(null, "Unable to open bug", "Unable to open the selected bugzilla report since you are currently offline"); return; } String title = "Bug #" + BugzillaTask.getBugId(hit.getHandleIdentifier()); BugzillaUITools.openUrl(title, title, hit.getBugUrl()); } else { // not supported } } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/7434c54adb9b67993df3b0ee032cca0eaf5003f3/BugzillaTaskHandler.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 761, 23115, 12, 1285, 835, 682, 1046, 930, 13, 288, 202, 202, 6494, 13493, 273, 8005, 7901, 2174, 1098, 3773, 18, 588, 1386, 2556, 7675, 588, 5507, 12, 12062, 7901, 3773, 18, 10566, 67, 8797, 5997, 1769, 9506, 202, 430, 261, 2956, 1276, 16907, 15990, 2174, 13, 288, 1082, 202, 19865, 15990, 2174, 268, 273, 261, 19865, 15990, 2174, 13, 930, 31, 1082, 202, 12062, 7901, 2174, 1098, 3773, 18, 4820, 3678, 2309, 1965, 273, 8005, 7901, 2174, 1098, 3773, 18, 588, 1868, 7675, 588, 4820, 2309, 5621, 1082, 202, 430, 261, 3188, 422, 8005, 7901, 2174, 1098, 3773, 18, 4820, 3678, 2309, 18, 13208, 13, 288, 9506, 202, 88, 18, 3190, 2174, 382, 6946, 12, 23787, 1769, 1082, 202, 97, 469, 309, 261, 3188, 422, 8005, 7901, 2174, 1098, 3773, 18, 4820, 3678, 2309, 18, 14005, 67, 38, 24846, 13, 288, 9506, 202, 430, 12, 23787, 15329, 6862, 202, 1079, 6353, 18, 3190, 5369, 12, 2011, 16, 315, 3370, 358, 1696, 7934, 3113, 315, 3370, 358, 1696, 326, 3170, 7934, 15990, 1562, 3241, 1846, 854, 4551, 13493, 8863, 202, 377, 1082, 202, 2463, 31, 202, 377, 202, 202, 97, 9506, 202, 780, 2077, 273, 315, 19865, 31526, 397, 16907, 15990, 2174, 18, 588, 19865, 548, 12, 88, 18, 588, 3259, 3004, 10663, 9506, 202, 19865, 15990, 5370, 10348, 18, 3190, 1489, 12, 2649, 16, 2077, 16, 268, 18, 588, 19865, 1489, 10663, 202, 377, 25083, 202, 97, 469, 288, 9506, 202, 759, 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, 761, 23115, 12, 1285, 835, 682, 1046, 930, 13, 288, 202, 202, 6494, 13493, 273, 8005, 7901, 2174, 1098, 3773, 18, 588, 1386, 2556, 7675, 588, 5507, 12, 12062, 7901, 3773, 18, 10566, 67, 8797, 5997, 1769, 9506, 202, 430, 261, 2956, 1276, 16907, 15990, 2174, 13, 288, 1082, 202, 19865, 15990, 2174, 268, 273, 261, 19865, 15990, 2174, 13, 930, 31, 1082, 202, 12062, 7901, 2174, 1098, 3773, 18, 4820, 3678, 2309, 1965, 273, 8005, 7901, 2174, 1098, 3773, 18, 588, 1868, 7675, 588, 4820, 2309, 5621, 1082, 202, 430, 261, 3188, 422, 8005, 7901, 2174, 1098, 3773, 18, 4820, 3678, 2309, 18, 13208, 13, 288, 9506, 202, 88, 18, 3190, 2174, 382, 6946, 2 ]
public boolean contains( IProject project ) { ISourceContainer[] containers = getSourceContainers(); for ( int i = 0; i < containers.length; ++i ) { if ( contains( containers[i], project ) ) return true;
public boolean contains( ICBreakpoint breakpoint ) { try { String handle = breakpoint.getSourceHandle(); IMarker marker = breakpoint.getMarker(); if ( marker != null ) { IResource resource = marker.getResource(); if ( resource.isLinked() && resource.getLocation().toOSString().equals( handle ) ) { return contains( resource.getProject() ); } } ISourceContainer[] containers = getSourceContainers(); for ( int i = 0; i < containers.length; ++i ) { if ( contains( containers[i], handle ) ) return true; } } catch( CoreException e ) {
public boolean contains( IProject project ) { ISourceContainer[] containers = getSourceContainers(); for ( int i = 0; i < containers.length; ++i ) { if ( contains( containers[i], project ) ) return true; } return false; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/29c2e5c8da5705891d5959032922ddcc05fab2c8/CSourceLookupDirector.java/clean/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/CSourceLookupDirector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1914, 12, 467, 4109, 1984, 262, 288, 202, 202, 45, 1830, 2170, 8526, 8475, 273, 7889, 11177, 5621, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 8475, 18, 2469, 31, 965, 77, 262, 288, 1082, 202, 430, 261, 1914, 12, 8475, 63, 77, 6487, 1984, 262, 262, 9506, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1914, 12, 467, 4109, 1984, 262, 288, 202, 202, 45, 1830, 2170, 8526, 8475, 273, 7889, 11177, 5621, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 8475, 18, 2469, 31, 965, 77, 262, 288, 1082, 202, 430, 261, 1914, 12, 8475, 63, 77, 6487, 1984, 262, 262, 9506, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 629, 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 ]
visible += (int)(charactersInRun*visibleGlyphs/glyphs);
visible += (charactersInRun*visibleGlyphs/glyphs);
protected CharacterInformation getCharacterInformation (List list,int startIndex, int charnum, AttributedCharacterIterator aci) { int visible = 0; int k = 0; StrokingTextPainter.TextRun run = null; for( k = startIndex ; (visible < (charnum+1)) ; k++ ){ for( int l = 0 ; l < list.size() && (visible < (charnum+1)) ; l++ ){ run = (StrokingTextPainter.TextRun)list.get(l); TextSpanLayout layout = run.getLayout(); if ( layout.hasCharacterIndex(k) ){ if ( layout.isOnATextPath() ){ GVTGlyphVector vector = layout.getGlyphVector(); //alt glyph ? if ( layout.isAltGlyph() ){ //get the number of glyph visible here int glyphs = vector.getNumGlyphs(); int visibleGlyphs = 0; for( int h=0 ; h < glyphs ; h++ ){ if ( vector.isGlyphVisible(h)){ visibleGlyphs++; } } //get the number of character associated //to this run int charactersInRun = 1; while ( layout.hasCharacterIndex( k+1 )){ charactersInRun++; k++; } visible += (int)(charactersInRun*visibleGlyphs/glyphs); if ( visible > charnum +1 ){ visible = charnum +1; } } else{ int lastGlyphIndexFound = -1; do{ int glyphIndex = layout.getGlyphIndex(k); if( glyphIndex == -1 ){ //probable missing glyph if ( layout.isLeftToRight() ){ glyphIndex = 1 + lastGlyphIndexFound; } else{ glyphIndex = ( lastGlyphIndexFound == -1) ? vector.getNumGlyphs()-1 : lastGlyphIndexFound -1; } } lastGlyphIndexFound = glyphIndex; if ( vector.isGlyphVisible( glyphIndex ) ){ visible++; } k++; }while ((visible < (charnum+1)) && layout.hasCharacterIndex(k) ); //got one too far k--; } } else{ visible++; while ( (visible < (charnum+1)) && layout.hasCharacterIndex(k+1) ){ k++; visible++; } } } } } if ( visible != charnum+1 ){ return null; } CharacterInformation info = new CharacterInformation(); info.characterIndex = k-1; info.layout = run.getLayout(); //check is it is a altGlyph if ( info.layout.isAltGlyph() ){ //first visible glyph, last visible glyph info.glyphIndexStart = 0; info.glyphIndexEnd = info.layout.getGlyphCount()-1; boolean visibleGlyph = false; GVTGlyphVector vector = info.layout.getGlyphVector(); for( int j = 0 ; j < vector.getNumGlyphs() ; j++ ){ if ( !visibleGlyph && vector.isGlyphVisible(j) ){ info.glyphIndexStart = j; visibleGlyph = true; } if ( visibleGlyph && (!vector.isGlyphVisible(j)) ){ info.glyphIndexEnd = j-1; break; } } } else{ info.glyphIndexStart = info.layout.getGlyphIndex (info.characterIndex); //special case when the missing glyph does not have a unicode //associated to it, it will return -1 if ( info.glyphIndexStart == -1 ){ if ( info.layout.isLeftToRight() ){ info.glyphIndexStart = info.layout.getGlyphIndex( info.characterIndex-1 )+1; } else{ info.glyphIndexStart = info.layout.getGlyphIndex( info.characterIndex+1 ) -1; if ( info.glyphIndexStart == -2 ){ info.glyphIndexStart = info.layout.getGlyphCount()-1; } } } info.glyphIndexEnd = info.glyphIndexStart; } return info; /* CharacterInformation info = new CharacterInformation(); info.characterIndex = characterIndex; boolean found = false; for (int i = 0 ; i < list.size() && !found ; i++) { StrokingTextPainter.TextRun run = (StrokingTextPainter.TextRun)list.get(i); if ( run.getLayout().hasCharacterIndex(info.characterIndex) ){ info.layout = run.getLayout(); aci.setIndex(info.characterIndex); //check is it is a altGlyph if ( aci.getAttribute(GVTAttributedCharacterIterator. TextAttribute.ALT_GLYPH_HANDLER) != null ){ info.glyphIndexStart = 0; info.glyphIndexEnd = info.layout.getGlyphCount()-1; } else{ info.glyphIndexStart = info.layout.getGlyphIndex (info.characterIndex); //special case when the glyph does not have a unicode //associated to it, it will return -1 if ( info.glyphIndexStart == -1 ){ info.glyphIndexStart = 0; info.glyphIndexEnd = info.layout.getGlyphCount()-1; } else{ info.glyphIndexEnd = info.glyphIndexStart; } } found = true; } } if ( !found ){ return( null ); } else{ return( info ); } */ }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/37794489f7dedd0c74c1b7ae67e92cf8d877b256/SVGTextElementBridge.java/buggy/sources/org/apache/batik/bridge/SVGTextElementBridge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 6577, 5369, 31306, 5369, 3639, 261, 682, 666, 16, 474, 10588, 16, 509, 1149, 2107, 16, 2380, 11050, 7069, 3198, 1721, 77, 13, 565, 288, 3639, 509, 6021, 273, 374, 31, 3639, 509, 417, 273, 374, 31, 3639, 934, 3250, 310, 1528, 15775, 18, 1528, 1997, 1086, 273, 446, 31, 3639, 364, 12, 417, 273, 10588, 274, 261, 8613, 411, 261, 343, 1303, 379, 15, 21, 3719, 274, 417, 9904, 262, 95, 5411, 364, 12, 509, 328, 273, 374, 274, 328, 411, 666, 18, 1467, 1435, 597, 261, 8613, 411, 261, 343, 1303, 379, 15, 21, 3719, 274, 328, 9904, 262, 95, 7734, 1086, 273, 261, 510, 3250, 310, 1528, 15775, 18, 1528, 1997, 13, 1098, 18, 588, 12, 80, 1769, 7734, 3867, 6952, 3744, 3511, 273, 1086, 18, 588, 3744, 5621, 7734, 309, 261, 3511, 18, 5332, 7069, 1016, 12, 79, 13, 262, 95, 10792, 309, 261, 3511, 18, 291, 1398, 789, 408, 743, 1435, 262, 95, 4766, 7734, 611, 58, 56, 15141, 5018, 3806, 273, 3511, 18, 588, 15141, 5018, 5621, 13491, 368, 2390, 9440, 692, 13491, 309, 261, 3511, 18, 291, 10655, 15141, 1435, 262, 95, 27573, 368, 588, 326, 1300, 434, 9440, 6021, 2674, 18701, 509, 23404, 273, 3806, 18, 588, 2578, 25399, 5621, 18701, 509, 6021, 25399, 273, 374, 31, 18701, 364, 12, 509, 366, 33, 20, 274, 366, 411, 23404, 274, 366, 9904, 262, 95, 27573, 309, 261, 3806, 18, 291, 15141, 6207, 12, 76, 3719, 95, 4766, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 6577, 5369, 31306, 5369, 3639, 261, 682, 666, 16, 474, 10588, 16, 509, 1149, 2107, 16, 2380, 11050, 7069, 3198, 1721, 77, 13, 565, 288, 3639, 509, 6021, 273, 374, 31, 3639, 509, 417, 273, 374, 31, 3639, 934, 3250, 310, 1528, 15775, 18, 1528, 1997, 1086, 273, 446, 31, 3639, 364, 12, 417, 273, 10588, 274, 261, 8613, 411, 261, 343, 1303, 379, 15, 21, 3719, 274, 417, 9904, 262, 95, 5411, 364, 12, 509, 328, 273, 374, 274, 328, 411, 666, 18, 1467, 1435, 597, 261, 8613, 411, 261, 343, 1303, 379, 15, 21, 3719, 274, 328, 9904, 262, 95, 7734, 1086, 273, 261, 510, 3250, 310, 1528, 15775, 18, 1528, 1997, 13, 1098, 18, 2 ]
else if (fieldType.getStackWords() == 2)
else if (fieldType.getSize() == BYTES_IN_LONG)
public final synchronized void resolve() { if (isResolved()) return; if (!typeRef.isResolved()) { VM.sysWriteln("type ref not resolved for "+this); } if (VM.TraceClassLoading && VM.runningVM) VM.sysWriteln("VM_Class: (begin) resolve "+this); if (VM.VerifyAssertions) VM._assert(state == CLASS_LOADED); // Resolve superclass and super interfaces // if (superClass != null) { superClass.resolve(); } for (int i=0; i<declaredInterfaces.length; i++) { declaredInterfaces[i].resolve(); } if (isInterface()) { depth = 1; } else if (isJavaLangObjectType()) { instanceSize = VM_ObjectModel.computeScalarHeaderSize(this); //-#if RVM_FOR_64_ADDR int diff = VM_JavaHeader.objectEndOffset(this) - VM_Memory.alignDown(VM_JavaHeader.objectEndOffset(this), BYTES_IN_ADDRESS); if (diff != 0) { if (VM.VerifyAssertions) VM._assert(diff % BYTES_IN_INT == 0); //assume bad aligned on 8 byte, but good aligned on 4 byte increaseInstanceSizeAndSetAlignOffset(diff); } //-#endif } else { depth = superClass.depth + 1; thinLockOffset = superClass.thinLockOffset; instanceSize = superClass.instanceSize; } if (isSynchronizedObject() || this == VM_Type.JavaLangClassType) VM_ObjectModel.allocateThinLock(this); if (VM.verboseClassLoading) VM.sysWrite("[Preparing "+this+"]\n"); // build field and method lists for this class // { VM_FieldVector staticFields = new VM_FieldVector(); VM_FieldVector instanceFields = new VM_FieldVector(); VM_MethodVector staticMethods = new VM_MethodVector(); VM_MethodVector constructorMethods = new VM_MethodVector(); VM_MethodVector virtualMethods = new VM_MethodVector(); // start with fields and methods of superclass // if (superClass != null) { VM_Field fields[] = superClass.getInstanceFields(); for (int i = 0, n = fields.length; i < n; ++i) instanceFields.addElement(fields[i]); VM_Method methods[] = superClass.getVirtualMethods(); for (int i = 0, n = methods.length; i < n; ++i) virtualMethods.addElement(methods[i]); } // append fields defined by this class // VM_Field fields[] = getDeclaredFields(); for (int i = 0, n = fields.length; i < n; ++i) { VM_Field field = fields[i]; if (field.isStatic()) staticFields.addElement(field); else instanceFields.addElement(field); } // append/overlay methods defined by this class // VM_Method methods[] = getDeclaredMethods(); for (int i = 0, n = methods.length; i < n; ++i) { VM_Method method = methods[i]; if (VM.VerifyUnint) { if (!method.isInterruptible() && method.isSynchronized()) { if (VM.ParanoidVerifyUnint || !VM_PragmaLogicallyUninterruptible.declaredBy(method)) { VM.sysWriteln("WARNING: "+method+" cannot be both uninterruptible and synchronized"); } } } if (method.isObjectInitializer()) { VM_Callbacks.notifyMethodOverride(method, null); constructorMethods.addElement(method); } else if (method.isStatic()) { if (!method.isClassInitializer()) { VM_Callbacks.notifyMethodOverride(method, null); staticMethods.addElement(method); } } else { // Virtual method if (method.isSynchronized()) { VM_ObjectModel.allocateThinLock(this); } // method could override something in superclass - check for it // int superclassMethodIndex = -1; for (int j = 0, m = virtualMethods.size(); j < m; ++j) { VM_Method alreadyDefinedMethod = virtualMethods.elementAt(j); if (alreadyDefinedMethod.getName() == method.getName() && alreadyDefinedMethod.getDescriptor() == method.getDescriptor()) { // method already defined in superclass superclassMethodIndex = j; break; } } if (superclassMethodIndex == -1) { VM_Callbacks.notifyMethodOverride(method, null); virtualMethods.addElement(method); // append } else { VM_Method superc = (VM_Method)virtualMethods.elementAt(superclassMethodIndex); if (VM.VerifyUnint) { if (!superc.isInterruptible() && method.isInterruptible()) { VM.sysWriteln("WARNING: interruptible "+method+" overrides uninterruptible "+superc); } } VM_Callbacks.notifyMethodOverride(method, superc); virtualMethods.setElementAt(method, superclassMethodIndex); // override } } } // Deal with Miranda methods. // If this is an abstract class, then for each // interface that this class implements, ensure that a corresponding virtual // method is declared. If one is not, then create an abstract method to fill the void. if (!isInterface() && isAbstract()) { for (int i=0; i<declaredInterfaces.length; i++) { VM_Class I = declaredInterfaces[i]; VM_Method[] iMeths = I.getVirtualMethods(); outer: for (int j=0; j<iMeths.length; j++) { VM_Method iMeth = iMeths[j]; VM_Atom iName = iMeth.getName(); VM_Atom iDesc = iMeth.getDescriptor(); for (int k=0; k<virtualMethods.size(); k++) { VM_Method vMeth = virtualMethods.elementAt(k); if (vMeth.getName() == iName && vMeth.getDescriptor() == iDesc) continue outer; } VM_MemberReference mRef = VM_MemberReference.findOrCreate(typeRef, iName, iDesc); virtualMethods.addElement(new VM_AbstractMethod(this, mRef, ACC_ABSTRACT | ACC_PUBLIC, iMeth.getExceptionTypes())); } } } // If this is an interface, inherit methods from its superinterfaces if (isInterface()) { for (int i=0; i<declaredInterfaces.length; i++) { VM_Method[] meths = declaredInterfaces[i].getVirtualMethods(); for (int j=0; j<meths.length; j++) { virtualMethods.addUniqueElement(meths[j]); } } } this.staticFields = staticFields.finish(); this.instanceFields = instanceFields.finish(); this.staticMethods = staticMethods.finish(); this.constructorMethods = constructorMethods.finish(); this.virtualMethods = virtualMethods.finish(); } // allocate space for class fields // for (int i = 0, n = staticFields.length; i < n; ++i) { VM_Field field = staticFields[i]; VM_TypeReference fieldType = field.getType(); byte slotType; if (fieldType.isReferenceType()) slotType = VM_Statics.REFERENCE_FIELD; else if (fieldType.getStackWords() == 2) slotType = VM_Statics.WIDE_NUMERIC_FIELD; else slotType = VM_Statics.NUMERIC_FIELD; field.offset = (VM_Statics.allocateSlot(slotType) << LOG_BYTES_IN_INT); // (SJF): Serialization nastily accesses even final private static // fields via pseudo-reflection! So, we must shove the // values of final static fields into the JTOC. Now // seems to be a good time. if (field.isFinal()) { setFinalStaticJTOCEntry(field,field.offset); } } // lay out instance fields // VM_ObjectModel.layoutInstanceFields(this); // count reference fields int referenceFieldCount = 0; for (int i = 0, n = instanceFields.length; i < n; ++i) { VM_Field field = instanceFields[i]; if (field.getType().isReferenceType()) referenceFieldCount += 1; } // record offsets of those instance fields that contain references // referenceOffsets = new int[referenceFieldCount]; for (int i = 0, j = 0, n = instanceFields.length; i < n; ++i) { VM_Field field = instanceFields[i]; if (field.getType().isReferenceType()) referenceOffsets[j++] = field.offset; } // Allocate space for <init> method pointers // for (int i = 0, n = constructorMethods.length; i < n; ++i) { VM_Method method = constructorMethods[i]; method.offset = VM_Statics.allocateSlot(VM_Statics.METHOD) << LOG_BYTES_IN_INT; } // Allocate space for static method pointers // for (int i = 0, n = staticMethods.length; i < n; ++i) { VM_Method method = staticMethods[i]; if (method.isClassInitializer()) { method.offset = 0xdeadbeef; // should never be used. } else { method.offset = VM_Statics.allocateSlot(VM_Statics.METHOD) << LOG_BYTES_IN_INT; } } // create "type information block" and initialize its first four words // typeInformationBlock = MM_Interface.newTIB(TIB_FIRST_VIRTUAL_METHOD_INDEX + virtualMethods.length); VM_Statics.setSlotContents(tibSlot, typeInformationBlock); // Initialize dynamic type checking data structures typeInformationBlock[0] = this; typeInformationBlock[TIB_SUPERCLASS_IDS_INDEX] = VM_DynamicTypeCheck.buildSuperclassIds(this); typeInformationBlock[TIB_DOES_IMPLEMENT_INDEX] = VM_DynamicTypeCheck.buildDoesImplement(this); // (element type for arrays not used classes) // lay out virtual method section of type information block // (to be filled in by instantiate) for (int i = 0, n = virtualMethods.length; i < n; ++i) { VM_Method method = virtualMethods[i]; method.offset = (TIB_FIRST_VIRTUAL_METHOD_INDEX + i) << LOG_BYTES_IN_ADDRESS; } // RCGC: Determine if class is inherently acyclic acyclic = false; // must initially be false for recursive types boolean foundCyclic = false; for (int i = 0; i < instanceFields.length; i++) { VM_TypeReference ft = instanceFields[i].getType(); if (!(ft.isResolved() && ft.peekResolvedType().isAcyclicReference())) { foundCyclic = true; break; } } if (!foundCyclic) { acyclic = true; } state = CLASS_RESOLVED; // can't move this beyond "finalize" code block VM_Callbacks.notifyClassResolved(this); // check for a "finalize" method that overrides the one in java.lang.Object // finalizeMethod = null; if (!isInterface()) { VM_Method finalize = findVirtualMethod(VM_ClassLoader.StandardObjectFinalizerMethodName, VM_ClassLoader.StandardObjectFinalizerMethodDescriptor); if (!finalize.getDeclaringClass().isJavaLangObjectType()) { finalizeMethod = finalize; } } if (VM.TraceClassLoading && VM.runningVM) VM.sysWriteln("VM_Class: (end) resolve " + this); }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/ba4c8a6a9e44a413ec1ee396574d6a649e3c10a3/VM_Class.java/clean/rvm/src/vm/classLoader/VM_Class.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 3852, 918, 2245, 1435, 288, 565, 309, 261, 291, 12793, 10756, 327, 31, 565, 309, 16051, 723, 1957, 18, 291, 12793, 10756, 288, 1377, 8251, 18, 9499, 4913, 292, 82, 2932, 723, 1278, 486, 4640, 364, 13773, 2211, 1769, 565, 289, 565, 309, 261, 7397, 18, 3448, 797, 10515, 597, 8251, 18, 8704, 7397, 13, 8251, 18, 9499, 4913, 292, 82, 2932, 7397, 67, 797, 30, 261, 10086, 13, 2245, 13773, 2211, 1769, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 2019, 422, 7383, 67, 31408, 1769, 565, 368, 9910, 12098, 471, 2240, 7349, 565, 368, 565, 309, 261, 9565, 797, 480, 446, 13, 288, 1377, 18846, 18, 10828, 5621, 565, 289, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 16571, 10273, 18, 2469, 31, 277, 27245, 288, 1377, 7886, 10273, 63, 77, 8009, 10828, 5621, 565, 289, 565, 309, 261, 291, 1358, 10756, 288, 1377, 3598, 273, 404, 31, 377, 289, 469, 309, 261, 291, 5852, 7275, 17610, 10756, 288, 1377, 791, 1225, 273, 8251, 67, 921, 1488, 18, 9200, 13639, 1864, 1225, 12, 2211, 1769, 1377, 368, 17, 7, 430, 534, 7397, 67, 7473, 67, 1105, 67, 14142, 1377, 509, 3122, 273, 8251, 67, 5852, 1864, 18, 1612, 1638, 2335, 12, 2211, 13, 300, 8251, 67, 6031, 18, 7989, 4164, 12, 7397, 67, 5852, 1864, 18, 1612, 1638, 2335, 12, 2211, 3631, 26214, 67, 706, 67, 15140, 1769, 1377, 309, 261, 5413, 480, 374, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 3852, 918, 2245, 1435, 288, 565, 309, 261, 291, 12793, 10756, 327, 31, 565, 309, 16051, 723, 1957, 18, 291, 12793, 10756, 288, 1377, 8251, 18, 9499, 4913, 292, 82, 2932, 723, 1278, 486, 4640, 364, 13773, 2211, 1769, 565, 289, 565, 309, 261, 7397, 18, 3448, 797, 10515, 597, 8251, 18, 8704, 7397, 13, 8251, 18, 9499, 4913, 292, 82, 2932, 7397, 67, 797, 30, 261, 10086, 13, 2245, 13773, 2211, 1769, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 2019, 422, 7383, 67, 31408, 1769, 565, 368, 9910, 12098, 471, 2240, 7349, 565, 368, 565, 309, 261, 9565, 797, 480, 446, 13, 288, 1377, 18846, 18, 10828, 5621, 565, 2 ]
public FunctionAvailableCall(QName fname, Vector arguments) { super(fname, arguments); _arg = (Expression)arguments.elementAt(0); _type = null; if (_arg instanceof LiteralExpr) { LiteralExpr arg = (LiteralExpr)_arg; _namespaceOfFunct = arg.getNamespace(); _nameOfFunct = arg.getValue(); if ((_namespaceOfFunct != null) && (!_namespaceOfFunct.equals(Constants.EMPTYSTRING))) { // the function is external, such as a java function _isFunctionAvailable = hasMethods(); } // the case of internal function is handled in getResult. } // case where _arg is not instanceof LiteralExpr can not be handled. }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/ef3818e95de33216590f388fc579fc83c0d6fb73/FunctionAvailableCall.java/clean/src/org/apache/xalan/xsltc/compiler/FunctionAvailableCall.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2083, 5268, 1477, 12, 13688, 12749, 16, 5018, 7099, 15329, 202, 9565, 12, 12749, 16, 7099, 1769, 202, 67, 3175, 28657, 2300, 13, 7099, 18, 2956, 861, 12, 20, 1769, 202, 67, 723, 33, 2011, 31, 430, 24899, 3175, 1336, 792, 6177, 4742, 15329, 202, 6177, 4742, 3175, 28657, 6177, 4742, 13, 67, 3175, 31, 67, 4937, 951, 42, 6931, 33, 3175, 18, 588, 3402, 5621, 67, 529, 951, 42, 6931, 33, 3175, 18, 24805, 5621, 430, 12443, 67, 4937, 951, 42, 6931, 5, 33, 2011, 13, 10, 10, 12, 5, 67, 4937, 951, 42, 6931, 18, 14963, 12, 2918, 18, 13625, 5804, 20349, 202, 95, 202, 202, 759, 5787, 915, 291, 9375, 16, 87, 2648, 345, 4365, 1629, 915, 67, 291, 2083, 5268, 33, 5332, 4712, 5621, 97, 202, 759, 451, 557, 448, 792, 7236, 915, 1468, 464, 1259, 310, 278, 1253, 18, 97, 202, 759, 3593, 6051, 67, 3175, 291, 902, 1336, 792, 6177, 4742, 12892, 2196, 14387, 18, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2083, 5268, 1477, 12, 13688, 12749, 16, 5018, 7099, 15329, 202, 9565, 12, 12749, 16, 7099, 1769, 202, 67, 3175, 28657, 2300, 13, 7099, 18, 2956, 861, 12, 20, 1769, 202, 67, 723, 33, 2011, 31, 430, 24899, 3175, 1336, 792, 6177, 4742, 15329, 202, 6177, 4742, 3175, 28657, 6177, 4742, 13, 67, 3175, 31, 67, 4937, 951, 42, 6931, 33, 3175, 18, 588, 3402, 5621, 67, 529, 951, 42, 6931, 33, 3175, 18, 24805, 5621, 430, 12443, 67, 4937, 951, 42, 6931, 5, 33, 2011, 13, 10, 10, 12, 5, 67, 4937, 951, 42, 6931, 18, 14963, 12, 2918, 18, 13625, 5804, 20349, 202, 95, 202, 202, 759, 5787, 915, 291, 9375, 16, 87, 2648, 345, 4365, 2 ]
if (kind > 10) kind = 10;
if (kind > 11) kind = 11;
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 71; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x3ff000000000000L & l) != 0L) { if (kind > 4) kind = 4; jjCheckNAddStates(0, 8); } else if ((0x100003600L & l) != 0L) { if (kind > 1) kind = 1; } else if ((0x8000281000000000L & l) != 0L) { if (kind > 10) kind = 10; jjCheckNAdd(21); } else if (curChar == 37) jjCheckNAddStates(9, 12); else if (curChar == 47) jjstateSet[jjnewStateCnt++] = 26; else if (curChar == 40) jjCheckNAddStates(13, 15); else if (curChar == 46) jjCheckNAdd(6); if (curChar == 45) jjCheckNAddStates(16, 21); else if (curChar == 47) jjCheckNAddTwoStates(23, 24); else if (curChar == 48) jjstateSet[jjnewStateCnt++] = 2; break; case 1: if (curChar == 48) jjstateSet[jjnewStateCnt++] = 2; break; case 3: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(3, 4); break; case 5: if (curChar == 46) jjCheckNAdd(6); break; case 6: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(22, 24); break; case 8: if ((0x280000000000L & l) != 0L) jjCheckNAdd(9); break; case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(9, 10); break; case 11: if (curChar == 40) jjCheckNAddStates(13, 15); break; case 12: if ((0xfffffdffffffffffL & l) != 0L) jjCheckNAddStates(13, 15); break; case 14: if ((0x28000000400L & l) != 0L) jjCheckNAddStates(13, 15); break; case 15: if (curChar == 41 && kind > 9) kind = 9; break; case 16: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(25, 28); break; case 17: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(13, 15); break; case 18: if ((0xf000000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 19; break; case 19: if ((0xff000000000000L & l) != 0L) jjCheckNAdd(17); break; case 20: if ((0x8000281000000000L & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 21: if ((0x83ff681000000000L & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 22: if (curChar == 47) jjCheckNAddTwoStates(23, 24); break; case 23: if (curChar == 46) jjCheckNAdd(24); break; case 24: if ((0x8000281000000000L & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 25: if ((0x83ff681000000000L & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 26: if (curChar == 47) jjstateSet[jjnewStateCnt++] = 27; break; case 27: if ((0x8000281000000000L & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 28: if ((0x83ff681000000000L & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 29: if (curChar == 47) jjstateSet[jjnewStateCnt++] = 26; break; case 30: if (curChar == 37) jjCheckNAddStates(9, 12); break; case 31: if ((0xfffffffffffffbffL & l) != 0L) jjCheckNAddTwoStates(31, 32); break; case 32: if (curChar == 10 && kind > 2) kind = 2; break; case 33: if ((0xffffffffffffdfffL & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 13 && kind > 3) kind = 3; break; case 35: if (curChar == 45) jjCheckNAddStates(16, 21); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(36, 4); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if (curChar != 46) break; if (kind > 7) kind = 7; jjCheckNAddStates(29, 31); break; case 39: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(29, 31); break; case 41: if ((0x280000000000L & l) != 0L) jjCheckNAdd(42); break; case 42: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(42, 10); break; case 43: if (curChar == 46) jjCheckNAdd(44); break; case 44: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(32, 34); break; case 46: if ((0x280000000000L & l) != 0L) jjCheckNAdd(47); break; case 47: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(47, 10); break; case 48: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(48, 49); break; case 50: if ((0x280000000000L & l) != 0L) jjCheckNAdd(51); break; case 51: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(51, 10); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(35, 37); break; case 54: if ((0x280000000000L & l) != 0L) jjCheckNAdd(55); break; case 55: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(55, 10); break; case 56: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddStates(0, 8); break; case 57: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 58: if (curChar != 46) break; if (kind > 7) kind = 7; jjCheckNAddStates(38, 40); break; case 59: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(38, 40); break; case 61: if ((0x280000000000L & l) != 0L) jjCheckNAdd(62); break; case 62: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(62, 10); break; case 63: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 65: if ((0x280000000000L & l) != 0L) jjCheckNAdd(66); break; case 66: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(66, 10); break; case 67: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(41, 43); break; case 69: if ((0x280000000000L & l) != 0L) jjCheckNAdd(70); break; case 70: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(70, 10); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 21: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 2: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(3); break; case 3: if ((0x7e0000007eL & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(3, 4); break; case 4: if ((0x100000001000L & l) != 0L && kind > 4) kind = 4; break; case 7: if ((0x2000000020L & l) != 0L) jjAddStates(44, 45); break; case 10: if ((0x5000000050L & l) != 0L && kind > 7) kind = 7; break; case 12: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(13, 15); break; case 13: if (curChar == 92) jjAddStates(46, 48); break; case 14: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(13, 15); break; case 24: case 25: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 27: case 28: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 31: jjAddStates(49, 50); break; case 33: jjAddStates(51, 52); break; case 40: if ((0x2000000020L & l) != 0L) jjAddStates(53, 54); break; case 45: if ((0x2000000020L & l) != 0L) jjAddStates(55, 56); break; case 49: if ((0x2000000020L & l) != 0L) jjAddStates(57, 58); break; case 53: if ((0x2000000020L & l) != 0L) jjAddStates(59, 60); break; case 60: if ((0x2000000020L & l) != 0L) jjAddStates(61, 62); break; case 64: if ((0x2000000020L & l) != 0L) jjAddStates(63, 64); break; case 68: if ((0x2000000020L & l) != 0L) jjAddStates(65, 66); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 21: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 12: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(13, 15); break; case 24: case 25: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 27: case 28: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 31: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(49, 50); break; case 33: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(51, 52); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 71 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/3cd4a973dbdca1f7072d8e189d388c5a878cc9a6/PAParserTokenManager.java/buggy/itext/src/com/lowagie/text/pdf/codec/postscript/PAParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 26465, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 741, 540, 288, 5411, 1620, 12, 78, 78, 2019, 694, 63, 413, 77, 5717, 5411, 288, 9079, 648, 374, 30, 5375, 309, 14015, 20, 92, 23, 1403, 12648, 2787, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 1059, 13, 13491, 3846, 273, 1059, 31, 5397, 10684, 1564, 50, 986, 7629, 12, 20, 16, 1725, 1769, 5375, 289, 5375, 469, 309, 14015, 20, 92, 23899, 5718, 713, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 404, 13, 13491, 3846, 273, 404, 31, 5375, 289, 5375, 469, 309, 14015, 20, 92, 17374, 3103, 11861, 2787, 11706, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 1728, 13, 13491, 3846, 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, 3238, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 26465, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 2 ]
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
public Component getTableCellRendererComponent(final JTable table, final Object value, final boolean isSelected, final boolean hasFocus, final int row, final int column) {
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if(value == null) return super.getTableCellRendererComponent(table, "", isSelected, hasFocus, row, column); if(value instanceof FCPTransferQuery) { FCPTransferQuery query = (FCPTransferQuery)value; JProgressBar bar = new JProgressBar(0, 100); bar.setStringPainted(true); bar.setBorderPainted(false); if((query instanceof FCPClientPut && query.getProgression() > 0) || (query instanceof FCPClientGet && query.getProgression() < 100) ) bar.setValue(query.getProgression()); else bar.setValue(query.getTransferWithTheNodeProgression()); if(query.isFinished() && !query.isSuccessful()) bar.setString(I18n.getMessage("thaw.common.failed")); if(query.isFinished() && query.isSuccessful()) bar.setString(I18n.getMessage("thaw.common.ok")); if(!query.isFinished()) { bar.setString(query.getStatus()); } return bar; } if(value instanceof Long) { return super.getTableCellRendererComponent(table, thaw.plugins.queueWatcher.QueueTableModel.getPrintableSize(((Long)value).longValue()), isSelected, hasFocus, row, column); } Component cell = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); return cell; }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/FileTable.java/buggy/src/thaw/plugins/index/FileTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 5435, 5638, 4020, 6747, 1841, 12, 46, 1388, 1014, 16, 1033, 460, 16, 6862, 9506, 4202, 1250, 20956, 16, 1250, 711, 9233, 16, 6862, 9506, 4202, 509, 1027, 16, 509, 1057, 13, 288, 1082, 202, 430, 12, 1132, 422, 446, 13, 9506, 202, 2463, 2240, 18, 588, 1388, 4020, 6747, 1841, 12, 2121, 16, 23453, 6862, 25083, 282, 20956, 16, 711, 9233, 16, 1027, 16, 1057, 1769, 1082, 202, 430, 12, 1132, 1276, 478, 4258, 5912, 1138, 13, 288, 9506, 202, 42, 4258, 5912, 1138, 843, 273, 261, 42, 4258, 5912, 1138, 13, 1132, 31, 9506, 202, 46, 31547, 4653, 273, 394, 804, 31547, 12, 20, 16, 2130, 1769, 9506, 202, 3215, 18, 542, 780, 12699, 329, 12, 3767, 1769, 9506, 202, 3215, 18, 542, 8107, 12699, 329, 12, 5743, 1769, 9506, 202, 430, 12443, 2271, 1276, 478, 4258, 1227, 6426, 597, 843, 18, 588, 5491, 285, 1435, 405, 374, 13, 6862, 282, 747, 261, 2271, 1276, 478, 4258, 1227, 967, 597, 843, 18, 588, 5491, 285, 1435, 411, 2130, 13, 262, 6862, 202, 3215, 18, 542, 620, 12, 2271, 18, 588, 5491, 285, 10663, 9506, 202, 12107, 6862, 202, 3215, 18, 542, 620, 12, 2271, 18, 588, 5912, 1190, 1986, 907, 5491, 285, 10663, 9506, 202, 430, 12, 2271, 18, 291, 10577, 1435, 597, 401, 2271, 18, 291, 14277, 10756, 6862, 202, 3215, 18, 542, 780, 12, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 6054, 18, 7307, 7923, 1769, 9506, 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, 3196, 202, 482, 5435, 5638, 4020, 6747, 1841, 12, 46, 1388, 1014, 16, 1033, 460, 16, 6862, 9506, 4202, 1250, 20956, 16, 1250, 711, 9233, 16, 6862, 9506, 4202, 509, 1027, 16, 509, 1057, 13, 288, 1082, 202, 430, 12, 1132, 422, 446, 13, 9506, 202, 2463, 2240, 18, 588, 1388, 4020, 6747, 1841, 12, 2121, 16, 23453, 6862, 25083, 282, 20956, 16, 711, 9233, 16, 1027, 16, 1057, 1769, 1082, 202, 430, 12, 1132, 1276, 478, 4258, 5912, 1138, 13, 288, 9506, 202, 42, 4258, 5912, 1138, 843, 273, 261, 42, 4258, 5912, 1138, 13, 1132, 31, 9506, 202, 46, 31547, 4653, 273, 394, 804, 31547, 12, 20, 16, 2130, 1769, 9506, 202, 3215, 18, 542, 780, 12699, 2 ]
RubyMatchData result = (RubyMatchData)matcher.search(getRuby(), str, pos);
RubyObject result = matcher.search(getRuby(), str, pos);
public int m_search(RubyObject target, int pos) {// RubyString str = RubyString.m_as_str(target); String str = ((RubyString)target).getValue(); if (pos >= str.length()) { return -1; } recompileIfNeeded(); RubyMatchData result = (RubyMatchData)matcher.search(getRuby(), str, pos); getRuby().setBackRef(result); return result.matchStartPosition(); }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/896113b9a8117e7c4e8677cee39ccc8ad730fdcf/RubyRegexp.java/buggy/org/jruby/RubyRegexp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 312, 67, 3072, 12, 54, 10340, 921, 1018, 16, 509, 949, 13, 288, 759, 3639, 19817, 780, 609, 273, 19817, 780, 18, 81, 67, 345, 67, 701, 12, 3299, 1769, 3639, 514, 609, 273, 14015, 54, 10340, 780, 13, 3299, 2934, 24805, 5621, 3639, 309, 261, 917, 1545, 609, 18, 2469, 10756, 288, 5411, 327, 300, 21, 31, 3639, 289, 3639, 283, 11100, 18299, 5621, 1850, 19817, 921, 563, 273, 4546, 18, 3072, 12, 588, 54, 10340, 9334, 609, 16, 949, 1769, 3639, 4170, 10340, 7675, 542, 2711, 1957, 12, 2088, 1769, 3639, 327, 563, 18, 1916, 23785, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 312, 67, 3072, 12, 54, 10340, 921, 1018, 16, 509, 949, 13, 288, 759, 3639, 19817, 780, 609, 273, 19817, 780, 18, 81, 67, 345, 67, 701, 12, 3299, 1769, 3639, 514, 609, 273, 14015, 54, 10340, 780, 13, 3299, 2934, 24805, 5621, 3639, 309, 261, 917, 1545, 609, 18, 2469, 10756, 288, 5411, 327, 300, 21, 31, 3639, 289, 3639, 283, 11100, 18299, 5621, 1850, 19817, 921, 563, 273, 4546, 18, 3072, 12, 588, 54, 10340, 9334, 609, 16, 949, 1769, 3639, 4170, 10340, 7675, 542, 2711, 1957, 12, 2088, 1769, 3639, 327, 563, 18, 1916, 23785, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.items = null;
public void setCompleted(String completed) { this.items = null; this.completed = completed; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/815a99b39bb66175cf2f64cc83b3ed70efb41aa3/CommandShell.java/buggy/shell/src/shell/org/jnode/shell/CommandShell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 9556, 12, 780, 5951, 13, 288, 202, 202, 2211, 18, 3319, 273, 446, 31, 202, 202, 2211, 18, 13615, 273, 5951, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 9556, 12, 780, 5951, 13, 288, 202, 202, 2211, 18, 3319, 273, 446, 31, 202, 202, 2211, 18, 13615, 273, 5951, 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 ]
case Token.SETVAR : { int slot = (iCode[pc] & 0xFF);
case Token.SETVAR :
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; int pc = 0; int pcPrevBranch = 0; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; String[] strings = idata.itsStringTable; String stringReg = null; int indexReg = 0; Loop: for (;;) { int pcJump; try { int op = 0xFF & iCode[pc++]; switch (op) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); pcJump = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcJump >= 0) { // Has catch block doCatch = true; } } if (pcJump < 0) { pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcJump < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // go to generic jump code break; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); throw new JavaScriptException(value, idata.itsSourceFile, sourceLine); } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl <= lDbl); } else { valBln = ScriptRuntime.cmp_LE(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl <= rDbl); } else { valBln = ScriptRuntime.cmp_LE(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl < lDbl); } else { valBln = ScriptRuntime.cmp_LT(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl < rDbl); } else { valBln = ScriptRuntime.cmp_LT(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Icode_IFEQ_POP : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } stack[stackTop] = null; --stackTop; pcJump = getTarget(iCode, pc); break; } case Token.GOTO : pcJump = getTarget(iCode, pc); break; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; pcJump = getTarget(iCode, pc); break; case Icode_RETSUB : { // indexReg: local to store return address Object value = stack[LOCAL_SHFT + indexReg]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; pcJump = getJavaCatchPC(iCode); } else { // Normal return from GOSUB pcJump = (int)sDbl[LOCAL_SHFT + indexReg]; } break; } case Token.POP : stack[stackTop] = null; stackTop--; continue Loop; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; continue Loop; case Icode_DUPSECOND : { stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stackTop++; continue Loop; } case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; continue Loop; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; continue Loop; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; continue Loop; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; continue Loop; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; continue Loop; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; continue Loop; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; continue Loop; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; continue Loop; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; continue Loop; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); continue Loop; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; continue Loop; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; continue Loop; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; continue Loop; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; continue Loop; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; continue Loop; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; continue Loop; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; continue Loop; } case Icode_REG_STR1: stringReg = strings[0xFF & iCode[pc]]; ++pc; continue Loop; case Icode_REG_STR2: stringReg = strings[getIndex(iCode, pc)]; pc += 2; continue Loop; case Icode_REG_STR4: stringReg = strings[getInt(iCode, pc)]; pc += 4; continue Loop; case Icode_REG_IND1: indexReg = 0xFF & iCode[pc]; ++pc; continue Loop; case Icode_REG_IND2: indexReg = getIndex(iCode, pc); pc += 2; continue Loop; case Icode_REG_IND4: indexReg = getInt(iCode, pc); pc += 4; continue Loop; case Token.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(scope, stringReg); continue Loop; case Token.SETNAME : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, stringReg); continue Loop; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); continue Loop; } case Token.GETPROP : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, stringReg, scope); continue Loop; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, stringReg, rhs, scope); continue Loop; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; continue Loop; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; continue Loop; case Icode_PROPINC : case Icode_PROPDEC : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecr(lhs, stringReg, scope, op == Icode_PROPINC); continue Loop; } case Icode_ELEMINC : case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecrElem(lhs, rhs, scope, op == Icode_ELEMINC); continue Loop; } case Token.LOCAL_SAVE : stack[LOCAL_SHFT + indexReg] = stack[stackTop]; sDbl[LOCAL_SHFT + indexReg] = sDbl[stackTop]; --stackTop; continue Loop; case Token.LOCAL_LOAD : ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + indexReg]; sDbl[stackTop] = sDbl[LOCAL_SHFT + indexReg]; continue Loop; case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } // indexReg: number of arguments int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); stackTop -= indexReg; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, indexReg); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); instructionCount = cx.instructionCount; pc += 4; continue Loop; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, indexReg, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; continue Loop; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, indexReg, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; continue Loop; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); continue Loop; } case Icode_TYPEOFNAME : stack[++stackTop] = ScriptRuntime.typeofName(scope, stringReg); continue Loop; case Icode_NAME_FAST_THIS : case Icode_NAME_SLOW_THIS : stackTop = do_nameAndThis(stack, stackTop, scope, stringReg, op); continue Loop; case Token.STRING : stack[++stackTop] = stringReg; continue Loop; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; continue Loop; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; continue Loop; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[indexReg]; continue Loop; case Token.NAME : stack[++stackTop] = ScriptRuntime.name(scope, stringReg); continue Loop; case Icode_NAMEINC : case Icode_NAMEDEC : stack[++stackTop] = ScriptRuntime.postIncrDecr(scope, stringReg, op == Icode_NAMEINC); continue Loop; case Token.SETVAR : { int slot = (iCode[pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.GETVAR : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } ++pc; continue Loop; } case Icode_VARINC : case Icode_VARDEC : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { Object val = stack[VAR_SHFT + slot]; stack[stackTop] = val; double d; if (val == DBL_MRK) { d = sDbl[VAR_SHFT + slot]; sDbl[stackTop] = d; } else { d = ScriptRuntime.toNumber(val); } stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; double d = ScriptRuntime.toNumber(val); val = doubleWrap((op == Icode_VARINC) ? d + 1.0 : d - 1.0); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; continue Loop; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; continue Loop; case Token.NULL : stack[++stackTop] = null; continue Loop; case Token.THIS : stack[++stackTop] = thisObj; continue Loop; case Token.THISFN : stack[++stackTop] = fnOrScript; continue Loop; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; continue Loop; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; continue Loop; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; continue Loop; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; continue Loop; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; continue Loop; case Token.CATCH_SCOPE : stack[stackTop] = ScriptRuntime.newCatchScope(stringReg, stack[stackTop]); continue Loop; case Token.ENUM_INIT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + indexReg] = ScriptRuntime.enumInit(lhs, scope); continue Loop; } case Token.ENUM_NEXT : case Token.ENUM_ID : { Object val = stack[LOCAL_SHFT + indexReg]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); continue Loop; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); continue Loop; } case Icode_GETPROTO : case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_GETPROTO) { val = ScriptRuntime.getProto(lhs, scope); } else { val = ScriptRuntime.getParent(lhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SETPROTO : case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_SETPROTO) { val = ScriptRuntime.setProto(lhs, rhs, scope); } else { val = ScriptRuntime.setParent(lhs, rhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SCOPE : stack[++stackTop] = scope; continue Loop; case Icode_CLOSURE : { InterpreterData closureData = idata.itsNestedFunctions[indexReg]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); continue Loop; } case Token.REGEXP : { Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[indexReg]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[indexReg]; } stack[++stackTop] = regexp; continue Loop; } case Icode_LITERAL_NEW : // indexReg: number of values in the literal ++stackTop; stack[stackTop] = new Object[indexReg]; sDbl[stackTop] = 0; continue Loop; case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; continue Loop; } case Token.ARRAYLIT : case Icode_SPARE_ARRAYLIT : case Token.OBJECTLIT : { Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.OBJECTLIT) { Object[] ids = (Object[])idata.literalIds[indexReg]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } else { int[] skipIndexces = null; if (op == Icode_SPARE_ARRAYLIT) { skipIndexces = (int[])idata.literalIds[indexReg]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } stack[stackTop] = val; continue Loop; } case Icode_LINE : { cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; continue Loop; } default : { dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1)); } } // end of interpreter switch // This should be reachable only for jump implementation if (instructionThreshold != 0) { instructionCount += pc - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } pcPrevBranch = pcJump; } pc = pcJump; continue Loop; } // end of interpreter try catch (Throwable ex) { pcJump = getJavaCatchPC(iCode); if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } pcPrevBranch = pcJump; } javaException = ex; exceptionPC = pc - 1; pc = pcJump; continue Loop; } } // end of interpreter loop cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/dbf67ecaa80a3ae9385546d3e402d88f9c9d3b5b/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 612, 396, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 888, 18, 1991, 1190, 3748, 12, 350, 396, 18, 7462, 3748, 16, 9494, 16, 2295, 1162, 3651, 16, 29159, 2146, 16, 15261, 16, 833, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 374, 31, 3639, 727, 509, 943, 5555, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 2 ]
Bounds boClipping = (Bounds) EcoreUtil.copy( pwa.getPlotBounds( ) ); if ( pwa.getDimension( ) == IConstants.TWO_5_D ) { boClipping.setLeft( boClipping.getLeft( ) - pwa.getSeriesThickness( ) ); boClipping.setHeight( boClipping.getHeight( ) + pwa.getSeriesThickness( ) ); }
Bounds boClipping = p.getBounds( ) .scaledInstance( getDevice( ).getDisplayServer( ) .getDpiResolution( ) / 72d );
public final void renderPlot( IPrimitiveRenderer ipr, Plot p ) throws ChartException { if ( !p.isVisible( ) ) // CHECK VISIBILITY { return; } final ClipRenderEvent cre = (ClipRenderEvent) ( (EventObjectCache) getDevice( ) ).getEventObject( StructureSource.createPlot( p ), ClipRenderEvent.class ); final boolean bFirstInSequence = ( iSeriesIndex == 0 ); final boolean bLastInSequence = ( iSeriesIndex == iSeriesCount - 1 ); final PlotWithAxes pwa = (PlotWithAxes) getComputations( ); if ( bFirstInSequence ) { renderBackground( ipr, p ); renderAxesStructure( ipr, p ); } ISeriesRenderingHints srh = null; try { srh = ( (PlotWithAxes) getComputations( ) ).getSeriesRenderingHints( getSeriesDefinition( ), getSeries( ) ); } catch ( Exception ex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.RENDERING, ex ); } try { Bounds boClipping = (Bounds) EcoreUtil.copy( pwa.getPlotBounds( ) ); if ( pwa.getDimension( ) == IConstants.TWO_5_D ) { boClipping.setLeft( boClipping.getLeft( ) - pwa.getSeriesThickness( ) ); boClipping.setHeight( boClipping.getHeight( ) + pwa.getSeriesThickness( ) ); } Location[] loaClipping = new Location[4]; loaClipping[0] = LocationImpl.create( boClipping.getLeft( ), boClipping.getTop( ) ); loaClipping[1] = LocationImpl.create( boClipping.getLeft( ) + boClipping.getWidth( ), boClipping.getTop( ) ); loaClipping[2] = LocationImpl.create( boClipping.getLeft( ) + boClipping.getWidth( ), boClipping.getTop( ) + boClipping.getHeight( ) ); loaClipping[3] = LocationImpl.create( boClipping.getLeft( ), boClipping.getTop( ) + boClipping.getHeight( ) ); cre.setVertices( loaClipping ); getDevice( ).setClip( cre ); ScriptHandler.callFunction( getRunTimeContext( ).getScriptHandler( ), ScriptHandler.BEFORE_DRAW_SERIES, getSeries( ), this, getRunTimeContext( ).getScriptContext( ) ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_SERIES, getSeries( ) ); renderSeries( ipr, p, srh ); // CALLS THE APPROPRIATE SUBCLASS // FOR // GRAPHIC ELEMENT RENDERING ScriptHandler.callFunction( getRunTimeContext( ).getScriptHandler( ), ScriptHandler.AFTER_DRAW_SERIES, getSeries( ), this ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_SERIES, getSeries( ) ); if ( bLastInSequence ) { final Bounds boPlot = getPlotBounds( ); try { if ( isDimension3D( ) ) { getDeferredCache( ).process3DEvent( get3DEngine( ), boPlot.getLeft( ), boPlot.getTop( ) ); } getDeferredCache( ).flush( ); // FLUSH DEFERRED CACHE } catch ( ChartException ex ) // NOTE: RENDERING EXCEPTION ALREADY // BEING THROWN { throw new ChartException( ChartEnginePlugin.ID, ChartException.RENDERING, ex ); } // SETUP AXIS ARRAY final AllAxes aax = pwa.getAxes( ); final OneAxis[] oaxa = new OneAxis[2 + aax.getOverlayCount( ) + ( aax.getAncillaryBase( ) != null ? 1 : 0 )]; oaxa[0] = aax.getPrimaryBase( ); oaxa[1] = aax.getPrimaryOrthogonal( ); for ( int i = 0; i < aax.getOverlayCount( ); i++ ) { oaxa[2 + i] = aax.getOverlay( i ); } if ( aax.getAncillaryBase( ) != null ) { oaxa[2 + aax.getOverlayCount( )] = aax.getAncillaryBase( ); } Bounds bo = pwa.getPlotBounds( ); // RENDER MARKER LINES renderMarkerLines( oaxa, bo ); // restore clipping. cre.setVertices( null ); getDevice( ).setClip( cre ); // RENDER AXIS LABELS LAST renderAxesLabels( ipr, p, oaxa ); try { if ( isDimension3D( ) ) { getDeferredCache( ).process3DEvent( get3DEngine( ), boPlot.getLeft( ), boPlot.getTop( ) ); } getDeferredCache( ).flush( ); // FLUSH DEFERRED CACHE } catch ( ChartException ex ) // NOTE: RENDERING EXCEPTION ALREADY // BEING THROWN { throw new ChartException( ChartEnginePlugin.ID, ChartException.RENDERING, ex ); } } } finally { // restore clipping. cre.setVertices( null ); getDevice( ).setClip( cre ); } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/1df829687c43ae152d7ebca6012b1bbaf45dbdf8/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, 11532, 12, 467, 9840, 6747, 277, 683, 16, 15211, 293, 262, 1082, 202, 15069, 14804, 503, 202, 95, 202, 202, 430, 261, 401, 84, 18, 291, 6207, 12, 262, 262, 368, 14565, 12596, 30310, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6385, 385, 3169, 3420, 1133, 1519, 273, 261, 15339, 3420, 1133, 13, 261, 261, 1133, 921, 1649, 13, 19512, 12, 262, 262, 18, 588, 1133, 921, 12, 13348, 1830, 18, 2640, 11532, 12, 293, 262, 16, 9506, 202, 15339, 3420, 1133, 18, 1106, 11272, 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, 15211, 1190, 26494, 8772, 69, 273, 261, 11532, 1190, 26494, 13, 336, 7703, 1012, 12, 11272, 202, 202, 430, 261, 324, 3759, 382, 4021, 262, 202, 202, 95, 1082, 202, 5902, 8199, 12, 277, 683, 16, 293, 11272, 1082, 202, 5902, 26494, 6999, 12, 277, 683, 16, 293, 11272, 202, 202, 97, 202, 202, 45, 6485, 14261, 13368, 9133, 76, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 11254, 76, 273, 261, 261, 11532, 1190, 26494, 13, 336, 7703, 1012, 12, 262, 262, 18, 588, 6485, 14261, 13368, 12, 336, 6485, 1852, 12, 262, 16, 6862, 202, 588, 6485, 12, 262, 11272, 202, 202, 97, 202, 202, 14683, 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, 225, 202, 482, 727, 918, 1743, 11532, 12, 467, 9840, 6747, 277, 683, 16, 15211, 293, 262, 1082, 202, 15069, 14804, 503, 202, 95, 202, 202, 430, 261, 401, 84, 18, 291, 6207, 12, 262, 262, 368, 14565, 12596, 30310, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6385, 385, 3169, 3420, 1133, 1519, 273, 261, 15339, 3420, 1133, 13, 261, 261, 1133, 921, 1649, 13, 19512, 12, 262, 262, 18, 588, 1133, 921, 12, 13348, 1830, 18, 2640, 11532, 12, 293, 262, 16, 9506, 202, 15339, 3420, 1133, 18, 1106, 11272, 202, 202, 6385, 1250, 324, 3759, 382, 4021, 273, 261, 277, 6485, 1016, 422, 374, 11272, 202, 202, 6385, 1250, 324, 3024, 382, 2 ]
setAttribute("title", newValue); }
setAttribute("title", newValue); }
public void setTitle(String newValue) { setAttribute("title", newValue); }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/bf94d6634ab3635fdb8210105d9c1c839d13e555/WMLOptgroupElementImpl.java/clean/src/org/apache/wml/dom/WMLOptgroupElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 14109, 12, 780, 6129, 13, 288, 565, 4730, 2932, 2649, 3113, 6129, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 14109, 12, 780, 6129, 13, 288, 565, 4730, 2932, 2649, 3113, 6129, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void handleDocumentationQuote(SoarProduction sp) throws ParseException { Token tok = getToken(1); if(tok.kind == QUOTE) { getNextToken(); while(getToken(1).kind != QUOTE) { getNextToken(); } getNextToken(); } sp.setComment(""); }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/febc6aa07cc9db7fe8accccebc781a6bba1e9a18/SoarParser.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/parser/SoarParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 4110, 18905, 10257, 12, 10225, 297, 31590, 1752, 13, 15069, 13047, 95, 20477, 319, 601, 33, 588, 1345, 12, 21, 1769, 430, 12, 17692, 18, 9224, 631, 18980, 15329, 588, 9399, 5621, 17523, 12, 588, 1345, 12, 21, 2934, 9224, 5, 33, 18980, 15329, 588, 9399, 5621, 97, 588, 9399, 5621, 97, 1752, 18, 542, 4469, 2932, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 4110, 18905, 10257, 12, 10225, 297, 31590, 1752, 13, 15069, 13047, 95, 20477, 319, 601, 33, 588, 1345, 12, 21, 1769, 430, 12, 17692, 18, 9224, 631, 18980, 15329, 588, 9399, 5621, 17523, 12, 588, 1345, 12, 21, 2934, 9224, 5, 33, 18980, 15329, 588, 9399, 5621, 97, 588, 9399, 5621, 97, 1752, 18, 542, 4469, 2932, 8863, 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 ]
{ return null; }
{ return null; }
public Object caseBlock(Block object) { return null; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/bdab78403751f288b76844a99f50b999c34fb491/LayoutSwitch.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/util/LayoutSwitch.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 648, 1768, 12, 1768, 733, 13, 565, 288, 3639, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 648, 1768, 12, 1768, 733, 13, 565, 288, 3639, 327, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
providerRegistry.put( realURL, provider );
if ( provider != null ) { providerRegistry.put( realURL, provider ); }
public static FeatureProvider getProvider( String url ) { FeatureProvider provider = null; URL realURL = baseURLFor( url ); if ( realURL != null ) { provider = (FeatureProvider)providerRegistry.get( realURL ); if ( provider == null ) { try { InputStream stream = new URL( realURL, UPDATE_PROPERTIES_FILE ).openStream(); provider = new FeatureProvider( realURL, stream ); stream.close(); } catch ( IOException e ) { System.out.println( "Error: exception while reading " + "from subsystem provider at " + realURL ); System.out.println( e.getMessage() ); } providerRegistry.put( realURL, provider ); } } return provider; }
46712 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46712/ff611f922e1fac1afb5fffc74ca885c3a5aefda0/FeatureProvider.java/buggy/Bootstrap/src/net/sf/webcat/FeatureProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 7881, 2249, 16137, 12, 514, 880, 262, 565, 288, 3639, 7881, 2249, 2893, 273, 446, 31, 3639, 1976, 2863, 1785, 273, 17480, 1290, 12, 880, 11272, 3639, 309, 261, 2863, 1785, 480, 446, 262, 3639, 288, 5411, 2893, 273, 261, 4595, 2249, 13, 6778, 4243, 18, 588, 12, 2863, 1785, 11272, 5411, 309, 261, 2893, 422, 446, 262, 5411, 288, 7734, 775, 7734, 288, 10792, 5037, 1407, 273, 13491, 394, 1976, 12, 2863, 1785, 16, 11028, 67, 17421, 67, 3776, 262, 18, 3190, 1228, 5621, 10792, 2893, 273, 394, 7881, 2249, 12, 2863, 1785, 16, 1407, 11272, 10792, 1407, 18, 4412, 5621, 7734, 289, 7734, 1044, 261, 1860, 425, 262, 7734, 288, 10792, 2332, 18, 659, 18, 8222, 12, 315, 668, 30, 1520, 1323, 6453, 315, 13491, 397, 315, 2080, 15359, 2893, 622, 315, 397, 2863, 1785, 11272, 10792, 2332, 18, 659, 18, 8222, 12, 425, 18, 24906, 1435, 11272, 7734, 289, 7734, 309, 261, 2893, 480, 446, 262, 288, 2893, 4243, 18, 458, 12, 2863, 1785, 16, 2893, 11272, 289, 5411, 289, 3639, 289, 3639, 327, 2893, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 7881, 2249, 16137, 12, 514, 880, 262, 565, 288, 3639, 7881, 2249, 2893, 273, 446, 31, 3639, 1976, 2863, 1785, 273, 17480, 1290, 12, 880, 11272, 3639, 309, 261, 2863, 1785, 480, 446, 262, 3639, 288, 5411, 2893, 273, 261, 4595, 2249, 13, 6778, 4243, 18, 588, 12, 2863, 1785, 11272, 5411, 309, 261, 2893, 422, 446, 262, 5411, 288, 7734, 775, 7734, 288, 10792, 5037, 1407, 273, 13491, 394, 1976, 12, 2863, 1785, 16, 11028, 67, 17421, 67, 3776, 262, 18, 3190, 1228, 5621, 10792, 2893, 273, 394, 7881, 2249, 12, 2863, 1785, 16, 1407, 11272, 10792, 1407, 18, 4412, 5621, 7734, 289, 7734, 1044, 261, 1860, 425, 262, 7734, 288, 10792, 2332, 18, 659, 2 ]
if(!(descriptor instanceof ValueDescriptorImpl)) {
if (!(descriptor instanceof ValueDescriptorImpl)) {
public void update(AnActionEvent e) { DebuggerTreeNodeImpl[] selectedNodes = getSelectedNodes(e.getDataContext()); boolean enabled; if (selectedNodes != null) { enabled = true; if (getPanel(e.getDataContext()) instanceof MainWatchPanel) { for (int i = 0; i < selectedNodes.length; i++) { DebuggerTreeNodeImpl node = selectedNodes[i]; NodeDescriptorImpl descriptor = node.getDescriptor(); if(!(descriptor instanceof ValueDescriptorImpl)) { enabled = false; break; } } } } else { final Editor editor = (Editor)e.getDataContext().getData(DataConstants.EDITOR); enabled = DebuggerUtilsEx.getEditorText(editor) != null ; } e.getPresentation().setVisible(enabled); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/1c345a5451325c41a0afd7d640731eb46e002f70/AddToWatchAction.java/clean/source/com/intellij/debugger/actions/AddToWatchAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 12, 979, 1803, 1133, 425, 13, 288, 565, 28645, 12513, 2828, 8526, 3170, 3205, 273, 16625, 3205, 12, 73, 18, 588, 751, 1042, 10663, 565, 1250, 3696, 31, 565, 309, 261, 8109, 3205, 480, 446, 13, 288, 1377, 3696, 273, 638, 31, 1377, 309, 261, 588, 5537, 12, 73, 18, 588, 751, 1042, 10756, 1276, 12740, 5234, 5537, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3170, 3205, 18, 2469, 31, 277, 27245, 288, 1850, 28645, 12513, 2828, 756, 273, 3170, 3205, 63, 77, 15533, 1850, 2029, 3187, 2828, 4950, 273, 756, 18, 588, 3187, 5621, 1850, 309, 16051, 12, 12628, 1276, 1445, 3187, 2828, 3719, 288, 5411, 3696, 273, 629, 31, 5411, 898, 31, 1850, 289, 3639, 289, 1377, 289, 565, 289, 565, 469, 288, 1377, 727, 18451, 4858, 225, 273, 261, 6946, 13, 73, 18, 588, 751, 1042, 7675, 588, 751, 12, 751, 2918, 18, 13208, 1769, 1377, 3696, 273, 28645, 1989, 424, 18, 588, 6946, 1528, 12, 9177, 13, 480, 446, 274, 565, 289, 565, 425, 18, 588, 6351, 367, 7675, 542, 6207, 12, 5745, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 12, 979, 1803, 1133, 425, 13, 288, 565, 28645, 12513, 2828, 8526, 3170, 3205, 273, 16625, 3205, 12, 73, 18, 588, 751, 1042, 10663, 565, 1250, 3696, 31, 565, 309, 261, 8109, 3205, 480, 446, 13, 288, 1377, 3696, 273, 638, 31, 1377, 309, 261, 588, 5537, 12, 73, 18, 588, 751, 1042, 10756, 1276, 12740, 5234, 5537, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3170, 3205, 18, 2469, 31, 277, 27245, 288, 1850, 28645, 12513, 2828, 756, 273, 3170, 3205, 63, 77, 15533, 1850, 2029, 3187, 2828, 4950, 273, 756, 18, 588, 3187, 5621, 1850, 309, 16051, 12, 12628, 1276, 1445, 3187, 2828, 3719, 288, 5411, 3696, 273, 629, 2 ]
LineStyle style = (LineStyle) getPrimaryView().getStyle(NotationPackage.eINSTANCE.getLineStyle());
LineStyle style = (LineStyle) getPrimaryView().getStyle( NotationPackage.eINSTANCE.getLineStyle());
protected void refreshForegroundColor() { LineStyle style = (LineStyle) getPrimaryView().getStyle(NotationPackage.eINSTANCE.getLineStyle()); if (style != null) setForegroundColor(PresentationResourceManager.getInstance().getColor(new Integer(style.getLineColor()))); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/8cde65fc058a9faaf847d04bf9b28594ea600f8f/ConnectionEditPart.java/buggy/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/editparts/ConnectionEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4460, 23206, 2957, 1435, 288, 202, 202, 1670, 2885, 2154, 273, 261, 1670, 2885, 13, 225, 11398, 1767, 7675, 588, 2885, 12, 14818, 2261, 18, 73, 13341, 18, 588, 1670, 2885, 10663, 202, 202, 430, 261, 4060, 480, 446, 13, 1082, 202, 542, 23206, 2957, 12, 6351, 367, 1420, 1318, 18, 588, 1442, 7675, 588, 2957, 12, 2704, 2144, 12, 4060, 18, 588, 1670, 2957, 1435, 3719, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4460, 23206, 2957, 1435, 288, 202, 202, 1670, 2885, 2154, 273, 261, 1670, 2885, 13, 225, 11398, 1767, 7675, 588, 2885, 12, 14818, 2261, 18, 73, 13341, 18, 588, 1670, 2885, 10663, 202, 202, 430, 261, 4060, 480, 446, 13, 1082, 202, 542, 23206, 2957, 12, 6351, 367, 1420, 1318, 18, 588, 1442, 7675, 588, 2957, 12, 2704, 2144, 12, 4060, 18, 588, 1670, 2957, 1435, 3719, 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 ]
private List findAgents(Attribute configEntries) {
private ServiceItem[] findAgents(Attribute configEntries) {
private List findAgents(Attribute configEntries) { if (configEntries == null) { System.out.println("Enter search entries as comma-separated name/value pairs " + "(e.g. \"os.name=WinNT, fixpack=4.1\")"); System.out.print("Search entries: "); searchEntries = console.readLine(); } else { searchEntries = configEntries.getValue(); } LOG.debug("Searching for agents matching entries: " + searchEntries); ServiceRegistrar registrar = null; try { registrar = (ServiceRegistrar) discovery.getRegistrar(5000); LOG.debug("Found registrar: " + registrar.getServiceID()); } catch (UnknownServiceException e) { String message = "No registrar found after 5 seconds - quitting"; LOG.error(message, e); System.err.println(message + " - " + e.getMessage()); System.exit(1); } List entriesList = ReggieUtil.convertStringEntriesToList(searchEntries); List agents = ReggieUtil.findServicesForEntriesList(registrar, entriesList, BuildAgentService.class); if (agents.size() == 0) { String message = "No matches for your search - quitting..."; System.err.println(message); System.out.println(); LOG.error(message); System.exit(1); } System.out.println(); return agents; }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/d718cbff723c96240ccea6f66ea15ed9811ca146/InteractiveBuildUtility.java/buggy/contrib/distributed/src/net/sourceforge/cruisecontrol/distributed/util/InteractiveBuildUtility.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1956, 1180, 8526, 1104, 23400, 12, 1499, 642, 5400, 13, 288, 3639, 309, 261, 1425, 5400, 422, 446, 13, 288, 202, 3639, 2332, 18, 659, 18, 8222, 2932, 10237, 1623, 3222, 487, 8716, 17, 24622, 508, 19, 1132, 5574, 315, 202, 7734, 397, 7751, 73, 18, 75, 18, 1239, 538, 18, 529, 33, 18049, 1784, 16, 2917, 2920, 33, 24, 18, 21, 2412, 2225, 1769, 202, 3639, 2332, 18, 659, 18, 1188, 2932, 2979, 3222, 30, 315, 1769, 202, 3639, 1623, 5400, 273, 2983, 18, 896, 1670, 5621, 3639, 289, 469, 288, 5411, 1623, 5400, 273, 642, 5400, 18, 24805, 5621, 3639, 289, 3639, 2018, 18, 4148, 2932, 2979, 310, 364, 16423, 3607, 3222, 30, 315, 397, 1623, 5400, 1769, 3639, 1956, 30855, 17450, 297, 273, 446, 31, 3639, 775, 288, 5411, 17450, 297, 273, 261, 1179, 30855, 13, 11030, 18, 588, 30855, 12, 25, 3784, 1769, 5411, 2018, 18, 4148, 2932, 2043, 17450, 297, 30, 315, 397, 17450, 297, 18, 588, 1179, 734, 10663, 3639, 289, 1044, 261, 4874, 15133, 425, 13, 288, 5411, 514, 883, 273, 315, 2279, 17450, 297, 1392, 1839, 1381, 3974, 300, 9706, 1787, 14432, 5411, 2018, 18, 1636, 12, 2150, 16, 425, 1769, 5411, 2332, 18, 370, 18, 8222, 12, 2150, 397, 315, 300, 315, 397, 425, 18, 24906, 10663, 5411, 2332, 18, 8593, 12, 21, 1769, 3639, 289, 3639, 987, 3222, 682, 273, 2526, 75, 1385, 1304, 18, 6283, 780, 5400, 25772, 12, 3072, 5400, 1769, 3639, 987, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1956, 1180, 8526, 1104, 23400, 12, 1499, 642, 5400, 13, 288, 3639, 309, 261, 1425, 5400, 422, 446, 13, 288, 202, 3639, 2332, 18, 659, 18, 8222, 2932, 10237, 1623, 3222, 487, 8716, 17, 24622, 508, 19, 1132, 5574, 315, 202, 7734, 397, 7751, 73, 18, 75, 18, 1239, 538, 18, 529, 33, 18049, 1784, 16, 2917, 2920, 33, 24, 18, 21, 2412, 2225, 1769, 202, 3639, 2332, 18, 659, 18, 1188, 2932, 2979, 3222, 30, 315, 1769, 202, 3639, 1623, 5400, 273, 2983, 18, 896, 1670, 5621, 3639, 289, 469, 288, 5411, 1623, 5400, 273, 642, 5400, 18, 24805, 5621, 3639, 289, 3639, 2018, 18, 4148, 2932, 2979, 310, 364, 16423, 3607, 3222, 30, 315, 397, 2 ]
public double jsFunction_getDate() {
private double jsFunction_getDate() {
public double jsFunction_getDate() { if (this.date != this.date) return this.date; return DateFromTime(LocalTime(this.date)); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/73de18d72e0c8f14512bd8931af25545029f649a/NativeDate.java/clean/js/rhino/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1645, 3828, 2083, 67, 588, 1626, 1435, 288, 3639, 309, 261, 2211, 18, 712, 480, 333, 18, 712, 13, 5411, 327, 333, 18, 712, 31, 3639, 327, 2167, 1265, 950, 12, 2042, 950, 12, 2211, 18, 712, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1645, 3828, 2083, 67, 588, 1626, 1435, 288, 3639, 309, 261, 2211, 18, 712, 480, 333, 18, 712, 13, 5411, 327, 333, 18, 712, 31, 3639, 327, 2167, 1265, 950, 12, 2042, 950, 12, 2211, 18, 712, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
rollbackCounter = 0; redeliveryDelay = 0;
public void rollback() throws JMSException { synchronized (unconsumedMessages.getMutex()) { if (deliveredMessages.isEmpty()) return; rollbackCounter++; RedeliveryPolicy redeliveryPolicy = session.connection.getRedeliveryPolicy(); if (rollbackCounter > redeliveryPolicy.getMaximumRedeliveries()) { // We need to NACK the messages so that they get sent to the // DLQ. // Acknowledge the last message. MessageDispatch lastMd = (MessageDispatch) deliveredMessages.get(0); MessageAck ack = new MessageAck(lastMd, MessageAck.POSION_ACK_TYPE, deliveredMessages.size()); session.asyncSendPacket(ack); // Adjust the counters deliveredCounter -= deliveredMessages.size(); additionalWindowSize = Math.max(0, additionalWindowSize - deliveredMessages.size()); } else { // stop the delivery of messages. unconsumedMessages.stop(); // Start up the delivery again a little later. if (redeliveryDelay == 0) { redeliveryDelay = redeliveryPolicy.getInitialRedeliveryDelay(); } else { if (redeliveryPolicy.isUseExponentialBackOff()) redeliveryDelay *= redeliveryPolicy.getBackOffMultiplier(); } Scheduler.executeAfterDelay(new Runnable() { public void run() { try { if (started.get()) start(); } catch (JMSException e) { session.connection.onAsyncException(e); } } }, redeliveryDelay); for (Iterator iter = deliveredMessages.iterator(); iter.hasNext();) { MessageDispatch md = (MessageDispatch) iter.next(); md.getMessage().incrementRedeliveryCounter(); unconsumedMessages.enqueueFirst(md); } } deliveredMessages.clear(); } if (messageListener != null) { session.redispatch(unconsumedMessages); } }
17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/80f5e0ced1de75624f109466395ef57fdb6f774b/ActiveMQMessageConsumer.java/clean/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 1071, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 918, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 1435, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 1216, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 20343, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 288, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 3852, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 261, 551, 265, 1364, 329, 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, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 1071, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 918, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 8006, 1435, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 1216, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 273, 374, 31, 225, 20343, 20050, 4789, 273, 374, 31, 1755, 292, 4535, 6763, 2 ]