rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
128
128
inputFiles[i] = findFile((String)filenames.elementAt(i));
inputFiles[i] = new File((String)filenames.elementAt(i));
public static void main(String[] args) { clearState();// if (!JavadocRunner.has14ToolsAvailable()) {// System.err.println("ajdoc requires a JDK 1.4 or later tools jar - exiting");// aborted = true;// return;// } // STEP 1: parse the command line and do other global setup sourcepath.addElement("."); // add the current directory to the classapth parseCommandLine(args); rootDir = getRootDir(); symbolManager = SymbolManager.getDefault(); File[] inputFiles = new File[filenames.size()]; File[] signatureFiles = new File[filenames.size()]; try { // create the workingdir if it doesn't exist if ( !(new File( Config.WORKING_DIR ).isDirectory()) ) { File dir = new File( Config.WORKING_DIR ); dir.mkdir(); if (deleteTempFilesOnExit) dir.deleteOnExit(); } for (int i = 0; i < filenames.size(); i++) { inputFiles[i] = findFile((String)filenames.elementAt(i)); //signatureFiles[i] = createSignatureFile(inputFiles[i]); } // PHASE 0: call ajc ajcOptions.addElement("-noExit"); ajcOptions.addElement("-XjavadocsInModel"); // TODO: wrong option to force model gen ajcOptions.addElement("-d"); ajcOptions.addElement(rootDir.getAbsolutePath()); String[] argsToCompiler = new String[ajcOptions.size() + inputFiles.length]; int i = 0; for ( ; i < ajcOptions.size(); i++ ) { argsToCompiler[i] = (String)ajcOptions.elementAt(i); } for ( int j = 0; j < inputFiles.length; j++) { argsToCompiler[i] = inputFiles[j].getAbsolutePath(); //System.out.println(">> file to ajc: " + inputFiles[j].getAbsolutePath()); i++; }// System.out.println(Arrays.asList(argsToCompiler)); System.out.println( "> Calling ajc..." ); CompilerWrapper.main(argsToCompiler); if (CompilerWrapper.hasErrors()) { System.out.println(FAIL_MESSAGE); aborted = true; return; }/* for (int ii = 0; ii < inputFiles.length; ii++) { String tempFP = inputFiles[ii].getAbsolutePath(); tempFP = tempFP.substring(0, tempFP.length()-4); tempFP += "ajsym"; System.out.println( ">> checking: " + tempFP); File tempF = new File(tempFP); if ( !tempF.exists() ) System.out.println( ">>> doesn't exist!" ); }*/ for (int ii = 0; ii < filenames.size(); ii++) { signatureFiles[ii] = createSignatureFile(inputFiles[ii]); } // PHASE 1: generate Signature files (Java with DeclIDs and no bodies). System.out.println( "> Building signature files..." ); StubFileGenerator.doFiles(declIDTable, symbolManager, inputFiles, signatureFiles); // PHASE 2: let Javadoc generate HTML (with DeclIDs) System.out.println( "> Calling javadoc..." ); String[] javadocargs = null; if ( packageMode ) { int numExtraArgs = 2; if (authorStandardDocletSwitch) numExtraArgs++; if (versionStandardDocletSwitch) numExtraArgs++; javadocargs = new String[numExtraArgs + options.size() + packageList.size() + fileList.size() ]; javadocargs[0] = "-sourcepath"; javadocargs[1] = Config.WORKING_DIR; int argIndex = 2; if (authorStandardDocletSwitch) { javadocargs[argIndex] = "-author"; argIndex++; } if (versionStandardDocletSwitch) { javadocargs[argIndex] = "-version"; } //javadocargs[1] = getSourcepathAsString(); for (int k = 0; k < options.size(); k++) { javadocargs[numExtraArgs+k] = (String)options.elementAt(k); } for (int k = 0; k < packageList.size(); k++) { javadocargs[numExtraArgs+options.size() + k] = (String)packageList.elementAt(k); } for (int k = 0; k < fileList.size(); k++) { javadocargs[numExtraArgs+options.size() + packageList.size() + k] = (String)fileList.elementAt(k); } } else { javadocargs = new String[options.size() + signatureFiles.length]; for (int k = 0; k < options.size(); k++) { javadocargs[k] = (String)options.elementAt(k); } for (int k = 0; k < signatureFiles.length; k++) { javadocargs[options.size() + k] = signatureFiles[k].getCanonicalPath(); } } JavadocRunner.callJavadoc(javadocargs); //for ( int o = 0; o < inputFiles.length; o++ ) { // System.out.println( "file: " + inputFiles[o] ); //} // PHASE 3: add AspectDoc specific stuff to the HTML (and remove the DeclIDS). /** We start with the known HTML files (the ones that correspond directly to the * input files.) As we go along, we may learn that Javadoc split one .java file * into multiple .html files to handle inner classes or local classes. The html * file decorator picks that up. */ System.out.println( "> Decorating html files..." ); HtmlDecorator.decorateHTMLFromInputFiles(declIDTable, rootDir, symbolManager, inputFiles, docModifier); System.out.println( "> Removing generated tags (this may take a while)..." ); removeDeclIDsFromFile("index-all.html", true); removeDeclIDsFromFile("serialized-form.html", true); if (packageList.size() > 0) { for (int p = 0; p < packageList.size(); p++) { removeDeclIDsFromFile(((String)packageList.elementAt(p)).replace('.','/') + Config.DIR_SEP_CHAR + "package-summary.html", true); } } else { File[] files = FileUtil.listFiles(rootDir, new FileFilter() { public boolean accept(File f) { return f.getName().equals("package-summary.html"); } }); for (int j = 0; j < files.length; j++) { removeDeclIDsFromFile(files[j].getAbsolutePath(), false); } } System.out.println( "> Finished." ); } catch (Throwable e) { handleInternalError(e); exit(-2); } }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/3707411c2b5fdd0294c2ab5305c32766644241f1/Main.java/clean/ajdoc/src/org/aspectj/tools/ajdoc/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 377, 202, 8507, 1119, 5621, 759, 377, 202, 430, 16051, 24060, 9709, 18, 5332, 3461, 10348, 5268, 10756, 288, 759, 377, 202, 202, 3163, 18, 370, 18, 8222, 2932, 4365, 2434, 4991, 279, 24387, 404, 18, 24, 578, 5137, 8513, 7334, 300, 15702, 8863, 759, 377, 202, 202, 18623, 329, 273, 638, 31, 759, 377, 202, 202, 2463, 31, 759, 377, 202, 97, 377, 202, 1850, 368, 25538, 404, 30, 1109, 326, 1296, 980, 471, 741, 1308, 2552, 3875, 3639, 1084, 803, 18, 1289, 1046, 2932, 1199, 1769, 368, 527, 326, 783, 1867, 358, 326, 667, 1657, 76, 3639, 1109, 21391, 12, 1968, 1769, 1850, 15393, 273, 7656, 1621, 5621, 3639, 3273, 1318, 273, 8565, 1318, 18, 588, 1868, 5621, 3639, 1387, 8526, 810, 2697, 1377, 273, 394, 1387, 63, 19875, 18, 1467, 1435, 15533, 3639, 1387, 8526, 3372, 2697, 225, 273, 394, 1387, 63, 19875, 18, 1467, 1435, 15533, 3639, 775, 288, 5411, 368, 752, 326, 5960, 1214, 309, 518, 3302, 1404, 1005, 5411, 309, 261, 401, 12, 2704, 1387, 12, 1903, 18, 10566, 1360, 67, 4537, 262, 18, 291, 2853, 10756, 262, 288, 7734, 1387, 1577, 273, 394, 1387, 12, 1903, 18, 10566, 1360, 67, 4537, 11272, 7734, 1577, 18, 26686, 5621, 7734, 309, 261, 3733, 7185, 2697, 1398, 6767, 13, 1577, 18, 3733, 1398, 6767, 5621, 5411, 289, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 9066, 18, 1467, 5621, 277, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 377, 202, 8507, 1119, 5621, 759, 377, 202, 430, 16051, 24060, 9709, 18, 5332, 3461, 10348, 5268, 10756, 288, 759, 377, 202, 202, 3163, 18, 370, 18, 8222, 2932, 4365, 2434, 4991, 279, 24387, 404, 18, 24, 578, 5137, 8513, 7334, 300, 15702, 8863, 759, 377, 202, 202, 18623, 329, 273, 638, 31, 759, 377, 202, 202, 2463, 31, 759, 377, 202, 97, 377, 202, 1850, 368, 25538, 404, 30, 1109, 326, 1296, 980, 471, 741, 1308, 2552, 3875, 3639, 1084, 803, 18, 1289, 1046, 2932, 1199, 1769, 368, 527, 326, 783, 1867, 358, 326, 667, 1657, 76, 3639, 1109, 21391, 12, 1968, 1769, 1850, 15393, 273, 7656, 2 ]
_notifyScreenLineChanges();
firstLine.reset(); scrollLineCount.reset(); notifyScreenLineChanges();
void init() { if(!initialized) { initialized = true; fvm = new int[2]; if(buffer.isLoaded()) bufferChangeHandler.foldHandlerChanged(buffer); else fvmreset(); _notifyScreenLineChanges(); } else { updateWrapSettings(); if(buffer.isLoaded()) { _notifyScreenLineChanges(); textArea.updateScrollBars(); textArea.recalculateLastPhysicalLine(); } } } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/ac445a6a81de6a7551afdd5576437fcd6a56e851/DisplayManager.java/buggy/org/gjt/sp/jedit/textarea/DisplayManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1208, 1435, 202, 95, 202, 202, 430, 12, 5, 13227, 13, 202, 202, 95, 1082, 202, 13227, 273, 638, 31, 1082, 202, 74, 3489, 273, 394, 509, 63, 22, 15533, 1082, 202, 430, 12, 4106, 18, 291, 8835, 10756, 9506, 202, 4106, 3043, 1503, 18, 16007, 1503, 5033, 12, 4106, 1769, 1082, 202, 12107, 9506, 202, 74, 3489, 6208, 5621, 1082, 202, 67, 12336, 7956, 1670, 7173, 5621, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 2725, 2964, 2628, 5621, 1082, 202, 430, 12, 4106, 18, 291, 8835, 10756, 1082, 202, 95, 9506, 202, 67, 12336, 7956, 1670, 7173, 5621, 9506, 202, 955, 5484, 18, 2725, 6806, 5190, 87, 5621, 9506, 202, 955, 5484, 18, 266, 11162, 3024, 18136, 1670, 5621, 1082, 202, 97, 202, 202, 97, 202, 97, 368, 9090, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6459, 1208, 1435, 202, 95, 202, 202, 430, 12, 5, 13227, 13, 202, 202, 95, 1082, 202, 13227, 273, 638, 31, 1082, 202, 74, 3489, 273, 394, 509, 63, 22, 15533, 1082, 202, 430, 12, 4106, 18, 291, 8835, 10756, 9506, 202, 4106, 3043, 1503, 18, 16007, 1503, 5033, 12, 4106, 1769, 1082, 202, 12107, 9506, 202, 74, 3489, 6208, 5621, 1082, 202, 67, 12336, 7956, 1670, 7173, 5621, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 2725, 2964, 2628, 5621, 1082, 202, 430, 12, 4106, 18, 291, 8835, 10756, 1082, 202, 95, 9506, 202, 67, 12336, 7956, 1670, 7173, 5621, 9506, 202, 955, 5484, 18, 2725, 6806, 5190, 87, 5621, 9506, 202, 955, 2 ]
private void parseConnections(List connections) throws GameParseException { GameMap map = data.getMap(); for(int i = 0; i < connections.size(); i++) { Element current = (Element) connections.get(i); Territory t1 = getTerritory(current, "t1", true); Territory t2 = getTerritory(current, "t2", true); map.addConnection(t1, t2); } }
8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/6d4902f6fb4cc244abe3aaada952f389c483c4fe/GameParser.java/buggy/triplea/src/games/strategy/engine/data/GameParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1109, 9314, 12, 682, 5921, 13, 1216, 14121, 13047, 202, 95, 202, 202, 12496, 863, 852, 273, 501, 18, 588, 863, 5621, 9506, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 5921, 18, 1467, 5621, 277, 27245, 202, 202, 95, 25083, 202, 1046, 783, 273, 261, 1046, 13, 5921, 18, 588, 12, 77, 1769, 1082, 202, 56, 25313, 268, 21, 273, 3181, 25313, 12, 2972, 16, 315, 88, 21, 3113, 638, 1769, 1082, 202, 56, 25313, 268, 22, 273, 3181, 25313, 12, 2972, 16, 315, 88, 22, 3113, 638, 1769, 1082, 202, 1458, 18, 1289, 1952, 12, 88, 21, 16, 268, 22, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1109, 9314, 12, 682, 5921, 13, 1216, 14121, 13047, 202, 95, 202, 202, 12496, 863, 852, 273, 501, 18, 588, 863, 5621, 9506, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 5921, 18, 1467, 5621, 277, 27245, 202, 202, 95, 25083, 202, 1046, 783, 273, 261, 1046, 13, 5921, 18, 588, 12, 77, 1769, 1082, 202, 56, 25313, 268, 21, 273, 3181, 25313, 12, 2972, 16, 315, 88, 21, 3113, 638, 1769, 1082, 202, 56, 25313, 268, 22, 273, 3181, 25313, 12, 2972, 16, 315, 88, 22, 3113, 638, 1769, 1082, 202, 1458, 18, 1289, 1952, 12, 88, 21, 16, 268, 22, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100 ]
try { return listener.add(this); } catch(DocumentException de) { return false; }
try { return listener.add(this); } catch(DocumentException de) { return false; }
public boolean process(ElementListener listener) { try { return listener.add(this); } catch(DocumentException de) { return false; } }
3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/ed86dfb474e6fa22e1797452482e751a297a7e1f/Cell.java/clean/itext/src/com/lowagie/text/Cell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1207, 12, 1046, 2223, 2991, 13, 288, 3639, 775, 288, 5411, 327, 2991, 18, 1289, 12, 2211, 1769, 3639, 289, 3639, 1044, 12, 2519, 503, 443, 13, 288, 5411, 327, 629, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1207, 12, 1046, 2223, 2991, 13, 288, 3639, 775, 288, 5411, 327, 2991, 18, 1289, 12, 2211, 1769, 3639, 289, 3639, 1044, 12, 2519, 503, 443, 13, 288, 5411, 327, 629, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
DbNodeEntry suspectNodeEntry = DbNodeEntry.get(dbc, existingNodeId);
DbNodeEntry suspectNodeEntry = DbNodeEntry.get(dbc, existingNodeId);
private void updateInterface(Connection dbc, Date now, DbNodeEntry node, InetAddress target, InetAddress ifaddr, List protocols, IfSnmpCollector snmpc, boolean doesSnmp) throws SQLException { /* * Reparenting * * This sub-interface was not previously associated with this node. If * the sub-interface is already associated with another node we must do * one of the following: * * 1. If the target interface (the one being rescanned) appears to be an * interface alias all of the interfaces under the sub-interface's node * will be reparented under the nodeid of the target interface. * * 2. If however the interface is not an alias, only the sub-interface * will be reparented under the nodeid of the interface being rescanned. * * In the reparenting process, the database ipinterface, snmpinterface * and ifservices table entries associated with the reparented interface * will be "updated" to reflect the new nodeid. If the old node has * no remaining interfaces following the reparenting it will be marked * as deleted. */ /* * Special case: Need to skip interface reparenting for '0.0.0.0' * interfaces as well as loopback interfaces ('127.*.*.*'). */ Category log = ThreadCategory.getInstance(getClass()); if (log.isDebugEnabled()) { log.debug("updateInterface: updating interface " + ifaddr.getHostAddress() + "(targetIf=" + target.getHostAddress() + ")"); if (doesSnmp) { log.debug("updateInterface: the snmp collection passed in is collected via" + snmpc.getCollectorTargetAddress().getHostAddress()); } } boolean reparentFlag = false; boolean newIpIfEntry = false; int ifIndex = -1; DbIpInterfaceEntry dbIpIfEntry = DbIpInterfaceEntry.get(dbc, node.getNodeId(), ifaddr); if (doesSnmp && snmpc.hasIpAddrTable()) { // Attempt to load IP Interface entry from the database ifIndex = snmpc.getIfIndex(ifaddr); if (log.isDebugEnabled()) log.debug("updateInterface: interface = " + ifaddr.getHostAddress() + " ifIndex = " + ifIndex + ". Checking for this address on other nodes."); /* * the updating interface may have already existed in the * ipinterface table with different * nodeIds. If it exist in a different node, verify if all the * interfaces on that node * are contained in the snmpc of the updating interface. If they * are, reparent all * the interfaces on that node to the node of the updating * interface, otherwise, just add * the interface to the updating node. */ // Verify that SNMP collection contains ipAddrTable entries IpAddrTable ipAddrTable = null; ipAddrTable = snmpc.getIpAddrTable(); if (ipAddrTable == null) { log.error("updateInterface: null ipAddrTable in the snmp collection"); } else { if (ifaddr.getHostAddress().equals("0.0.0.0") || ifaddr.getHostAddress().startsWith("127.")) { if (log.isDebugEnabled()) { log.debug("updateInterface: Skipping address from snmpc ipAddrTable " + ifaddr.getHostAddress()); } } else { if (log.isDebugEnabled()) { log.debug("updateInterface: Checking address from snmpc ipAddrTable " + ifaddr.getHostAddress()); } PreparedStatement stmt = null; try { stmt = dbc.prepareStatement(SQL_DB_RETRIEVE_OTHER_NODES); stmt.setString(1, ifaddr.getHostAddress()); stmt.setInt(2, node.getNodeId()); ResultSet rs = stmt.executeQuery(); while (rs.next()) { int existingNodeId = rs.getInt(1); if (log.isDebugEnabled()) { log.debug("updateInterface: ckecking for " + ifaddr.getHostAddress() + " on existing nodeid " + existingNodeId); } DbNodeEntry suspectNodeEntry = DbNodeEntry.get(dbc, existingNodeId); if (suspectNodeEntry == null) { // This can happen if a node has been deleted. continue; } // Retrieve list of interfaces associated with the old // node DbIpInterfaceEntry[] tmpIfArray = suspectNodeEntry.getInterfaces(dbc); // Verify if the suspectNodeEntry is a duplicate node if (areDbInterfacesInSnmpCollection(tmpIfArray, snmpc)) { // Reparent each interface under the targets' nodeid for (int i = 0; i < tmpIfArray.length; i++) { InetAddress addr = tmpIfArray[i].getIfAddress(); int index = snmpc.getIfIndex(addr); // Skip non-IP or loopback interfaces if (addr.getHostAddress().equals("0.0.0.0") || addr.getHostAddress().startsWith("127.")) { continue; } if (log.isDebugEnabled()) log.debug("updateInterface: reparenting interface " + addr.getHostAddress() + " under node: " + node.getNodeId() + " from existing node: " + existingNodeId); reparentInterface(dbc, addr, index, node.getNodeId(), existingNodeId); // Create interfaceReparented event createInterfaceReparentedEvent(node, existingNodeId, addr); } if (log.isDebugEnabled()) log.debug("updateInterface: interface " + ifaddr.getHostAddress() + " is added to node: " + node.getNodeId() + " by reparenting from existing node: " + existingNodeId); dbIpIfEntry = DbIpInterfaceEntry.get(dbc, node.getNodeId(), ifaddr); reparentFlag = true; // delete duplicate node after reparenting. deleteDuplicateNode(dbc, suspectNodeEntry); createDuplicateNodeDeletedEvent(suspectNodeEntry); } } } catch (SQLException sqlE) { log.error("SQLException while updating interface: " + ifaddr.getHostAddress() + " on nodeid: " + node.getNodeId()); throw sqlE; } finally { try { stmt.close(); } catch (SQLException e) { } } } } } /* * if no reparenting occured on the updating interface, add it to the * updating node. */ if (dbIpIfEntry == null) { /* * Interface not found with this nodeId so create new interface * entry */ if (log.isDebugEnabled()) { log.debug("updateInterface: interface " + ifaddr + " ifIndex " + ifIndex + " not in database under nodeid " + node.getNodeId() + ", creating new interface object."); } if (ifIndex == -1 && !doesSnmp) { dbIpIfEntry = DbIpInterfaceEntry.create(node.getNodeId(), ifaddr); } else { dbIpIfEntry = DbIpInterfaceEntry.create(node.getNodeId(), ifaddr, ifIndex); // This wasn't getting done for some reason, so do it explicitly dbIpIfEntry.setIfIndex(ifIndex); } if (isDuplicateInterface(dbc, ifaddr, node.getNodeId())) { createDuplicateIpAddressEvent(dbIpIfEntry); } newIpIfEntry = true; } // update ipinterface for the updating interface updateInterfaceInfo(dbc, now, node, dbIpIfEntry, snmpc, newIpIfEntry, reparentFlag, doesSnmp); if (doesSnmp) { // update SNMP info if available updateSnmpInfo(dbc, node, dbIpIfEntry, snmpc); } // update IfServices for the updating interface updateServiceInfo(dbc, node, dbIpIfEntry, newIpIfEntry, protocols); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/8a6576d66e6ad3849723ebfbdc7af8419591da4a/RescanProcessor.java/clean/opennms-services/src/main/java/org/opennms/netmgt/capsd/RescanProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 1358, 12, 1952, 9881, 16, 2167, 2037, 16, 8408, 907, 1622, 756, 16, 14218, 1018, 16, 14218, 309, 4793, 16, 987, 16534, 16, 971, 10461, 1291, 7134, 15366, 71, 16, 1250, 1552, 10461, 1291, 13, 1216, 6483, 288, 3639, 1748, 540, 380, 868, 2938, 310, 540, 380, 540, 380, 1220, 720, 17, 5831, 1703, 486, 7243, 3627, 598, 333, 756, 18, 971, 540, 380, 326, 720, 17, 5831, 353, 1818, 3627, 598, 4042, 756, 732, 1297, 741, 540, 380, 1245, 434, 326, 3751, 30, 540, 380, 540, 380, 404, 18, 971, 326, 1018, 1560, 261, 5787, 1245, 3832, 400, 71, 10041, 13, 14606, 358, 506, 392, 540, 380, 1560, 2308, 777, 434, 326, 7349, 3613, 326, 720, 17, 5831, 1807, 756, 540, 380, 903, 506, 2071, 817, 329, 3613, 326, 756, 350, 434, 326, 1018, 1560, 18, 540, 380, 540, 380, 576, 18, 971, 14025, 326, 1560, 353, 486, 392, 2308, 16, 1338, 326, 720, 17, 5831, 540, 380, 903, 506, 2071, 817, 329, 3613, 326, 756, 350, 434, 326, 1560, 3832, 400, 71, 10041, 18, 540, 380, 540, 380, 657, 326, 2071, 817, 310, 1207, 16, 326, 2063, 2359, 5831, 16, 15366, 5831, 540, 380, 471, 309, 8387, 1014, 3222, 3627, 598, 326, 2071, 817, 329, 1560, 540, 380, 903, 506, 315, 7007, 6, 358, 3037, 326, 394, 756, 350, 18, 971, 326, 1592, 756, 711, 540, 380, 1158, 4463, 7349, 3751, 326, 2071, 817, 310, 518, 903, 506, 9350, 540, 380, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 1358, 12, 1952, 9881, 16, 2167, 2037, 16, 8408, 907, 1622, 756, 16, 14218, 1018, 16, 14218, 309, 4793, 16, 987, 16534, 16, 971, 10461, 1291, 7134, 15366, 71, 16, 1250, 1552, 10461, 1291, 13, 1216, 6483, 288, 3639, 1748, 540, 380, 868, 2938, 310, 540, 380, 540, 380, 1220, 720, 17, 5831, 1703, 486, 7243, 3627, 598, 333, 756, 18, 971, 540, 380, 326, 720, 17, 5831, 353, 1818, 3627, 598, 4042, 756, 732, 1297, 741, 540, 380, 1245, 434, 326, 3751, 30, 540, 380, 540, 380, 404, 18, 971, 326, 1018, 1560, 261, 5787, 1245, 3832, 400, 71, 10041, 13, 14606, 358, 506, 392, 540, 380, 1560, 2308, 777, 434, 326, 7349, 3613, 2 ]
return(getVisibleAmount());
return visibleAmount;
getVisible(){ return(getVisibleAmount());}
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/3fe1c14284ce32b79d0e66441aec6a45a77ff684/Scrollbar.java/buggy/libjava/java/awt/Scrollbar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 31564, 1435, 95, 225, 327, 12, 588, 6207, 6275, 10663, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 31564, 1435, 95, 225, 327, 12, 588, 6207, 6275, 10663, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"SmartFrogCompileResolutionException",
EXCEPTION_RESOLUTION,
public void testCaseTCN70() throws Exception { deployExpectingException(FILES+"tcn70.sf", "tcn70", "SmartFrogDeploymentException", null, "SmartFrogCompileResolutionException", "error in schema: non-optional attribute 'username' is missing"); }
4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/db915f637e0a928ba91302c10cf7632a022ea94b/NetTest.java/buggy/core/testharness/testcases/org/smartfrog/test/system/components/net/NetTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2449, 56, 12821, 7301, 1435, 1216, 1185, 288, 3639, 7286, 11988, 21546, 12, 12669, 9078, 5111, 82, 7301, 18, 21668, 3113, 4766, 315, 5111, 82, 7301, 3113, 4766, 315, 23824, 42, 303, 75, 6733, 503, 3113, 4766, 446, 16, 4766, 23136, 67, 17978, 13269, 16, 4766, 315, 1636, 316, 1963, 30, 1661, 17, 10444, 1566, 296, 5053, 11, 353, 3315, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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5111, 82, 7301, 3113, 4766, 315, 23824, 42, 303, 75, 6733, 503, 3113, 4766, 446, 16, 4766, 23136, 67, 17978, 13269, 16, 4766, 315, 1636, 316, 1963, 30, 1661, 17, 10444, 1566, 296, 5053, 11, 353, 3315, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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.parameters = ( HashMap ) getParsedParameters( design, parameterList, request, options );
this.parameters = (HashMap) getParsedParameters( design, parameterList, request, options );
protected void __initParameters( HttpServletRequest request ) throws Exception { IViewerReportDesignHandle design = getDesignHandle( request ); InputOptions options = new InputOptions( ); options.setOption( InputOptions.OPT_REQUEST, request ); options.setOption( InputOptions.OPT_LOCALE, locale ); Collection parameterList = this.getReportService( ) .getParameterDefinitions( design, options ); // TODO: Change parameters to be Map, not HashMap this.parameters = ( HashMap ) getParsedParameters( design, parameterList, request, options ); this.missingParameter = validateParameters( parameterList, this.parameters ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/5c8dd96b2b7249db362e597132210258101979a5/BaseAttributeBean.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/BaseAttributeBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1001, 2738, 2402, 12, 9984, 590, 262, 1082, 202, 15069, 1185, 202, 95, 202, 202, 45, 18415, 4820, 15478, 3259, 8281, 273, 2343, 281, 724, 3259, 12, 590, 11272, 202, 202, 1210, 1320, 702, 273, 394, 2741, 1320, 12, 11272, 202, 202, 2116, 18, 542, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 16, 590, 11272, 202, 202, 2116, 18, 542, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 16, 2573, 11272, 202, 202, 2532, 1569, 682, 273, 333, 18, 588, 4820, 1179, 12, 262, 9506, 202, 18, 588, 1662, 7130, 12, 8281, 16, 702, 11272, 202, 202, 759, 2660, 30, 7576, 1472, 358, 506, 1635, 16, 486, 4317, 202, 202, 2211, 18, 3977, 273, 261, 4317, 262, 25406, 2402, 12, 8281, 16, 9506, 202, 6775, 682, 16, 590, 16, 702, 11272, 202, 202, 2211, 18, 7337, 1662, 273, 1954, 2402, 12, 1569, 682, 16, 9506, 202, 2211, 18, 3977, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1001, 2738, 2402, 12, 9984, 590, 262, 1082, 202, 15069, 1185, 202, 95, 202, 202, 45, 18415, 4820, 15478, 3259, 8281, 273, 2343, 281, 724, 3259, 12, 590, 11272, 202, 202, 1210, 1320, 702, 273, 394, 2741, 1320, 12, 11272, 202, 202, 2116, 18, 542, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 16, 590, 11272, 202, 202, 2116, 18, 542, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 16, 2573, 11272, 202, 202, 2532, 1569, 682, 273, 333, 18, 588, 4820, 1179, 12, 262, 9506, 202, 18, 588, 1662, 7130, 12, 8281, 16, 702, 11272, 202, 202, 759, 2660, 30, 7576, 1472, 358, 506, 1635, 16, 486, 4317, 202, 202, 2211, 18, 3977, 273, 2 ]
c |= CollationElementIterator.tertiaryOrder(os); break;
static final int next (CollationElementIterator iter, int strength) { while (true) { int os = iter.next(); if (os == CollationElementIterator.NULLORDER) return os; int c = 0; switch (strength) { case PRIMARY: c |= CollationElementIterator.primaryOrder(os); /* Fall through. */ case SECONDARY: c |= CollationElementIterator.secondaryOrder(os); /* Fall through. */ case TERTIARY: c |= CollationElementIterator.tertiaryOrder(os); break; case IDENTICAL: c = os; } if (c != 0) return c; } }
5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/d41dfd6cc95692f13ca6dde18e9717679c00595d/RuleBasedCollator.java/clean/libjava/java/text/RuleBasedCollator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 727, 509, 1024, 261, 13535, 367, 1046, 3198, 1400, 16, 509, 21638, 13, 225, 288, 565, 1323, 261, 3767, 13, 1377, 288, 202, 474, 1140, 273, 1400, 18, 4285, 5621, 202, 430, 261, 538, 422, 17596, 367, 1046, 3198, 18, 8560, 7954, 13, 202, 225, 327, 1140, 31, 202, 474, 276, 273, 374, 31, 202, 9610, 261, 334, 13038, 13, 202, 225, 288, 202, 225, 648, 20058, 30, 202, 565, 276, 5626, 17596, 367, 1046, 3198, 18, 8258, 2448, 12, 538, 1769, 202, 565, 1748, 23647, 3059, 18, 225, 1195, 202, 225, 648, 19379, 6043, 30, 202, 565, 276, 5626, 17596, 367, 1046, 3198, 18, 19674, 2448, 12, 538, 1769, 202, 565, 1748, 23647, 3059, 18, 225, 1195, 202, 225, 648, 399, 11539, 45, 6043, 30, 202, 565, 276, 5626, 17596, 367, 1046, 3198, 18, 387, 9096, 814, 2448, 12, 538, 1769, 202, 565, 898, 31, 202, 225, 648, 19768, 10109, 30, 202, 565, 276, 273, 1140, 31, 202, 225, 289, 202, 430, 261, 71, 480, 374, 13, 202, 225, 327, 276, 31, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 727, 509, 1024, 261, 13535, 367, 1046, 3198, 1400, 16, 509, 21638, 13, 225, 288, 565, 1323, 261, 3767, 13, 1377, 288, 202, 474, 1140, 273, 1400, 18, 4285, 5621, 202, 430, 261, 538, 422, 17596, 367, 1046, 3198, 18, 8560, 7954, 13, 202, 225, 327, 1140, 31, 202, 474, 276, 273, 374, 31, 202, 9610, 261, 334, 13038, 13, 202, 225, 288, 202, 225, 648, 20058, 30, 202, 565, 276, 5626, 17596, 367, 1046, 3198, 18, 8258, 2448, 12, 538, 1769, 202, 565, 1748, 23647, 3059, 18, 225, 1195, 202, 225, 648, 19379, 6043, 30, 202, 565, 276, 5626, 17596, 367, 1046, 3198, 18, 19674, 2448, 12, 538, 1769, 202, 565, 1748, 23647, 3059, 18, 225, 2 ]
return nameError; }
return nameError; }
public RubyClass getNameError() { return nameError; }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyExceptions.java/buggy/org/jruby/runtime/RubyExceptions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 797, 1723, 668, 1435, 288, 202, 202, 2463, 508, 668, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 797, 1723, 668, 1435, 288, 202, 202, 2463, 508, 668, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final PsiFileSystemItem resolveResult = resolve(); final PsiManager manager = element.getManager(); return element instanceof PsiDirectory && manager.areElementsEquivalent(element, getPsiDirectory(resolveResult)) || manager.areElementsEquivalent(element, resolveResult); }
final PsiFileSystemItem resolveResult = resolve(); final PsiManager manager = element.getManager(); return element instanceof PsiDirectory && manager.areElementsEquivalent(element, getPsiDirectory(resolveResult)) || manager.areElementsEquivalent(element, resolveResult); }
public boolean isReferenceTo(PsiElement element) { if (!(element instanceof PsiFileSystemItem)) return false; final PsiFileSystemItem resolveResult = resolve(); final PsiManager manager = element.getManager(); return element instanceof PsiDirectory && manager.areElementsEquivalent(element, getPsiDirectory(resolveResult)) || manager.areElementsEquivalent(element, resolveResult); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/1260582834a03ebe21bf20d35003b5174641de20/FileReference.java/clean/source/com/intellij/psi/impl/source/resolve/reference/impl/providers/FileReference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1250, 353, 2404, 774, 12, 52, 7722, 1046, 930, 13, 288, 377, 309, 16051, 12, 2956, 1276, 453, 7722, 11785, 1180, 3719, 327, 629, 31, 377, 727, 453, 7722, 11785, 1180, 2245, 1253, 273, 2245, 5621, 377, 727, 453, 7722, 1318, 3301, 273, 930, 18, 588, 1318, 5621, 377, 327, 930, 1276, 453, 7722, 2853, 597, 3301, 18, 834, 3471, 22606, 12, 2956, 16, 1689, 7722, 2853, 12, 10828, 1253, 3719, 747, 5411, 3301, 18, 834, 3471, 22606, 12, 2956, 16, 2245, 1253, 1769, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1250, 353, 2404, 774, 12, 52, 7722, 1046, 930, 13, 288, 377, 309, 16051, 12, 2956, 1276, 453, 7722, 11785, 1180, 3719, 327, 629, 31, 377, 727, 453, 7722, 11785, 1180, 2245, 1253, 273, 2245, 5621, 377, 727, 453, 7722, 1318, 3301, 273, 930, 18, 588, 1318, 5621, 377, 327, 930, 1276, 453, 7722, 2853, 597, 3301, 18, 834, 3471, 22606, 12, 2956, 16, 1689, 7722, 2853, 12, 10828, 1253, 3719, 747, 5411, 3301, 18, 834, 3471, 22606, 12, 2956, 16, 2245, 1253, 1769, 282, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Client.usermanager.listeUtilisateurs(liste);
if(Client.fsm.listeUtilisateurs()) { Client.usermanager.listeUtilisateurs(liste); }
void listeUtilisateurs(Set<Utilisateur> liste) { Client.usermanager.listeUtilisateurs(liste); }
57791 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57791/da6099451ef8e9920f1e5873d636a7860d1228f1/ClientEntry.java/buggy/src/client/ClientEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 31614, 1304, 24954, 87, 12, 694, 32, 1304, 24954, 34, 31614, 13, 288, 3639, 309, 12, 1227, 18, 2556, 81, 18, 1098, 73, 1304, 24954, 87, 10756, 288, 2445, 18, 407, 1035, 1063, 18, 1098, 73, 1304, 24954, 87, 12, 1098, 73, 1769, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 31614, 1304, 24954, 87, 12, 694, 32, 1304, 24954, 34, 31614, 13, 288, 3639, 309, 12, 1227, 18, 2556, 81, 18, 1098, 73, 1304, 24954, 87, 10756, 288, 2445, 18, 407, 1035, 1063, 18, 1098, 73, 1304, 24954, 87, 12, 1098, 73, 1769, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void actionPerformed(ActionEvent e) { logger.debug ("Player wrote: "+playerChatText.getText()); String text = playerChatText.getText(); text = text.trim(); if (text.length() == 0) return; if(text.charAt(0)!='/') { // Chat command. The most frequent one. RPAction chat=new RPAction(); chat.put("type","chat"); chat.put("text",playerChatText.getText()); client.send(chat); } else { if(text.startsWith("//") && lastPlayerTell!=null) { String[] command = parseString(text, 2); if(command != null) { RPAction tell = new RPAction(); tell.put("type","tell"); tell.put("target", lastPlayerTell); tell.put("text", command[1]); client.send(tell); } } if(text.startsWith("/tell ") ||text.startsWith("/msg ")) // Tell command { String[] command = parseString(text, 3); if(command != null) { RPAction tell = new RPAction(); tell.put("type","tell"); lastPlayerTell= command[1]; tell.put("target", command[1]); tell.put("text", command[2]); client.send(tell); } } else if(text.startsWith("/support ")) // Support command { String[] command = parseString(text, 2); if(command != null) { RPAction tell = new RPAction(); tell.put("type","support"); tell.put("text", command[1]); client.send(tell); } } else if(text.startsWith("/where ")) // Tell command { String[] command = parseString(text, 2); if(command != null) { RPAction where = new RPAction(); where.put("type","where"); where.put("target", command[1]); client.send(where); } } else if(text.equals("/who")) // Who command { RPAction who = new RPAction(); who.put("type","who"); client.send(who); } else if(text.startsWith("/drop ")) // Drop command { String[] command = parseString(text, 3); if(command != null) { String itemName = command[2]; int quantity; try { quantity = Integer.parseInt(command[1]); } catch (NumberFormatException ex) { return; } RPObject player = client.getPlayer(); int itemID = -1; for(RPObject item: player.getSlot("bag")) { if (item.get("name").equals(itemName)) { itemID = item.getID().getObjectID(); break; } } if (itemID != -1) { RPAction drop = new RPAction(); drop.put("type", "drop"); drop.put("baseobject", player.getID().getObjectID()); drop.put("baseslot", "bag"); drop.put("x", player.get("x")); drop.put("y", player.get("y")); drop.put("quantity", quantity); drop.put("baseitem", itemID); client.send(drop); } else { client.addEventLine("You don't have any "+itemName, Color.black); } } } else if(text.startsWith("/add ")) // Add a new buddy to buddy list { String[] command = parseString(text, 2); if(command != null) { RPAction add = new RPAction(); add.put("type","addbuddy"); add.put("target", command[1]); client.send(add); } } else if(text.startsWith("/remove ")) // Removes a existing buddy from buddy list { String[] command = parseString(text, 2); if(command != null) { RPAction remove = new RPAction(); remove.put("type","removebuddy"); remove.put("target", command[1]); client.send(remove); } } else if(text.startsWith("/tellall ")) // Tell everybody admin command { String[] command = parseString(text, 2); if(command != null) { RPAction tellall = new RPAction(); tellall.put("type","tellall"); tellall.put("text", command[1]); client.send(tellall); } } else if(text.startsWith("/teleport ")) // Teleport target(PLAYER NAME) to zone-x,y { String[] command = parseString(text, 5); if(command != null) { RPAction teleport = new RPAction(); teleport.put("type","teleport"); teleport.put("target", command[1]); teleport.put("zone", command[2]); teleport.put("x", command[3]); teleport.put("y", command[4]); client.send(teleport); } } else if(text.startsWith("/teleportto ")) // TeleportTo target(PLAYER NAME) { String[] command = parseString(text, 2); if(command != null) { RPAction teleport = new RPAction(); teleport.put("type","teleportto"); teleport.put("target", command[1]); client.send(teleport); } } else if(text.startsWith("/alter ")) // Set/Add/Substract target(PLAYER NAME) attribute { String[] command = parseString(text, 5); if(command != null) { RPAction alter = new RPAction(); alter.put("type","alter"); alter.put("target", command[1]); alter.put("stat", command[2]); alter.put("mode", command[3]); alter.put("value", command[4]); client.send(alter); } } else if(text.startsWith("/summon ")) // Summon a creature at x,y { String[] command = parseString(text, 4); if(command != null) { RPAction summon = new RPAction(); summon.put("type","summon"); summon.put("creature", command[1]); summon.put("x", command[2]); summon.put("y", command[3]); client.send(summon); } } else if(text.startsWith("/summonat ")) // Summon a creature at x,y { String[] command; command = parseString(text, 5); if(command != null && !command[4].trim().equals("")) { RPAction summon = new RPAction(); summon.put("type","summonat"); summon.put("target", command[1]); summon.put("slot", command[2]); summon.put("item", command[3]); summon.put("amount", command[4]); client.send(summon); } else { command = parseString(text, 4); if(command != null) { RPAction summon = new RPAction(); summon.put("type","summonat"); summon.put("target", command[1]); summon.put("slot", command[2]); summon.put("item", command[3]); client.send(summon); } } } else if(text.startsWith("/inspect ")) // Returns a complete description of the target { String[] command = parseString(text, 2); if(command != null) { RPAction add = new RPAction(); add.put("type","inspect"); add.put("target", command[1]); client.send(add); } } else if(text.startsWith("/jail ")) // Returns a complete description of the target { String[] command = parseString(text, 2); if(command != null) { RPAction add = new RPAction(); add.put("type","jail"); add.put("target", command[1]); client.send(add); } } else if(text.startsWith("/script ")) // Script command { String[] command = parseString(text, 2); if(command != null) { RPAction script = new RPAction(); script.put("type","script"); script.put("target", command[1]); client.send(script); } } else if(text.startsWith("/quit")) { client.getGameGUI().showQuitDialog(); } else if(text.startsWith("/invisible")) // Makes admin invisible for creatures { RPAction invisible = new RPAction(); invisible.put("type","invisible"); client.send(invisible); } else if(text.equals("/help")) // Help command { String[] lines={"Detailed manual refer at http://arianne.sourceforge.net/wiki/index.php/StendhalManual", "This brief help show you the most used commands:", "- /tell <player> <message> \tWrites a private message to player", "- /msg <player> <message> \tWrites a private message to player", "- // <message> \t\tWrites a private message to last player we talked with", "- /support <message> \tAsk for support to admins", "- /who \t\tShow online players", "- /drop <quantity> <item>\tDrops a amount of items from player.", "- /add <player> \t\tAdd player to the buddy list", "- /remove <player> \tRemoves player from buddy list", "- /where <player> \t\tPrints the location of the player", "- /quit \t\tLeaves the game", "- /sound volume <value> \tsets sound system loudness (0..100)", "- /sound mute <value> \tsets sound system mute (on/off)" }; for(String line: lines) { StendhalClient.get().addEventLine(line,Color.gray); } } else if(text.equals("/gmhelp")) // Help command { String[] lines={"Detailed manual refer at http://arianne.sourceforge.net/wiki/index.php?title=Stendhal:Administration", "This brief help show you the most used gm commands:", "- /tellall <message> \t\tWrites a private message to all players", "- /jail <player> \t\tSend a player directly to jail", "- /script <scriptname> \t\tload or reload a server side groovy script", "- /teleport <player> <zone> <x> <y> \tTeleport the player ", "- /teleportto <player> \t\tTeleport us to the player ", "- /alter <player> <attrib> <mode> <value> \tChange by SETting, ADDing or SUBtracting the stat of player", "- /summon <creature|item> <x> <y> \tSummon an item or creature at x,y", "- /summonat <player> <slot> <item> <amount> Summon an item at the slot of the given player", "- /invisible \t\t\tMakes this player invisible for creatures", "- /inspect <player> \t\t\tShows detailed info about the player", "- /destroy <entity> \t\t\tDestroy completly an entity." }; for(String line: lines) { StendhalClient.get().addEventLine(line,Color.gray); } } else if(text.startsWith("/sound ")) // Sound Setup command { String[] command = parseString(text, 3); if ( command != null ) { if ( command[1].equals( "mute" ) ) { SoundSystem.get().setMute( command[2].indexOf("on") != -1 ); } if ( command[1].equals( "volume" ) ) { int vol = Integer.parseInt(command[2]); SoundSystem.get().setVolume( vol ); } } } } lines.add(playerChatText.getText()); actual=lines.size(); if(lines.size()>50) { lines.remove(0); actual--; } playerChatText.setText(""); }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/2c5d8c48e540e0e8bdaf2b72c3edd55f8838d406/StendhalChatLineListener.java/clean/src/games/stendhal/client/gui/StendhalChatLineListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 1128, 13889, 12, 1803, 1133, 73, 15329, 4901, 18, 4148, 2932, 12148, 91, 21436, 2773, 15, 14872, 14163, 1528, 18, 588, 1528, 10663, 780, 955, 33, 14872, 14163, 1528, 18, 588, 1528, 5621, 955, 33, 955, 18, 5290, 5621, 430, 12, 955, 18, 2469, 1435, 631, 20, 13, 2463, 31, 430, 12, 955, 18, 3001, 861, 12, 20, 13, 5, 2218, 2473, 15329, 759, 14163, 3076, 18, 1315, 351, 669, 74, 4523, 319, 476, 18, 54, 52, 1803, 10880, 33, 2704, 54, 52, 1803, 5621, 10880, 18, 458, 2932, 723, 15937, 10880, 8863, 10880, 18, 458, 2932, 955, 3113, 14872, 14163, 1528, 18, 588, 1528, 10663, 2625, 18, 4661, 12, 10880, 1769, 97, 12107, 95, 430, 12, 955, 18, 17514, 1190, 2932, 759, 7923, 10, 10, 2722, 12148, 21009, 5, 33, 2011, 15329, 780, 8526, 3076, 33, 2670, 780, 12, 955, 16, 22, 1769, 430, 12, 3076, 5, 33, 2011, 15329, 54, 52, 1803, 88, 1165, 33, 2704, 54, 52, 1803, 5621, 88, 1165, 18, 458, 2932, 723, 15937, 88, 1165, 8863, 88, 1165, 18, 458, 2932, 3299, 3113, 2722, 12148, 21009, 1769, 88, 1165, 18, 458, 2932, 955, 3113, 3076, 63, 21, 19226, 2625, 18, 4661, 12, 88, 1165, 1769, 9090, 430, 12, 955, 18, 17514, 1190, 2932, 19, 88, 1165, 7923, 20081, 955, 18, 17514, 1190, 2932, 19, 3576, 6, 3719, 759, 21009, 3076, 95, 780, 8526, 3076, 33, 2670, 780, 12, 955, 16, 23, 1769, 430, 12, 3076, 5, 33, 2011, 15329, 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, 6459, 1128, 13889, 12, 1803, 1133, 73, 15329, 4901, 18, 4148, 2932, 12148, 91, 21436, 2773, 15, 14872, 14163, 1528, 18, 588, 1528, 10663, 780, 955, 33, 14872, 14163, 1528, 18, 588, 1528, 5621, 955, 33, 955, 18, 5290, 5621, 430, 12, 955, 18, 2469, 1435, 631, 20, 13, 2463, 31, 430, 12, 955, 18, 3001, 861, 12, 20, 13, 5, 2218, 2473, 15329, 759, 14163, 3076, 18, 1315, 351, 669, 74, 4523, 319, 476, 18, 54, 52, 1803, 10880, 33, 2704, 54, 52, 1803, 5621, 10880, 18, 458, 2932, 723, 15937, 10880, 8863, 10880, 18, 458, 2932, 955, 3113, 14872, 14163, 1528, 18, 588, 1528, 10663, 2625, 18, 4661, 12, 10880, 1769, 97, 12107, 95, 430, 12, 2 ]
model, sortOrder, Display.getCurrent());
model, sortOrder);
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { if (newInput == null) { setProvider(null); return; } Assert.isTrue(newInput instanceof IConcurrentModel); Assert.isTrue(viewer instanceof TableViewer); IConcurrentModel model = (IConcurrentModel)newInput; this.table = new TableViewerAdapter((TableViewer)viewer); BackgroundContentProvider newProvider = new BackgroundContentProvider( table, model, sortOrder, Display.getCurrent()); setProvider(newProvider); newProvider.setLimit(limit); newProvider.setFilter(filter); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/174a6cdbe07aba0cc77d88fd5b7455741270174d/DeferredContentProvider.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/deferred/DeferredContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 810, 5033, 12, 18415, 14157, 16, 1033, 1592, 1210, 16, 1033, 394, 1210, 13, 288, 202, 202, 430, 261, 2704, 1210, 422, 446, 13, 288, 1082, 202, 542, 2249, 12, 2011, 1769, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 8213, 18, 291, 5510, 12, 2704, 1210, 1276, 467, 18521, 1488, 1769, 202, 202, 8213, 18, 291, 5510, 12, 25256, 1276, 3555, 18415, 1769, 202, 202, 45, 18521, 1488, 938, 273, 261, 45, 18521, 1488, 13, 2704, 1210, 31, 9506, 202, 2211, 18, 2121, 273, 394, 3555, 18415, 4216, 12443, 1388, 18415, 13, 25256, 1769, 9506, 202, 8199, 1350, 2249, 394, 2249, 273, 394, 8977, 1350, 2249, 12, 9506, 202, 2121, 16, 9506, 202, 2284, 16, 19050, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 810, 5033, 12, 18415, 14157, 16, 1033, 1592, 1210, 16, 1033, 394, 1210, 13, 288, 202, 202, 430, 261, 2704, 1210, 422, 446, 13, 288, 1082, 202, 542, 2249, 12, 2011, 1769, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 8213, 18, 291, 5510, 12, 2704, 1210, 1276, 467, 18521, 1488, 1769, 202, 202, 8213, 18, 291, 5510, 12, 25256, 1276, 3555, 18415, 1769, 202, 202, 45, 18521, 1488, 938, 273, 261, 45, 18521, 1488, 13, 2704, 1210, 31, 9506, 202, 2211, 18, 2121, 273, 394, 3555, 18415, 4216, 12443, 1388, 18415, 13, 25256, 1769, 9506, 202, 8199, 1350, 2249, 394, 2249, 273, 394, 8977, 1350, 2249, 12, 9506, 202, 2121, 16, 9506, 202, 2 ]
public ChannelComponent(Integer attributeId, Integer index, String colorDomain, org.openmicroscopy.omero.model.Image image, org.openmicroscopy.omero.model.ImagePixel imagePixel, org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.attributeId = attributeId; this.index = index; this.colorDomain = colorDomain; this.image = image; this.imagePixel = imagePixel; this.moduleExecution = moduleExecution;
public ChannelComponent() {
public ChannelComponent(Integer attributeId, Integer index, String colorDomain, org.openmicroscopy.omero.model.Image image, org.openmicroscopy.omero.model.ImagePixel imagePixel, org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.attributeId = attributeId; this.index = index; this.colorDomain = colorDomain; this.image = image; this.imagePixel = imagePixel; this.moduleExecution = moduleExecution; }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/9570ef74198a070d72e77c417c9d25244a942de2/ChannelComponent.java/buggy/components/common/src/org/openmicroscopy/omero/model/ChannelComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5307, 1841, 12, 4522, 1566, 548, 16, 2144, 770, 16, 514, 2036, 3748, 16, 2358, 18, 3190, 14458, 1017, 1101, 18, 362, 2439, 18, 2284, 18, 2040, 1316, 16, 2358, 18, 3190, 14458, 1017, 1101, 18, 362, 2439, 18, 2284, 18, 2040, 9037, 1316, 9037, 16, 2358, 18, 3190, 14458, 1017, 1101, 18, 362, 2439, 18, 2284, 18, 3120, 3210, 1605, 3210, 13, 288, 3639, 333, 18, 4589, 548, 273, 1566, 548, 31, 3639, 333, 18, 1615, 273, 770, 31, 3639, 333, 18, 3266, 3748, 273, 2036, 3748, 31, 3639, 333, 18, 2730, 273, 1316, 31, 3639, 333, 18, 2730, 9037, 273, 1316, 9037, 31, 3639, 333, 18, 2978, 3210, 273, 1605, 3210, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5307, 1841, 12, 4522, 1566, 548, 16, 2144, 770, 16, 514, 2036, 3748, 16, 2358, 18, 3190, 14458, 1017, 1101, 18, 362, 2439, 18, 2284, 18, 2040, 1316, 16, 2358, 18, 3190, 14458, 1017, 1101, 18, 362, 2439, 18, 2284, 18, 2040, 9037, 1316, 9037, 16, 2358, 18, 3190, 14458, 1017, 1101, 18, 362, 2439, 18, 2284, 18, 3120, 3210, 1605, 3210, 13, 288, 3639, 333, 18, 4589, 548, 273, 1566, 548, 31, 3639, 333, 18, 1615, 273, 770, 31, 3639, 333, 18, 3266, 3748, 273, 2036, 3748, 31, 3639, 333, 18, 2730, 273, 1316, 31, 3639, 333, 18, 2730, 9037, 273, 1316, 9037, 31, 3639, 333, 18, 2978, 3210, 273, 1605, 3210, 31, 565, 289, 2, -100 ]
PsiStatement statement, String newStatement)
PsiStatement statement, String newStatementText)
protected static void replaceStatementAndShortenClassNames( PsiStatement statement, String newStatement) throws IncorrectOperationException{ final PsiManager psiManager = statement.getManager(); final PsiElementFactory factory = psiManager.getElementFactory(); final PsiStatement newExp = factory.createStatementFromText(newStatement, statement); final PsiElement replacementStatement = statement.replace(newExp); final CodeStyleManager styleManager = psiManager.getCodeStyleManager(); styleManager.shortenClassReferences(replacementStatement); styleManager.reformat(replacementStatement); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/d9f02a04761361315c85b2241e72b5b4e4c60eba/InspectionGadgetsFix.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/InspectionGadgetsFix.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 1453, 3406, 1876, 4897, 275, 18127, 12, 5411, 453, 7722, 3406, 3021, 16, 514, 394, 3406, 1528, 13, 5411, 1216, 657, 6746, 10602, 95, 3639, 727, 453, 7722, 1318, 23921, 1318, 273, 3021, 18, 588, 1318, 5621, 3639, 727, 453, 7722, 1046, 1733, 3272, 273, 23921, 1318, 18, 21336, 1733, 5621, 3639, 727, 453, 7722, 3406, 394, 2966, 273, 7734, 3272, 18, 2640, 3406, 1265, 1528, 12, 2704, 3406, 16, 3021, 1769, 3639, 727, 453, 7722, 1046, 6060, 3406, 273, 3021, 18, 2079, 12, 2704, 2966, 1769, 3639, 727, 3356, 2885, 1318, 2154, 1318, 273, 23921, 1318, 18, 588, 1085, 2885, 1318, 5621, 3639, 2154, 1318, 18, 6620, 275, 797, 8221, 12, 24394, 3406, 1769, 3639, 2154, 1318, 18, 266, 2139, 12, 24394, 3406, 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, 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 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 1453, 3406, 1876, 4897, 275, 18127, 12, 5411, 453, 7722, 3406, 3021, 16, 514, 394, 3406, 1528, 13, 5411, 1216, 657, 6746, 10602, 95, 3639, 727, 453, 7722, 1318, 23921, 1318, 273, 3021, 18, 588, 1318, 5621, 3639, 727, 453, 7722, 1046, 1733, 3272, 273, 23921, 1318, 18, 21336, 1733, 5621, 3639, 727, 453, 7722, 3406, 394, 2966, 273, 7734, 3272, 18, 2640, 3406, 1265, 1528, 12, 2704, 3406, 16, 3021, 1769, 3639, 727, 453, 7722, 1046, 6060, 3406, 273, 3021, 18, 2079, 12, 2704, 2966, 1769, 3639, 727, 3356, 2885, 1318, 2154, 1318, 273, 23921, 1318, 18, 588, 1085, 2885, 1318, 5621, 3639, 2154, 1318, 18, 6620, 275, 797, 8221, 12, 24394, 3406, 1769, 2 ]
log(WARN + message.toString());
String out = null; if (message instanceof Throwable || message instanceof Exception) out = StringUtils.stackTrace((Throwable)message); else out = message.toString(); log(WARN + out);
public static void warn(Object message) { log(WARN + message.toString()); }
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/87c62b5d149d34d3c0997740a815f7526a2b772d/Runtime.java/clean/src/java/org/apache/velocity/runtime/Runtime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1894, 12, 921, 883, 13, 565, 288, 3639, 514, 596, 273, 446, 31, 309, 261, 2150, 1276, 4206, 747, 883, 1276, 1185, 13, 596, 273, 5778, 18, 3772, 3448, 12443, 15155, 13, 2150, 1769, 469, 596, 273, 883, 18, 10492, 5621, 613, 12, 27999, 397, 596, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1894, 12, 921, 883, 13, 565, 288, 3639, 514, 596, 273, 446, 31, 309, 261, 2150, 1276, 4206, 747, 883, 1276, 1185, 13, 596, 273, 5778, 18, 3772, 3448, 12443, 15155, 13, 2150, 1769, 469, 596, 273, 883, 18, 10492, 5621, 613, 12, 27999, 397, 596, 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 ]
g.drawImage(image, 0, height, width, 0, 0, 0, width, height, null);
g.drawImage(image, 0, 0, null);
private void createFromCustom(BufferedImage image) { int width = image.getWidth(); int height = image.getHeight(); // create a temporary image that is compatible with OpenGL boolean hasAlpha = image.getColorModel().hasAlpha(); ColorModel cm = null; int dataBufferType = image.getRaster().getDataBuffer().getDataType(); if (dataBufferType == DataBuffer.TYPE_BYTE) { cm = hasAlpha ? rgbaColorModel : rgbColorModel; } else { if (hasAlpha) { cm = new ComponentColorModel(ColorSpace.getInstance(ColorSpace.CS_sRGB), null, true, true, Transparency.TRANSLUCENT, dataBufferType); } else { cm = new ComponentColorModel(ColorSpace.getInstance(ColorSpace.CS_sRGB), null, false, false, Transparency.OPAQUE, dataBufferType); } } boolean premult = cm.isAlphaPremultiplied(); WritableRaster raster = cm.createCompatibleWritableRaster(width, height); BufferedImage texImage = new BufferedImage(cm, raster, premult, null); // copy the source image into the temporary image Graphics2D g = texImage.createGraphics(); g.setComposite(AlphaComposite.Src); // Flip image vertically as long as we're at it g.drawImage(image, 0, height, width, 0, 0, 0, width, height, null); g.dispose(); // Wrap the buffer from the temporary image createNIOBufferFromImage(texImage, false); pixelFormat = hasAlpha ? GL.GL_RGBA : GL.GL_RGB; alignment = 1; // FIXME: do we need better? }
48257 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48257/a736f85a834613d12e2b28e14b5a53fa6991b86f/TextureData.java/clean/src/classes/com/sun/opengl/util/texture/TextureData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 9492, 3802, 12, 17947, 2040, 1316, 13, 288, 565, 509, 1835, 273, 1316, 18, 588, 2384, 5621, 565, 509, 2072, 273, 1316, 18, 588, 2686, 5621, 565, 368, 752, 279, 6269, 1316, 716, 353, 7318, 598, 3502, 11261, 565, 1250, 711, 9690, 273, 1316, 18, 588, 2957, 1488, 7675, 5332, 9690, 5621, 565, 5563, 1488, 5003, 273, 446, 31, 565, 509, 501, 1892, 559, 273, 1316, 18, 588, 18637, 7675, 588, 751, 1892, 7675, 588, 6273, 5621, 565, 309, 261, 892, 1892, 559, 422, 1910, 1892, 18, 2399, 67, 15377, 13, 288, 1377, 5003, 273, 711, 9690, 692, 19465, 2957, 1488, 294, 6917, 2957, 1488, 31, 565, 289, 469, 288, 1377, 309, 261, 5332, 9690, 13, 288, 3639, 5003, 273, 394, 5435, 2957, 1488, 12, 2957, 3819, 18, 588, 1442, 12, 2957, 3819, 18, 4596, 67, 87, 11343, 3631, 19694, 446, 16, 638, 16, 638, 16, 19694, 2604, 18258, 18, 25419, 17479, 2222, 16, 19694, 501, 1892, 559, 1769, 1377, 289, 469, 288, 3639, 5003, 273, 394, 5435, 2957, 1488, 12, 2957, 3819, 18, 588, 1442, 12, 2957, 3819, 18, 4596, 67, 87, 11343, 3631, 19694, 446, 16, 629, 16, 629, 16, 19694, 2604, 18258, 18, 3665, 37, 4067, 16, 19694, 501, 1892, 559, 1769, 1377, 289, 565, 289, 565, 1250, 675, 5421, 273, 5003, 18, 291, 9690, 1386, 7027, 3110, 5621, 565, 14505, 18637, 12553, 273, 1377, 5003, 18, 2640, 14599, 12061, 18637, 12, 2819, 16, 2072, 1769, 565, 12362, 16573, 2040, 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, 282, 3238, 918, 9492, 3802, 12, 17947, 2040, 1316, 13, 288, 565, 509, 1835, 273, 1316, 18, 588, 2384, 5621, 565, 509, 2072, 273, 1316, 18, 588, 2686, 5621, 565, 368, 752, 279, 6269, 1316, 716, 353, 7318, 598, 3502, 11261, 565, 1250, 711, 9690, 273, 1316, 18, 588, 2957, 1488, 7675, 5332, 9690, 5621, 565, 5563, 1488, 5003, 273, 446, 31, 565, 509, 501, 1892, 559, 273, 1316, 18, 588, 18637, 7675, 588, 751, 1892, 7675, 588, 6273, 5621, 565, 309, 261, 892, 1892, 559, 422, 1910, 1892, 18, 2399, 67, 15377, 13, 288, 1377, 5003, 273, 711, 9690, 692, 19465, 2957, 1488, 294, 6917, 2957, 1488, 31, 565, 289, 469, 288, 1377, 309, 261, 5332, 9690, 13, 2 ]
_aCondition.add(new YIdentifier());
YIdentifier id1 = new YIdentifier(); YIdentifier.saveIdentifier( id1, null, null ); _aCondition.add(id1);
public void testThrowsAppropriateStateExceptions() throws YDataStateException, YQueryException, YPersistenceException { Exception f = null; try{ _validTask.t_fire(); }catch(YAWLException e){ f= e; } assertNotNull(f); f= null; _aCondition.add(new YIdentifier()); assertTrue(_validTask.t_enabled(null)); List childIdentifiers = null; try { childIdentifiers = _validTask.t_fire(); } catch (YStateException e) { e.printStackTrace(); fail(); } assertTrue(childIdentifiers.size() == 3); try{ _validTask.t_fire(); }catch(YStateException e){ f= e; } assertNotNull(f); f= null; try{ Document d = new Document(new Element("data")); _validTask.t_complete((YIdentifier)childIdentifiers.get(0),d); }catch(Exception e){ f= e; } assertNotNull(f);f= null; try{ _validTask.t_add(null, null); }catch(Exception e){ f= e; } assertNotNull(f); }
51637 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51637/8b7e6c005d18c6dc6d02b4588af401617a55c949/TestYExternalTask.java/clean/yawl/test/au/edu/qut/yawl/elements/TestYExternalTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 21845, 1294, 5986, 566, 340, 5060, 87, 1435, 1216, 1624, 751, 5060, 16, 1624, 1138, 503, 16, 1624, 13182, 503, 288, 3639, 1185, 284, 273, 446, 31, 3639, 775, 95, 5411, 389, 877, 2174, 18, 88, 67, 12179, 5621, 3639, 289, 14683, 12, 61, 12999, 48, 503, 425, 15329, 5411, 284, 33, 425, 31, 3639, 289, 3639, 25395, 12, 74, 1769, 284, 33, 446, 31, 3639, 1624, 3004, 612, 21, 273, 394, 1624, 3004, 5621, 1624, 3004, 18, 5688, 3004, 12, 612, 21, 16, 446, 16, 446, 11272, 389, 69, 3418, 18, 1289, 12, 350, 21, 1769, 3639, 1815, 5510, 24899, 877, 2174, 18, 88, 67, 5745, 12, 2011, 10019, 3639, 987, 1151, 12745, 273, 446, 31, 3639, 775, 288, 5411, 1151, 12745, 273, 389, 877, 2174, 18, 88, 67, 12179, 5621, 3639, 289, 1044, 261, 61, 5060, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 5411, 2321, 5621, 3639, 289, 3639, 1815, 5510, 12, 3624, 12745, 18, 1467, 1435, 422, 890, 1769, 3639, 775, 95, 5411, 389, 877, 2174, 18, 88, 67, 12179, 5621, 3639, 289, 14683, 12, 61, 5060, 425, 15329, 5411, 284, 33, 425, 31, 3639, 289, 3639, 25395, 12, 74, 1769, 284, 33, 446, 31, 3639, 775, 95, 5411, 4319, 302, 273, 394, 4319, 12, 2704, 3010, 2932, 892, 7923, 1769, 5411, 389, 877, 2174, 18, 88, 67, 6226, 12443, 61, 3004, 13, 3624, 12745, 18, 588, 12, 20, 3631, 72, 1769, 3639, 289, 14683, 12, 503, 425, 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, 21845, 1294, 5986, 566, 340, 5060, 87, 1435, 1216, 1624, 751, 5060, 16, 1624, 1138, 503, 16, 1624, 13182, 503, 288, 3639, 1185, 284, 273, 446, 31, 3639, 775, 95, 5411, 389, 877, 2174, 18, 88, 67, 12179, 5621, 3639, 289, 14683, 12, 61, 12999, 48, 503, 425, 15329, 5411, 284, 33, 425, 31, 3639, 289, 3639, 25395, 12, 74, 1769, 284, 33, 446, 31, 3639, 1624, 3004, 612, 21, 273, 394, 1624, 3004, 5621, 1624, 3004, 18, 5688, 3004, 12, 612, 21, 16, 446, 16, 446, 11272, 389, 69, 3418, 18, 1289, 12, 350, 21, 1769, 3639, 1815, 5510, 24899, 877, 2174, 18, 88, 67, 5745, 12, 2011, 10019, 3639, 987, 1151, 12745, 273, 2 ]
} else if ("grant".equalsIgnoreCase(st.sval)) {
} else if ("grant".equalsIgnoreCase(st.sval)) {
public void scanStream(Reader r, Collection<GrantEntry> grantEntries, List<KeystoreEntry> keystoreEntries) throws IOException, InvalidFormatException { StreamTokenizer st = configure(new StreamTokenizer(r)); //main parsing loop parsing: while (true) { switch (st.nextToken()) { case StreamTokenizer.TT_EOF: //we've done the job break parsing; case StreamTokenizer.TT_WORD: if ("keystore".equalsIgnoreCase(st.sval)) { keystoreEntries.add(readKeystoreEntry(st)); } else if ("grant".equalsIgnoreCase(st.sval)) { grantEntries.add(readGrantEntry(st)); } else { handleUnexpectedToken(st, "Expected entries are : \"grant\" or \"keystore\""); } break; case ';': //just delimiter of entries break; default: handleUnexpectedToken(st); break; } } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/c7fdc88348ff6da63262b6309c2810876f42c6d8/DefaultPolicyScanner.java/clean/modules/security/src/main/java/common/org/apache/harmony/security/DefaultPolicyScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4135, 1228, 12, 2514, 436, 16, 2200, 32, 9021, 1622, 34, 7936, 5400, 16, 5411, 987, 32, 653, 2233, 1622, 34, 16262, 5400, 13, 1216, 1860, 16, 5411, 1962, 9291, 288, 3639, 3961, 10524, 384, 273, 5068, 12, 2704, 3961, 10524, 12, 86, 10019, 3639, 368, 5254, 5811, 2798, 3639, 5811, 30, 1323, 261, 3767, 13, 288, 5411, 1620, 261, 334, 18, 4285, 1345, 10756, 288, 5411, 648, 3961, 10524, 18, 1470, 67, 12706, 30, 368, 1814, 8081, 2731, 326, 1719, 7734, 898, 5811, 31, 5411, 648, 3961, 10524, 18, 1470, 67, 7952, 30, 7734, 309, 7566, 856, 2233, 9654, 14963, 5556, 12, 334, 18, 87, 1125, 3719, 288, 10792, 16262, 5400, 18, 1289, 12, 896, 653, 2233, 1622, 12, 334, 10019, 7734, 289, 469, 309, 7566, 16243, 9654, 14963, 5556, 12, 334, 18, 87, 1125, 3719, 288, 10792, 7936, 5400, 18, 1289, 12, 896, 9021, 1622, 12, 334, 10019, 7734, 289, 469, 288, 10792, 1640, 7762, 1345, 12, 334, 16, 18701, 315, 6861, 3222, 854, 294, 1239, 16243, 2412, 578, 1239, 856, 2233, 8530, 1769, 7734, 289, 7734, 898, 31, 5411, 648, 12386, 4278, 368, 3732, 5654, 434, 3222, 7734, 898, 31, 5411, 805, 30, 7734, 1640, 7762, 1345, 12, 334, 1769, 7734, 898, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 4135, 1228, 12, 2514, 436, 16, 2200, 32, 9021, 1622, 34, 7936, 5400, 16, 5411, 987, 32, 653, 2233, 1622, 34, 16262, 5400, 13, 1216, 1860, 16, 5411, 1962, 9291, 288, 3639, 3961, 10524, 384, 273, 5068, 12, 2704, 3961, 10524, 12, 86, 10019, 3639, 368, 5254, 5811, 2798, 3639, 5811, 30, 1323, 261, 3767, 13, 288, 5411, 1620, 261, 334, 18, 4285, 1345, 10756, 288, 5411, 648, 3961, 10524, 18, 1470, 67, 12706, 30, 368, 1814, 8081, 2731, 326, 1719, 7734, 898, 5811, 31, 5411, 648, 3961, 10524, 18, 1470, 67, 7952, 30, 7734, 309, 7566, 856, 2233, 9654, 14963, 5556, 12, 334, 18, 87, 1125, 3719, 288, 10792, 16262, 5400, 18, 1289, 12, 896, 2 ]
System.out.println(s);
private String unfixEscapes(String s) { System.out.println(s); s = s.replaceAll("\\\\", "\\\\\\\\"); System.out.println(s); s = s.replaceAll("\n", "\\\\n"); System.out.println(s); s = s.replaceAll("\t", "\\\\t"); System.out.println(s); s = s.replaceAll("\b", "\\\\b"); System.out.println(s); s = s.replaceAll("\r", "\\\\r"); System.out.println(s); s = s.replaceAll("\f", "\\\\f"); System.out.println(s); return s; }
4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/988a31f8b13c218d3cc997a95f474e9bbb9e4a9a/ComponentDescriptionImpl.java/clean/core/smartfrog/src/org/smartfrog/sfcore/componentdescription/ComponentDescriptionImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 640, 904, 30092, 12, 780, 272, 13, 288, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 87, 273, 272, 18, 2079, 1595, 2932, 13011, 3113, 1548, 13011, 1695, 2412, 1769, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 87, 273, 272, 18, 2079, 1595, 31458, 82, 3113, 1548, 19662, 82, 8863, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 87, 273, 272, 18, 2079, 1595, 31458, 88, 3113, 1548, 19662, 88, 8863, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 87, 273, 272, 18, 2079, 1595, 31458, 70, 3113, 1548, 19662, 70, 8863, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 87, 273, 272, 18, 2079, 1595, 31458, 86, 3113, 1548, 19662, 86, 8863, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 87, 273, 272, 18, 2079, 1595, 31458, 74, 3113, 1548, 19662, 74, 8863, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 2463, 272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 640, 904, 30092, 12, 780, 272, 13, 288, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 87, 273, 272, 18, 2079, 1595, 2932, 13011, 3113, 1548, 13011, 1695, 2412, 1769, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 87, 273, 272, 18, 2079, 1595, 31458, 82, 3113, 1548, 19662, 82, 8863, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 87, 273, 272, 18, 2079, 1595, 31458, 88, 3113, 1548, 19662, 88, 8863, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 87, 273, 272, 18, 2079, 1595, 31458, 70, 3113, 1548, 19662, 70, 8863, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 202, 87, 273, 272, 18, 2079, 2 ]
URL url = Platform.find( Platform.getBundle( ReportPlugin.REPORT_UI ), new Path( TEMPLATE_FILE ) ); if ( url != null )
URL url = FileLocator.find( Platform.getBundle( IResourceLocator.FRAGMENT_RESOURCE_HOST ), new Path( TEMPLATE_FILE ), null ); final String templateFileName; try
public boolean performFinish( ) { final IPath locPath = newReportFileWizardPage.getFileLocationFullPath( ); String fn = newReportFileWizardPage.getFileName( ); final String fileName; if ( !fn.endsWith( NEW_REPORT_FILE_EXTENSION ) ) //$NON-NLS-1$ { fileName = fn + NEW_REPORT_FILE_EXTENSION; //$NON-NLS-1$ } else { fileName = fn; } InputStream inputData = null; URL url = Platform.find( Platform.getBundle( ReportPlugin.REPORT_UI ), new Path( TEMPLATE_FILE ) ); if ( url != null ) { try { inputData = url.openStream( ); } catch ( IOException e1 ) { // ignore. } } final InputStream stream = inputData; IRunnableWithProgress op = new IRunnableWithProgress( ) { public void run( IProgressMonitor monitor ) { try { doFinish( locPath, fileName, stream, monitor ); } finally { monitor.done( ); } } }; try { getContainer( ).run( true, false, op ); } catch ( InterruptedException e ) { return false; } catch ( InvocationTargetException e ) { Throwable realException = e.getTargetException( ); ExceptionHandler.handle( realException ); return false; } return true; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/76ebe408a984f02b49cbaf1597c0c7a0213901fe/NewReportTemplateWizard.java/clean/UI/org.eclipse.birt.report.designer.ui.rcp/src/org/eclipse/birt/report/designer/ui/internal/rcp/wizards/NewReportTemplateWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 11641, 12, 262, 202, 95, 202, 202, 6385, 467, 743, 1515, 743, 273, 394, 4820, 812, 27130, 1964, 18, 29925, 2735, 24173, 12, 11272, 202, 202, 780, 2295, 273, 394, 4820, 812, 27130, 1964, 18, 588, 4771, 12, 11272, 202, 202, 6385, 514, 3968, 31, 202, 202, 430, 261, 401, 4293, 18, 5839, 1190, 12, 12887, 67, 22710, 67, 3776, 67, 12796, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 17812, 273, 2295, 397, 12887, 67, 22710, 67, 3776, 67, 12796, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 17812, 273, 2295, 31, 202, 202, 97, 202, 202, 4348, 24149, 273, 446, 31, 202, 202, 1785, 880, 273, 11810, 18, 4720, 12, 11810, 18, 588, 3405, 12, 8706, 3773, 18, 22710, 67, 5370, 262, 16, 9506, 202, 2704, 2666, 12, 20835, 67, 3776, 262, 11272, 202, 202, 430, 261, 880, 480, 446, 262, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 2630, 751, 273, 880, 18, 3190, 1228, 12, 11272, 1082, 202, 97, 1082, 202, 14683, 261, 1860, 425, 21, 262, 1082, 202, 95, 9506, 202, 759, 2305, 18, 1082, 202, 97, 202, 202, 97, 202, 202, 6385, 5037, 1407, 273, 24149, 31, 202, 202, 45, 20013, 1190, 5491, 1061, 273, 394, 467, 20013, 1190, 5491, 12, 262, 288, 1082, 202, 482, 918, 1086, 12, 467, 5491, 7187, 6438, 262, 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, 1250, 3073, 11641, 12, 262, 202, 95, 202, 202, 6385, 467, 743, 1515, 743, 273, 394, 4820, 812, 27130, 1964, 18, 29925, 2735, 24173, 12, 11272, 202, 202, 780, 2295, 273, 394, 4820, 812, 27130, 1964, 18, 588, 4771, 12, 11272, 202, 202, 6385, 514, 3968, 31, 202, 202, 430, 261, 401, 4293, 18, 5839, 1190, 12, 12887, 67, 22710, 67, 3776, 67, 12796, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 17812, 273, 2295, 397, 12887, 67, 22710, 67, 3776, 67, 12796, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 17812, 273, 2295, 31, 202, 202, 97, 202, 2 ]
public Client(File file, NutchConf nutchConf) throws IOException { this(readConfig(file), nutchConf);
public Client(File file, Configuration conf) throws IOException { this(readConfig(file), conf);
public Client(File file, NutchConf nutchConf) throws IOException { this(readConfig(file), nutchConf); }
46828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46828/25437bc825d50715dcc9a289a1b4c8fbbc6aced1/DistributedSearch.java/clean/src/java/org/apache/nutch/searcher/DistributedSearch.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2445, 12, 812, 585, 16, 423, 322, 343, 3976, 290, 322, 343, 3976, 13, 1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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2445, 12, 812, 585, 16, 423, 322, 343, 3976, 290, 322, 343, 3976, 13, 1216, 1860, 288, 1377, 333, 12, 896, 809, 12, 768, 3631, 290, 322, 343, 3976, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static void test ( Node n ) throws Exception
public static void test ( ) throws Exception
public static void test ( Node n ) throws Exception { Dom d = (Dom) n; Locale l = d.locale(); // Locale l = Locale.getLocale( XmlBeans.getContextTypeLoader(), null ); l.enter(); try { doTest( l, d ); } finally { l.exit(); } }
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/78d5fcf8af10b9b5bb990c642b2118f8c482db5e/Public2.java/clean/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Public2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1842, 261, 262, 1216, 1185, 565, 288, 3639, 12965, 302, 273, 261, 8832, 13, 290, 31, 3639, 6458, 328, 273, 302, 18, 6339, 5621, 3639, 368, 3639, 6458, 328, 273, 6458, 18, 588, 3916, 12, 5714, 14495, 18, 29120, 559, 2886, 9334, 446, 11272, 7734, 328, 18, 2328, 5621, 3639, 775, 3639, 288, 5411, 741, 4709, 12, 328, 16, 302, 11272, 3639, 289, 3639, 3095, 3639, 288, 5411, 328, 18, 8593, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1842, 261, 262, 1216, 1185, 565, 288, 3639, 12965, 302, 273, 261, 8832, 13, 290, 31, 3639, 6458, 328, 273, 302, 18, 6339, 5621, 3639, 368, 3639, 6458, 328, 273, 6458, 18, 588, 3916, 12, 5714, 14495, 18, 29120, 559, 2886, 9334, 446, 11272, 7734, 328, 18, 2328, 5621, 3639, 775, 3639, 288, 5411, 741, 4709, 12, 328, 16, 302, 11272, 3639, 289, 3639, 3095, 3639, 288, 5411, 328, 18, 8593, 5621, 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 ]
if(!finished) { Bucket data = dataBlocks[i]; if(data instanceof SerializableToFieldSetBucket) { SimpleFieldSet tmp = ((SerializableToFieldSetBucket)data).toFieldSet(); if(tmp == null) { Logger.minor(this, "Could not save to disk: "+data); return null; } block.put("Data", tmp); } else { Logger.minor(this, "Could not save to disk (not serializable to fieldset): "+data);
Bucket data = dataBlocks[i]; if(data instanceof SerializableToFieldSetBucket) { SimpleFieldSet tmp = ((SerializableToFieldSetBucket)data).toFieldSet(); if(tmp == null) { Logger.minor(this, "Could not save to disk: "+data);
public synchronized SimpleFieldSet getProgressFieldset() { SimpleFieldSet fs = new SimpleFieldSet(true); fs.put("Type", "SplitFileInserterSegment"); fs.put("Finished", Boolean.toString(finished)); // If true, check blocks which are null are finished fs.put("Encoded", Boolean.toString(encoded)); // If true, data blocks which are null are finished fs.put("Started", Boolean.toString(started)); errors.copyToFieldSet(fs, "Errors.", false); SimpleFieldSet dataFS = new SimpleFieldSet(true); dataFS.put("Count", Integer.toString(dataBlocks.length)); for(int i=0;i<dataBlocks.length;i++) { SimpleFieldSet block = new SimpleFieldSet(true); if(dataURIs[i] != null) block.put("URI", dataURIs[i].toString()); SingleBlockInserter sbi = dataBlockInserters[i]; // If started, then sbi = null => block finished. boolean finished = started && sbi == null; if(started) { block.put("Finished", finished); } if(!finished) { Bucket data = dataBlocks[i]; if(data instanceof SerializableToFieldSetBucket) { SimpleFieldSet tmp = ((SerializableToFieldSetBucket)data).toFieldSet(); if(tmp == null) { Logger.minor(this, "Could not save to disk: "+data); return null; } block.put("Data", tmp); } else { Logger.minor(this, "Could not save to disk (not serializable to fieldset): "+data); return null; } } if(!block.isEmpty()) dataFS.put(Integer.toString(i), block); } fs.put("DataBlocks", dataFS); SimpleFieldSet checkFS = new SimpleFieldSet(true); checkFS.put("Count", Integer.toString(checkBlocks.length)); for(int i=0;i<checkBlocks.length;i++) { SimpleFieldSet block = new SimpleFieldSet(true); if(checkURIs[i] != null) block.put("URI", checkURIs[i].toString()); SingleBlockInserter sbi = checkBlockInserters[i]; // If encoded, then sbi == null => block finished boolean finished = encoded && sbi == null && checkURIs[i] != null; if(encoded) { block.put("Finished", finished); } if(!finished) { Bucket data = checkBlocks[i]; if(data != null && data instanceof SerializableToFieldSetBucket) { SimpleFieldSet tmp = ((SerializableToFieldSetBucket)data).toFieldSet(); if(tmp != null) Logger.minor(this, "Could not serialize "+data+" - check block "+i+" of "+segNo); block.put("Data", tmp); } else if(encoded) { Logger.minor(this, "Could not save to disk (null or not serializable to fieldset): "+data); return null; } } if(!block.isEmpty()) checkFS.put(Integer.toString(i), block); } fs.put("CheckBlocks", checkFS); return fs; }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/e0363cde34d4a550209cc88767fad5b5b57d1d3c/SplitFileInserterSegment.java/buggy/src/freenet/client/async/SplitFileInserterSegment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 4477, 974, 694, 3570, 2329, 974, 542, 1435, 288, 202, 202, 5784, 974, 694, 2662, 273, 394, 4477, 974, 694, 12, 3767, 1769, 202, 202, 2556, 18, 458, 2932, 559, 3113, 315, 5521, 812, 382, 550, 387, 4131, 8863, 202, 202, 2556, 18, 458, 2932, 10577, 3113, 3411, 18, 10492, 12, 13527, 10019, 202, 202, 759, 971, 638, 16, 866, 4398, 1492, 854, 446, 854, 6708, 3196, 202, 2556, 18, 458, 2932, 10397, 3113, 3411, 18, 10492, 12, 10787, 10019, 202, 202, 759, 971, 638, 16, 501, 4398, 1492, 854, 446, 854, 6708, 202, 202, 2556, 18, 458, 2932, 9217, 3113, 3411, 18, 10492, 12, 14561, 10019, 202, 202, 4324, 18, 3530, 774, 974, 694, 12, 2556, 16, 315, 4229, 1199, 16, 629, 1769, 202, 202, 5784, 974, 694, 501, 4931, 273, 394, 4477, 974, 694, 12, 3767, 1769, 202, 202, 892, 4931, 18, 458, 2932, 1380, 3113, 2144, 18, 10492, 12, 892, 6450, 18, 2469, 10019, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 892, 6450, 18, 2469, 31, 77, 27245, 288, 1082, 202, 5784, 974, 694, 1203, 273, 394, 4477, 974, 694, 12, 3767, 1769, 1082, 202, 430, 12, 892, 1099, 2520, 63, 77, 65, 480, 446, 13, 9506, 202, 2629, 18, 458, 2932, 3098, 3113, 501, 1099, 2520, 63, 77, 8009, 10492, 10663, 1082, 202, 5281, 1768, 382, 550, 387, 2393, 77, 273, 9506, 202, 892, 1768, 382, 550, 5432, 63, 77, 15533, 1082, 202, 759, 971, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 4477, 974, 694, 3570, 2329, 974, 542, 1435, 288, 202, 202, 5784, 974, 694, 2662, 273, 394, 4477, 974, 694, 12, 3767, 1769, 202, 202, 2556, 18, 458, 2932, 559, 3113, 315, 5521, 812, 382, 550, 387, 4131, 8863, 202, 202, 2556, 18, 458, 2932, 10577, 3113, 3411, 18, 10492, 12, 13527, 10019, 202, 202, 759, 971, 638, 16, 866, 4398, 1492, 854, 446, 854, 6708, 3196, 202, 2556, 18, 458, 2932, 10397, 3113, 3411, 18, 10492, 12, 10787, 10019, 202, 202, 759, 971, 638, 16, 501, 4398, 1492, 854, 446, 854, 6708, 202, 202, 2556, 18, 458, 2932, 9217, 3113, 3411, 18, 10492, 12, 14561, 10019, 202, 202, 4324, 18, 3530, 774, 974, 694, 2 ]
if (jj_2_44(3)) {
if (jj_2_42(3)) {
final public Action action() throws ParseException { Token t; VarAttrValMake vavm; FunctionCall fc; if (jj_2_44(3)) { vavm = varAttrValMake(); {if (true) return new Action(vavm);} } else if (jj_2_45(3)) { fc = functionCall(); {if (true) return new Action(fc);} } else if (jj_2_46(3)) { jj_consume_token(TCL_PREPROCESS); {if (true) return null;} } else { jj_consume_token(-1); throw new ParseException(); } throw new Error("Missing return statement in function"); }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/d1775300ef3c91eaadbc0bf2706207627b5dc993/SoarParser.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/parser/SoarParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 4382, 1301, 1435, 1216, 10616, 288, 3639, 3155, 268, 31, 3639, 4562, 3843, 3053, 6464, 331, 842, 81, 31, 3639, 4284, 1477, 8036, 31, 565, 309, 261, 78, 78, 67, 22, 67, 9452, 12, 23, 3719, 288, 1377, 331, 842, 81, 273, 569, 3843, 3053, 6464, 5621, 7734, 288, 430, 261, 3767, 13, 327, 394, 4382, 12, 90, 842, 81, 1769, 97, 565, 289, 469, 309, 261, 78, 78, 67, 22, 67, 7950, 12, 23, 3719, 288, 1377, 8036, 273, 445, 1477, 5621, 7734, 288, 430, 261, 3767, 13, 327, 394, 4382, 12, 7142, 1769, 97, 565, 289, 469, 309, 261, 78, 78, 67, 22, 67, 8749, 12, 23, 3719, 288, 1377, 10684, 67, 21224, 67, 2316, 12, 56, 5017, 67, 3670, 16560, 1769, 7734, 288, 430, 261, 3767, 13, 327, 446, 31, 97, 565, 289, 469, 288, 1377, 10684, 67, 21224, 67, 2316, 19236, 21, 1769, 1377, 604, 394, 10616, 5621, 565, 289, 565, 604, 394, 1068, 2932, 4841, 327, 3021, 316, 445, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 4382, 1301, 1435, 1216, 10616, 288, 3639, 3155, 268, 31, 3639, 4562, 3843, 3053, 6464, 331, 842, 81, 31, 3639, 4284, 1477, 8036, 31, 565, 309, 261, 78, 78, 67, 22, 67, 9452, 12, 23, 3719, 288, 1377, 331, 842, 81, 273, 569, 3843, 3053, 6464, 5621, 7734, 288, 430, 261, 3767, 13, 327, 394, 4382, 12, 90, 842, 81, 1769, 97, 565, 289, 469, 309, 261, 78, 78, 67, 22, 67, 7950, 12, 23, 3719, 288, 1377, 8036, 273, 445, 1477, 5621, 7734, 288, 430, 261, 3767, 13, 327, 394, 4382, 12, 7142, 1769, 97, 565, 289, 469, 309, 261, 78, 78, 67, 22, 67, 8749, 12, 23, 3719, 288, 1377, 10684, 67, 21224, 67, 2 ]
new String[]{"" + sectionId} );
new String[]{"" + sectionId} );
public SectionDomainObject getSectionById( int sectionId ) { String sectionName = service.sqlQueryStr( "SELECT section_name FROM sections WHERE section_id = ?", new String[]{"" + sectionId} ); if ( null == sectionName ) { return null; } return new SectionDomainObject( sectionId, sectionName ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/78b8cf3c8e17332a572ee863855f4395ff68a51c/DocumentMapper.java/clean/server/src/imcode/server/document/DocumentMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10092, 3748, 921, 22103, 5132, 12, 509, 2442, 548, 262, 288, 3639, 514, 28887, 273, 1156, 18, 4669, 1138, 1585, 12, 315, 4803, 2442, 67, 529, 4571, 7178, 4852, 2442, 67, 350, 273, 692, 3113, 7734, 394, 514, 63, 7073, 3660, 397, 2442, 548, 97, 11272, 3639, 309, 261, 446, 422, 28887, 262, 288, 5411, 327, 446, 31, 3639, 289, 3639, 327, 394, 10092, 3748, 921, 12, 2442, 548, 16, 28887, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10092, 3748, 921, 22103, 5132, 12, 509, 2442, 548, 262, 288, 3639, 514, 28887, 273, 1156, 18, 4669, 1138, 1585, 12, 315, 4803, 2442, 67, 529, 4571, 7178, 4852, 2442, 67, 350, 273, 692, 3113, 7734, 394, 514, 63, 7073, 3660, 397, 2442, 548, 97, 11272, 3639, 309, 261, 446, 422, 28887, 262, 288, 5411, 327, 446, 31, 3639, 289, 3639, 327, 394, 10092, 3748, 921, 12, 2442, 548, 16, 28887, 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 ]
public int getColumnCount();
int getColumnCount();
public int getColumnCount();
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2703ae3b51c371a2a79d28271cd57b4046c647d0/TableModel.java/buggy/core/src/classpath/javax/javax/swing/table/TableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 6716, 1380, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 509, 6716, 1380, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public IFile getExecFile();
public IBinaryExecutable getExecFile();
public IFile getExecFile();
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/a192c2f172621fd921dbaebb14ee66fcee4f8f12/IExecFileInfo.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IExecFileInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 812, 336, 1905, 812, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 812, 336, 1905, 812, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected final static void addAllArrayList( ArrayList dest, Iterator files )
protected static final void addAllArrayList( ArrayList dest, Iterator files )
protected final static void addAllArrayList( ArrayList dest, Iterator files ) { while( files.hasNext() ) { dest.add( files.next() ); } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/8ce1de2178a0422105fa437c327b49fb5637ff28/AbstractMetamataTask.java/clean/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 727, 918, 5428, 19558, 12, 2407, 1570, 16, 4498, 1390, 262, 565, 288, 3639, 1323, 12, 1390, 18, 5332, 2134, 1435, 262, 3639, 288, 5411, 1570, 18, 1289, 12, 1390, 18, 4285, 1435, 11272, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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3639, 1323, 12, 1390, 18, 5332, 2134, 1435, 262, 3639, 288, 5411, 1570, 18, 1289, 12, 1390, 18, 4285, 1435, 11272, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (entry.image == null && entry.descriptor == null) { entry.image = image;
if (entry.image == null) { entry.descriptor = descriptor;
public void put(String key, Image image) { Entry entry = (Entry)table.get(key); if (entry == null) { entry = new Entry(); table.put(key, entry); } if (entry.image == null && entry.descriptor == null) { entry.image = image; return; } throw new IllegalArgumentException("ImageRegistry key already in use: " + key); //$NON-NLS-1$ }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3046bb629d4139ef66a636ba89994e1d5ec3aebc/ImageRegistry.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/resource/ImageRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1378, 12, 780, 498, 16, 3421, 1316, 13, 288, 202, 202, 1622, 1241, 273, 261, 1622, 13, 2121, 18, 588, 12, 856, 1769, 202, 202, 430, 261, 4099, 422, 446, 13, 288, 1082, 202, 4099, 273, 394, 3841, 5621, 1082, 202, 2121, 18, 458, 12, 856, 16, 1241, 1769, 202, 202, 97, 202, 202, 430, 261, 4099, 18, 2730, 422, 446, 597, 1241, 18, 12628, 422, 446, 13, 288, 1082, 202, 4099, 18, 2730, 273, 1316, 31, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 12849, 394, 2754, 2932, 2040, 4243, 498, 1818, 316, 999, 30, 315, 397, 498, 1769, 4329, 3993, 17, 5106, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1378, 12, 780, 498, 16, 3421, 1316, 13, 288, 202, 202, 1622, 1241, 273, 261, 1622, 13, 2121, 18, 588, 12, 856, 1769, 202, 202, 430, 261, 4099, 422, 446, 13, 288, 1082, 202, 4099, 273, 394, 3841, 5621, 1082, 202, 2121, 18, 458, 12, 856, 16, 1241, 1769, 202, 202, 97, 202, 202, 430, 261, 4099, 18, 2730, 422, 446, 597, 1241, 18, 12628, 422, 446, 13, 288, 1082, 202, 4099, 18, 2730, 273, 1316, 31, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 12849, 394, 2754, 2932, 2040, 4243, 498, 1818, 316, 999, 30, 315, 397, 498, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 97, 2, -100, -100, -100, -100, -100 ]
removeFirstInMemory(); } else { iter.remove(); } Delivery delivery = new SimpleDelivery(this, ref, true); acknowledgeInternal(delivery); } else { Delivery del = push(ref); if (del == null) { if (trace) { log.trace(this + ": no delivery returned for message" + ref + " so no receiver got the message"); log.trace("Delivery is now complete"); } receiversReady = false; return; } else if (!del.isSelectorAccepted()) {
protected void deliverInternal() { try { // The iterator is used to iterate through the refs in the channel in the case that they // don't match the selectors of any receivers. ListIterator iter = null; MessageReference ref = null; while (true) { //TODO simplify locking - do we really need two locks?? synchronized (refLock) { synchronized (deliveryLock) { if (iter == null) { ref = (MessageReference) messageRefs.peekFirst(); } else { if (iter.hasNext()) { ref = (MessageReference)iter.next(); } else { ref = null; } } if (ref != null) { // Check if message is expired (we also do this on the client // side) // If so ack it from the channel if (ref.isExpired()) { if (trace) { log.trace("Message reference: " + ref + " has expired"); } // remove and acknowledge it if (iter == null) { removeFirstInMemory(); } else { iter.remove(); } Delivery delivery = new SimpleDelivery(this, ref, true); acknowledgeInternal(delivery); } else { // Reference is not expired // Attempt to push the ref to a receiver Delivery del = push(ref); if (del == null) { // no receiver, broken receiver // or full receiver // so we stop delivering if (trace) { log.trace(this + ": no delivery returned for message" + ref + " so no receiver got the message"); log.trace("Delivery is now complete"); } receiversReady = false; return; } else if (!del.isSelectorAccepted()) { // No receiver accepted the message because no selectors matched // So we create an iterator (if we haven't already created it) to // iterate through the refs in the channel // TODO Note that this is only a partial solution since if there are messages paged to storage // it won't try those - i.e. it will only iterate through those refs in memory. // Dealing with refs in storage is somewhat tricky since we can't just load them and iterate // through them since we might run out of memory // So we will need to load individual refs from storage given the selector expressions // Secondly we should also introduce some in memory indexes here to prevent having to // iterate through all the refs every time // Having said all that, having consumers on a queue that don't match many messages // is an antipattern and should be avoided by the user if (iter == null) { iter = messageRefs.iterator(); } } else { if (trace) { log.trace(this + ": " + del + " returned for message:" + ref); } //Receiver accepted the reference // We must synchronize here to cope with another race // condition where message is // cancelled/acked in flight while the following few // actions are being performed. // e.g. delivery could be cancelled acked after being // removed from state but before // delivery being added (observed). synchronized (del) { if (trace) { log.trace(this + " incrementing delivery count for " + del); } // FIXME - It's actually possible the delivery could be // cancelled before it reaches // here, in which case we wouldn't get a delivery but we // still need to increment the // delivery count // All the problems related to these race conditions and // fiddly edge cases will disappear // once we do // http://jira.jboss.com/jira/browse/JBMESSAGING-355 // This will make life a lot easier del.getReference().incrementDeliveryCount(); if (!del.isCancelled()) { if (iter == null) { removeFirstInMemory(); } else { iter.remove(); } // delivered if (!del.isDone()) { // Add the delivery to state deliveries.add(del); } } } } } } else { // No more refs in channel if (trace) { log.trace(this + " no more refs to deliver "); } break; } } } } } catch (Throwable t) { log.error(this + " Failed to deliver", t); } }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/23fab495d2abccb117ffe0f5a935da045c7de818/ChannelSupport.java/clean/src/main/org/jboss/messaging/core/ChannelSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 918, 11795, 3061, 1435, 282, 288, 1377, 775, 1377, 288, 540, 368, 1021, 2775, 353, 1399, 358, 7401, 3059, 326, 9047, 316, 326, 1904, 316, 326, 648, 716, 2898, 540, 368, 2727, 1404, 845, 326, 11424, 434, 1281, 22686, 18, 540, 987, 3198, 1400, 273, 446, 31, 5375, 2350, 2404, 1278, 273, 446, 31, 5375, 1323, 261, 3767, 13, 540, 288, 15604, 368, 6241, 16499, 18887, 300, 741, 732, 8654, 1608, 2795, 13046, 14646, 5411, 3852, 261, 1734, 2531, 13, 5411, 288, 11794, 3852, 261, 15703, 2531, 13, 9079, 288, 5375, 309, 261, 2165, 422, 446, 13, 5375, 288, 5397, 1278, 273, 261, 1079, 2404, 13, 883, 9837, 18, 347, 3839, 3759, 5621, 5375, 289, 5375, 469, 5375, 288, 5397, 309, 261, 2165, 18, 5332, 2134, 10756, 5397, 288, 4766, 7734, 1278, 273, 261, 1079, 2404, 13, 2165, 18, 4285, 5621, 5397, 289, 8227, 469, 5397, 288, 13491, 1278, 273, 446, 31, 5397, 289, 5375, 289, 4766, 309, 261, 1734, 480, 446, 13, 5375, 288, 5397, 368, 2073, 309, 883, 353, 7708, 261, 1814, 2546, 741, 333, 603, 326, 1004, 5397, 368, 4889, 13, 5397, 368, 971, 1427, 8479, 518, 628, 326, 1904, 5397, 309, 261, 1734, 18, 291, 10556, 10756, 5397, 288, 13491, 309, 261, 5129, 13, 288, 613, 18, 5129, 2932, 1079, 2114, 30, 315, 397, 1278, 397, 315, 711, 7708, 8863, 289, 17311, 368, 1206, 471, 28922, 518, 13491, 309, 261, 2165, 422, 446, 13, 13491, 288, 21821, 1206, 3759, 382, 6031, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 918, 11795, 3061, 1435, 282, 288, 1377, 775, 1377, 288, 540, 368, 1021, 2775, 353, 1399, 358, 7401, 3059, 326, 9047, 316, 326, 1904, 316, 326, 648, 716, 2898, 540, 368, 2727, 1404, 845, 326, 11424, 434, 1281, 22686, 18, 540, 987, 3198, 1400, 273, 446, 31, 5375, 2350, 2404, 1278, 273, 446, 31, 5375, 1323, 261, 3767, 13, 540, 288, 15604, 368, 6241, 16499, 18887, 300, 741, 732, 8654, 1608, 2795, 13046, 14646, 5411, 3852, 261, 1734, 2531, 13, 5411, 288, 11794, 3852, 261, 15703, 2531, 13, 9079, 288, 5375, 309, 261, 2165, 422, 446, 13, 5375, 288, 5397, 1278, 273, 261, 1079, 2404, 13, 883, 9837, 18, 347, 3839, 3759, 5621, 5375, 289, 5375, 469, 2 ]
while (i < length && buf.charAt(i) >= '0' && buf.charAt(i) <= '9') {
int numToTrim=0; int length=buf.length(); if ( (length>2)&&((buf.charAt(0)=='r')||(buf.charAt(0)=='R'))&& ((buf.charAt(1)=='e')||(buf.charAt(1)=='E'))) { char c=buf.charAt(2); if (c==':') { numToTrim=3; } else if ((c=='[')||(c=='(')) { int i=3; while ((i<length)&&(buf.charAt(i)>='0')&&(buf.charAt(i)<='9')) {
protected boolean stripRe(StringBuffer buf) { // Much of this code is duplicated in MessageBase. Sigh. ### if (buf == null) return false; int numToTrim = 0; int length = buf.length(); if (length > 2 && (buf.charAt(0) == 'r' || buf.charAt(0) == 'R') && (buf.charAt(1) == 'e' || buf.charAt(1) == 'E')) { char c = buf.charAt(2); if (c == ':') { numToTrim = 3; // Skip over "Re:" } else if (c == '[' || c == '(') { int i = 3; // skip over "Re[" or "Re(" // Skip forward over digits after the "[" or "(". while (i < length && buf.charAt(i) >= '0' && buf.charAt(i) <= '9') { i++; } // Now ensure that the following thing is "]:" or "):" // Only if it is do we treat this all as a "Re"-ish thing. if (i < (length-1) && (buf.charAt(i) == ']' || buf.charAt(i) == ')') && buf.charAt(i+1) == ':') { numToTrim = i+2; // Skip the whole thing. } } } if (numToTrim > 0) { int i = numToTrim; while (i < length - 1 && Character.isWhitespace(buf.charAt(i))) { i++; } for (int j=i ; j<length ; j++) { buf.setCharAt(j - i, buf.charAt(j)); } buf.setLength(length - i); return true; } return false; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/0cc63cb388a13f01532486f9d178811914e6d71b/MessageExtraWrapper.java/clean/grendel/sources/grendel/storage/MessageExtraWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1250, 2569, 426, 12, 780, 1892, 1681, 13, 288, 565, 368, 490, 2648, 434, 333, 981, 353, 16975, 316, 2350, 2171, 18, 225, 348, 2031, 18, 11849, 565, 309, 261, 4385, 422, 446, 13, 327, 629, 31, 565, 509, 818, 774, 14795, 273, 374, 31, 565, 509, 769, 273, 1681, 18, 2469, 5621, 565, 309, 261, 2469, 405, 576, 597, 3639, 261, 4385, 18, 3001, 861, 12, 20, 13, 422, 296, 86, 11, 747, 1681, 18, 3001, 861, 12, 20, 13, 422, 296, 54, 6134, 597, 3639, 261, 4385, 18, 3001, 861, 12, 21, 13, 422, 296, 73, 11, 747, 1681, 18, 3001, 861, 12, 21, 13, 422, 296, 41, 26112, 288, 1377, 1149, 276, 273, 1681, 18, 3001, 861, 12, 22, 1769, 1377, 309, 261, 71, 422, 3921, 13, 288, 3639, 818, 774, 14795, 273, 890, 31, 368, 6611, 1879, 315, 426, 2773, 1377, 289, 469, 309, 261, 71, 422, 8375, 747, 276, 422, 7321, 13, 288, 3639, 509, 277, 273, 890, 31, 565, 368, 2488, 1879, 315, 426, 9614, 578, 315, 426, 2932, 3639, 368, 6611, 5104, 1879, 6815, 1839, 326, 13626, 578, 12452, 18, 3639, 1323, 261, 77, 411, 769, 597, 9079, 1681, 18, 3001, 861, 12, 77, 13, 1545, 296, 20, 11, 597, 9079, 1681, 18, 3001, 861, 12, 77, 13, 1648, 296, 29, 6134, 288, 1850, 277, 9904, 31, 3639, 289, 3639, 368, 4494, 3387, 716, 326, 3751, 7757, 353, 9850, 2773, 578, 9369, 2773, 3639, 368, 5098, 309, 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, 282, 4750, 1250, 2569, 426, 12, 780, 1892, 1681, 13, 288, 565, 368, 490, 2648, 434, 333, 981, 353, 16975, 316, 2350, 2171, 18, 225, 348, 2031, 18, 11849, 565, 309, 261, 4385, 422, 446, 13, 327, 629, 31, 565, 509, 818, 774, 14795, 273, 374, 31, 565, 509, 769, 273, 1681, 18, 2469, 5621, 565, 309, 261, 2469, 405, 576, 597, 3639, 261, 4385, 18, 3001, 861, 12, 20, 13, 422, 296, 86, 11, 747, 1681, 18, 3001, 861, 12, 20, 13, 422, 296, 54, 6134, 597, 3639, 261, 4385, 18, 3001, 861, 12, 21, 13, 422, 296, 73, 11, 747, 1681, 18, 3001, 861, 12, 21, 13, 422, 296, 41, 26112, 288, 1377, 1149, 276, 273, 1681, 2 ]
field.set(javaObject, NativeJavaObject.coerceType(field.getType(), value));
field.set(javaObject, NativeJavaObject.coerceType(field.getType(), value));
public void put(String name, Object javaObject, Object value, boolean isStatic) { Hashtable ht = isStatic ? staticMembers : members; Object member = ht.get(name); if (!isStatic && member == null) { // Try to get static member from instance (LC3) member = staticMembers.get(name); } if (member == null) throw reportMemberNotFound(name); if (member instanceof FieldAndMethods) { FieldAndMethods fam = (FieldAndMethods) ht.get(name); member = fam.getField(); } // Is this a bean property "set"? if (member instanceof BeanProperty) { try { Method method = ((BeanProperty) member).setter; if (method == null) throw reportMemberNotFound(name); Class[] types = method.getParameterTypes(); Object[] params = { NativeJavaObject.coerceType(types[0], value) }; method.invoke(javaObject, params); } catch (IllegalAccessException accessEx) { throw new RuntimeException("unexpected IllegalAccessException " + "accessing Java field"); } catch (InvocationTargetException e) { throw new WrappedException(e.getTargetException()); } } else { Field field = null; try { field = (Field) member; if (field == null) { Object[] args = {name}; throw Context.reportRuntimeError( Context.getMessage("msg.java.internal.private", args)); } field.set(javaObject, NativeJavaObject.coerceType(field.getType(), value)); } catch (ClassCastException e) { Object errArgs[] = { name }; throw Context.reportRuntimeError(Context.getMessage ("msg.java.method.assign", errArgs)); } catch (IllegalAccessException accessEx) { throw new RuntimeException("unexpected IllegalAccessException "+ "accessing Java field"); } catch (IllegalArgumentException argEx) { Object errArgs[] = { value.getClass().getName(), field, javaObject.getClass().getName() }; throw Context.reportRuntimeError(Context.getMessage( "msg.java.internal.field.type", errArgs)); } } }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/e737c6d867e82d4ba7fd00e7e388c9c8da824ff0/JavaMembers.java/buggy/js/rhino/org/mozilla/javascript/JavaMembers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 12, 780, 508, 16, 1033, 2252, 921, 16, 1033, 460, 16, 10792, 1250, 16116, 13, 565, 288, 3639, 18559, 14049, 273, 16116, 692, 760, 6918, 294, 4833, 31, 3639, 1033, 3140, 273, 14049, 18, 588, 12, 529, 1769, 3639, 309, 16051, 291, 5788, 597, 3140, 422, 446, 13, 288, 5411, 368, 6161, 358, 336, 760, 3140, 628, 791, 261, 13394, 23, 13, 5411, 3140, 273, 760, 6918, 18, 588, 12, 529, 1769, 3639, 289, 3639, 309, 261, 5990, 422, 446, 13, 5411, 604, 2605, 4419, 2768, 12, 529, 1769, 3639, 309, 261, 5990, 1276, 2286, 1876, 4712, 13, 288, 5411, 2286, 1876, 4712, 26688, 273, 261, 974, 1876, 4712, 13, 14049, 18, 588, 12, 529, 1769, 5411, 3140, 273, 26688, 18, 588, 974, 5621, 3639, 289, 7734, 368, 2585, 333, 279, 3931, 1272, 315, 542, 6, 35, 3639, 309, 261, 5990, 1276, 7704, 1396, 13, 288, 2398, 775, 288, 7734, 2985, 707, 273, 14015, 3381, 1396, 13, 3140, 2934, 18062, 31, 7734, 309, 261, 2039, 422, 446, 13, 10792, 604, 2605, 4419, 2768, 12, 529, 1769, 7734, 1659, 8526, 1953, 273, 707, 18, 588, 1662, 2016, 5621, 7734, 1033, 8526, 859, 273, 288, 16717, 5852, 921, 18, 2894, 2765, 559, 12, 2352, 63, 20, 6487, 460, 13, 289, 31, 7734, 707, 18, 14407, 12, 6290, 921, 16, 859, 1769, 5411, 289, 1044, 261, 12195, 9773, 2006, 424, 13, 288, 7734, 604, 394, 3235, 2932, 21248, 11900, 315, 397, 4766, 6647, 315, 3860, 310, 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, 1378, 12, 780, 508, 16, 1033, 2252, 921, 16, 1033, 460, 16, 10792, 1250, 16116, 13, 565, 288, 3639, 18559, 14049, 273, 16116, 692, 760, 6918, 294, 4833, 31, 3639, 1033, 3140, 273, 14049, 18, 588, 12, 529, 1769, 3639, 309, 16051, 291, 5788, 597, 3140, 422, 446, 13, 288, 5411, 368, 6161, 358, 336, 760, 3140, 628, 791, 261, 13394, 23, 13, 5411, 3140, 273, 760, 6918, 18, 588, 12, 529, 1769, 3639, 289, 3639, 309, 261, 5990, 422, 446, 13, 5411, 604, 2605, 4419, 2768, 12, 529, 1769, 3639, 309, 261, 5990, 1276, 2286, 1876, 4712, 13, 288, 5411, 2286, 1876, 4712, 26688, 273, 261, 974, 1876, 4712, 13, 14049, 18, 588, 12, 529, 2 ]
in.skipBytes(2); in.read(er); short layerId = DataTools.bytesToShort(er, false);
in.readShort(); short layerId = in.readShort();
private void initMetadata() throws FormatException, IOException { in.seek(0); // start by reading the file header byte[] toRead = new byte[4]; in.read(toRead); long order = batoi(toRead); // byte ordering little = toRead[2] != 0xff || toRead[3] != 0xff; metadata.put("Byte Order", new Boolean(little)); in.skipBytes(4); in.read(toRead); long version = DataTools.bytesToLong(toRead, false); metadata.put("Version", new Long(version)); byte[] er = new byte[2]; in.read(er); short count = DataTools.bytesToShort(er, false); metadata.put("Count", new Short(count)); in.skipBytes(2); in.read(toRead); long offset = DataTools.bytesToLong(toRead, false); // skip to first tag in.seek(offset); // read in each tag and its data for (int i=0; i<count; i++) { in.read(er); short tag = DataTools.bytesToShort(er, false); in.skipBytes(2); in.read(toRead); offset = DataTools.bytesToLong(toRead, false); in.read(toRead); long fmt = DataTools.bytesToLong(toRead, false); metadata.put("Format", new Long(fmt)); in.read(toRead); long numBytes = DataTools.bytesToLong(toRead, false); metadata.put("NumBytes", new Long(numBytes)); if (tag == 67 || tag == 68) { byte[] b = new byte[1]; in.read(b); boolean isOpenlab2; if (b[0] == '0') isOpenlab2 = false; else isOpenlab2 = true; metadata.put("isOpenlab2", new Boolean(isOpenlab2)); in.skipBytes(2); in.read(er); short layerId = DataTools.bytesToShort(er, false); metadata.put("LayerID", new Short(layerId)); in.read(er); short layerType = DataTools.bytesToShort(er, false); metadata.put("LayerType", new Short(layerType)); in.read(er); short bitDepth = DataTools.bytesToShort(er, false); metadata.put("BitDepth", new Short(bitDepth)); in.read(er); short opacity = DataTools.bytesToShort(er, false); metadata.put("Opacity", new Short(opacity)); // not sure how many bytes to skip here in.skipBytes(10); in.read(toRead); long type = DataTools.bytesToLong(toRead, false); metadata.put("ImageType", new Long(type)); // not sure how many bytes to skip in.skipBytes(10); in.read(toRead); long timestamp = DataTools.bytesToLong(toRead, false); metadata.put("Timestamp", new Long(timestamp)); in.skipBytes(2); if (isOpenlab2 == true) { byte[] layerName = new byte[127]; in.read(layerName); metadata.put("LayerName", new String(layerName)); in.read(toRead); long timestampMS = DataTools.bytesToLong(toRead, false); metadata.put("Timestamp-MS", new Long(timestampMS)); in.skipBytes(1); byte[] notes = new byte[118]; in.read(notes); metadata.put("Notes", new String(notes)); } else in.skipBytes(123); } else if (tag == 69) { in.read(toRead); long platform = DataTools.bytesToLong(toRead, false); metadata.put("Platform", new Long(platform)); in.read(er); short units = DataTools.bytesToShort(er, false); metadata.put("Units", new Short(units)); in.read(er); short imageId = DataTools.bytesToShort(er, false); metadata.put("ID", new Short(imageId)); in.skipBytes(1); byte[] toRead2 = new byte[8]; double xOrigin = DataTools.readDouble(in, false); metadata.put("XOrigin", new Double(xOrigin)); double yOrigin = DataTools.readDouble(in, false); metadata.put("YOrigin", new Double(yOrigin)); double xScale = DataTools.readDouble(in, false); metadata.put("XScale", new Double(xScale)); double yScale = DataTools.readDouble(in, false); metadata.put("YScale", new Double(yScale)); in.skipBytes(1); byte[] other = new byte[31]; in.read(other); metadata.put("Other", new String(other)); } // Populate metadata store // The metadata store we're working with. MetadataStore store = getMetadataStore(); String type = "int8"; if (metadata.get("BitDepth") != null) { int bitDepth = ((Short) metadata.get("BitDepth")).intValue(); if (bitDepth <= 8) type = "int8"; else if (bitDepth <= 16) type = "int16"; else type = "int32"; } store.setImage(null, metadata.get("Timestamp").toString(), null, null); // FIXME: There is a loss of precision here as we are down-casting from // double to float. store.setStageLabel(null, (Float) metadata.get("XOrigin"), (Float) metadata.get("YOrigin"), null, null); // FIXME: There is a loss of precision here as we are down-casting from // double to float. store.setDimensions((Float) metadata.get("XScale"), (Float) metadata.get("YScale"), null, null, null, null); in.seek(offset); // We need to poke at least one plane so that we can get "sizeX" and // "sizeY" set. to populate the pixels set. try { firstPlane = openImage(currentId, 0); } catch (FormatException e) { e.printStackTrace(); } store.setPixels(sizeX, sizeY, new Integer(numBlocks), new Integer(getSizeC(currentId)), new Integer(1), type, new Boolean(!little), "XYCZT", null); } }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/2df09d33bfdc966378aae0cc09cb503afb983bc2/OpenlabReader.java/clean/loci/formats/in/OpenlabReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 2277, 1435, 1216, 4077, 503, 16, 1860, 288, 565, 316, 18, 16508, 12, 20, 1769, 565, 368, 787, 635, 6453, 326, 585, 1446, 565, 1160, 8526, 358, 1994, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1353, 273, 27464, 11359, 12, 869, 1994, 1769, 225, 368, 1160, 9543, 565, 12720, 273, 358, 1994, 63, 22, 65, 480, 374, 5297, 747, 358, 1994, 63, 23, 65, 480, 374, 5297, 31, 565, 1982, 18, 458, 2932, 3216, 4347, 3113, 394, 3411, 12, 80, 7188, 10019, 565, 316, 18, 7457, 2160, 12, 24, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1177, 273, 1910, 10348, 18, 3890, 30220, 12, 869, 1994, 16, 629, 1769, 565, 1982, 18, 458, 2932, 1444, 3113, 394, 3407, 12, 1589, 10019, 565, 1160, 8526, 6445, 273, 394, 1160, 63, 22, 15533, 565, 316, 18, 896, 12, 264, 1769, 565, 3025, 1056, 273, 1910, 10348, 18, 3890, 774, 4897, 12, 264, 16, 629, 1769, 565, 1982, 18, 458, 2932, 1380, 3113, 394, 7925, 12, 1883, 10019, 565, 316, 18, 7457, 2160, 12, 22, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1384, 273, 1910, 10348, 18, 3890, 30220, 12, 869, 1994, 16, 629, 1769, 565, 368, 2488, 358, 1122, 1047, 565, 316, 18, 16508, 12, 3348, 1769, 565, 368, 855, 316, 1517, 1047, 471, 2097, 501, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 1883, 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, 282, 3238, 918, 1208, 2277, 1435, 1216, 4077, 503, 16, 1860, 288, 565, 316, 18, 16508, 12, 20, 1769, 565, 368, 787, 635, 6453, 326, 585, 1446, 565, 1160, 8526, 358, 1994, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1353, 273, 27464, 11359, 12, 869, 1994, 1769, 225, 368, 1160, 9543, 565, 12720, 273, 358, 1994, 63, 22, 65, 480, 374, 5297, 747, 358, 1994, 63, 23, 65, 480, 374, 5297, 31, 565, 1982, 18, 458, 2932, 3216, 4347, 3113, 394, 3411, 12, 80, 7188, 10019, 565, 316, 18, 7457, 2160, 12, 24, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1177, 273, 1910, 10348, 18, 3890, 2 ]
this.configureButton.setEnabled(false);
private void init() { this.add(addButton); this.add(configureButton); this.add(infoButton); this.add(searchButton); this.addButton.setName("add"); this.configureButton.setName("config"); this.searchButton.setName("search"); this.infoButton.setName("info"); this.addButton.addActionListener(this); this.configureButton.addActionListener(this); this.searchButton.addActionListener(this); this.infoButton.addActionListener(this); //Disable all buttons that do nothing. this.configureButton.setEnabled(false); }
43455 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/43455/f2d29276f1f67246af0fb9f8af2d456c5301ffb6/QuickMenu.java/buggy/src/net/java/sip/communicator/impl/gui/main/QuickMenu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 1435, 288, 3639, 333, 18, 1289, 12, 1289, 3616, 1769, 3639, 333, 18, 1289, 12, 14895, 3616, 1769, 3639, 333, 18, 1289, 12, 1376, 3616, 1769, 3639, 333, 18, 1289, 12, 3072, 3616, 1769, 3639, 333, 18, 1289, 3616, 18, 542, 461, 2932, 1289, 8863, 3639, 333, 18, 14895, 3616, 18, 542, 461, 2932, 1425, 8863, 3639, 333, 18, 3072, 3616, 18, 542, 461, 2932, 3072, 8863, 3639, 333, 18, 1376, 3616, 18, 542, 461, 2932, 1376, 8863, 3639, 333, 18, 1289, 3616, 18, 1289, 1803, 2223, 12, 2211, 1769, 3639, 333, 18, 14895, 3616, 18, 1289, 1803, 2223, 12, 2211, 1769, 3639, 333, 18, 3072, 3616, 18, 1289, 1803, 2223, 12, 2211, 1769, 3639, 333, 18, 1376, 3616, 18, 1289, 1803, 2223, 12, 2211, 1769, 3639, 368, 11879, 777, 9502, 716, 741, 5083, 18, 5375, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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12, 1376, 3616, 1769, 3639, 333, 18, 1289, 12, 3072, 3616, 1769, 3639, 333, 18, 1289, 3616, 18, 542, 461, 2932, 1289, 8863, 3639, 333, 18, 14895, 3616, 18, 542, 461, 2932, 1425, 8863, 3639, 333, 18, 3072, 3616, 18, 542, 461, 2932, 3072, 8863, 3639, 333, 18, 1376, 3616, 18, 542, 461, 2932, 1376, 8863, 3639, 333, 18, 1289, 3616, 18, 1289, 1803, 2223, 12, 2211, 1769, 3639, 333, 18, 14895, 3616, 18, 1289, 1803, 2223, 12, 2211, 1769, 3639, 333, 18, 3072, 3616, 18, 1289, 1803, 2223, 12, 2211, 1769, 3639, 2 ]
protected Object interpretMethod(Class c, MethodDescriptor md, Object obj, Object[] params) { MethodDeclaration meth = md.method; List<FormalParameter> mparams = meth.getParameters(); List<Node> stmts = meth.getBody().getStatements(); String name = meth.getName(); Context context = null; if (Modifier.isStatic(md.method.getAccessFlags())) { if (md.variables == null) { md.importationManager.setClassLoader(classLoader); // pass 1: names resolution Context ctx = new StaticContext(this, c, md.importationManager); ctx.setAdditionalClassLoaderContainer(classLoader); NameVisitor nv = new NameVisitor(ctx); ListIterator<FormalParameter> it1 = mparams.listIterator(); while (it1.hasNext()) { it1.next().acceptVisitor(nv); } ListIterator<Node> it2 = stmts.listIterator(); while (it2.hasNext()) { Node o = it2.next().acceptVisitor(nv); if (o != null) it2.set(o); } // pass 2: type checking ctx = new StaticContext(this, c, md.importationManager); ctx.setAdditionalClassLoaderContainer(classLoader); TypeChecker tc = new TypeChecker(ctx); it1 = mparams.listIterator(); while (it1.hasNext()) { it1.next().acceptVisitor(tc); } it2 = stmts.listIterator(); while (it2.hasNext()) { it2.next().acceptVisitor(tc); } md.variables = ctx.getCurrentScopeVariables(); // Test of the additional context existence if (!name.equals("<clinit>") && !name.equals("<init>")) { try { md.contextField = c.getField("local$Variables$Reference$0"); } catch (NoSuchFieldException e) { } } } // pass 3: evaluation context = new StaticContext(this, c, md.variables); } else { if (md.variables == null) { md.importationManager.setClassLoader(classLoader); // pass 1: names resolution Context ctx1 = new MethodContext(this, c, c, md.importationManager); ctx1.setAdditionalClassLoaderContainer(classLoader); NameVisitor nv1 = new NameVisitor(ctx1); Context ctx2 = new MethodContext(this, c, c, md.importationManager); ctx2.setAdditionalClassLoaderContainer(classLoader); NameVisitor nv2 = new NameVisitor(ctx2); // Initializes the context with the outerclass variables Object[][] cc = null; try { Field f = c.getField("local$Variables$Class$0"); cc = (Object[][])f.get(obj); for (int i = 0; i < cc.length; i++) { Object[] cell = cc[i]; if (!((String)cell[0]).equals("this")) { ctx1.defineConstant((String)cell[0], cell[1]); } } } catch (Exception e) { } // Visit the parameters and the body of the method ListIterator<FormalParameter> it1 = mparams.listIterator(); while (it1.hasNext()) { it1.next().acceptVisitor(nv1); } ListIterator<Node> it2 = stmts.listIterator(); while (it2.hasNext()) { Node n = it2.next(); Node o = null; if (n.hasProperty(NodeProperties.INSTANCE_INITIALIZER)) { o = n.acceptVisitor(nv2); } else { o = n.acceptVisitor(nv1); } if (o != null) it2.set(o); } // pass 2: type checking ctx1 = new MethodContext(this, c, c, md.importationManager); ctx1.setAdditionalClassLoaderContainer(classLoader); TypeChecker tc1 = new TypeChecker(ctx1); ctx2 = new MethodContext(this, c, c, md.importationManager); ctx2.setAdditionalClassLoaderContainer(classLoader); TypeChecker tc2 = new TypeChecker(ctx2); // Initializes the context with outerclass variables if (cc != null) { for (int i = 0; i < cc.length; i++) { Object[] cell = cc[i]; if (!((String)cell[0]).equals("this")) { ctx1.defineConstant((String)cell[0], cell[1]); } } } // Visit the parameters and the body of the method it1 = mparams.listIterator(); while (it1.hasNext()) { it1.next().acceptVisitor(tc1); } it2 = stmts.listIterator(); while (it2.hasNext()) { Node n = (Node)it2.next(); if (n.hasProperty(NodeProperties.INSTANCE_INITIALIZER)) { n.acceptVisitor(tc2); } else { n.acceptVisitor(tc1); } } md.variables = ctx1.getCurrentScopeVariables(); // Test of the additional context existence if (!name.equals("<clinit>") && !name.equals("<init>")) { try { md.contextField = c.getField("local$Variables$Reference$0"); } catch (NoSuchFieldException e) { } } } // pass 3: evaluation context = new MethodContext(this, c, obj, md.variables); } context.setAdditionalClassLoaderContainer(classLoader); // Set the arguments values Iterator<FormalParameter> it1 = mparams.iterator(); int i = 0; while (it1.hasNext()) { context.set(it1.next().getName(), params[i++]); } // Set the final local variables values if (md.contextField != null) { Map vars = null; try { vars = (Map)md.contextField.get(obj); } catch (IllegalAccessException e) { } if (vars != null) { Iterator it2 = vars.keySet().iterator(); while (it2.hasNext()) { String s = (String) it2.next(); if (!s.equals("this")) { context.setConstant(s, vars.get(s)); } } } } EvaluationVisitor ev = new EvaluationVisitor(context); Iterator<Node> it3 = stmts.iterator(); try { while (it3.hasNext()) { it3.next().acceptVisitor(ev); } } catch (ReturnException e) { return e.getValue(); } return null; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/56602892a0ed21c5100101190a7b3d24e2204871/TreeInterpreter.java/buggy/dynamicjava/src/koala/dynamicjava/interpreter/TreeInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1033, 10634, 1305, 12, 797, 276, 16, 4766, 282, 2985, 3187, 3481, 16, 4766, 282, 1033, 1081, 16, 4766, 282, 1033, 8526, 859, 13, 288, 565, 2985, 6094, 3639, 7917, 273, 3481, 18, 2039, 31, 565, 987, 32, 13985, 34, 312, 2010, 273, 7917, 18, 588, 2402, 5621, 565, 987, 32, 907, 34, 2868, 15452, 273, 7917, 18, 588, 2250, 7675, 588, 14663, 5621, 565, 514, 10402, 508, 273, 7917, 18, 17994, 5621, 3639, 1772, 9079, 819, 273, 446, 31, 3639, 309, 261, 9829, 18, 291, 5788, 12, 1264, 18, 2039, 18, 588, 1862, 5094, 1435, 3719, 288, 1377, 309, 261, 1264, 18, 7528, 422, 446, 13, 288, 3639, 3481, 18, 5666, 367, 1318, 18, 542, 7805, 12, 1106, 2886, 1769, 7734, 368, 1342, 404, 30, 1257, 7861, 3639, 1772, 1103, 273, 394, 10901, 1042, 12, 2211, 16, 276, 16, 3481, 18, 5666, 367, 1318, 1769, 3639, 1103, 18, 542, 10552, 7805, 2170, 12, 1106, 2886, 1769, 3639, 1770, 7413, 8779, 273, 394, 1770, 7413, 12, 5900, 1769, 7734, 987, 3198, 32, 13985, 34, 518, 21, 273, 312, 2010, 18, 1098, 3198, 5621, 3639, 1323, 261, 305, 21, 18, 5332, 2134, 10756, 288, 1850, 518, 21, 18, 4285, 7675, 9436, 7413, 12, 16588, 1769, 3639, 289, 7734, 987, 3198, 32, 907, 34, 518, 22, 273, 15452, 18, 1098, 3198, 5621, 3639, 1323, 261, 305, 22, 18, 5332, 2134, 10756, 288, 1850, 2029, 320, 273, 518, 22, 18, 4285, 7675, 9436, 7413, 12, 16588, 1769, 1850, 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, 1033, 10634, 1305, 12, 797, 276, 16, 4766, 282, 2985, 3187, 3481, 16, 4766, 282, 1033, 1081, 16, 4766, 282, 1033, 8526, 859, 13, 288, 565, 2985, 6094, 3639, 7917, 273, 3481, 18, 2039, 31, 565, 987, 32, 13985, 34, 312, 2010, 273, 7917, 18, 588, 2402, 5621, 565, 987, 32, 907, 34, 2868, 15452, 273, 7917, 18, 588, 2250, 7675, 588, 14663, 5621, 565, 514, 10402, 508, 273, 7917, 18, 17994, 5621, 3639, 1772, 9079, 819, 273, 446, 31, 3639, 309, 261, 9829, 18, 291, 5788, 12, 1264, 18, 2039, 18, 588, 1862, 5094, 1435, 3719, 288, 1377, 309, 261, 1264, 18, 7528, 422, 446, 13, 288, 3639, 3481, 18, 5666, 367, 1318, 18, 542, 7805, 2 ]
setName((String) evalAttr("name", getName(), String.class));
setName((String) evalAttr("name", getNameExpr(), String.class));
private void evaluateExpressions() throws JspException { try { setCookie((String) evalAttr("cookie", getCookie(), String.class)); } catch (NullAttributeException ex) { setCookie(null); } try { setExpr((String) evalAttr("expr", getExpr(), String.class)); } catch (NullAttributeException ex) { setExpr(null); } try { setHeader((String) evalAttr("header", getHeader(), String.class)); } catch (NullAttributeException ex) { setHeader(null); } try { setLocation((String) evalAttr("location", getLocation(), String.class)); } catch (NullAttributeException ex) { setLocation(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setParameter((String) evalAttr("parameter", getParameter(), String.class)); } catch (NullAttributeException ex) { setParameter(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setScope((String) evalAttr("scope", getScope(), String.class)); } catch (NullAttributeException ex) { setScope(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } }
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/db064e19656421b94aaf753550935d95f44bd5f9/ELNotMatchTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/logic/ELNotMatchTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 26793, 12443, 780, 13, 5302, 3843, 2932, 8417, 3113, 24643, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 26793, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 4742, 12443, 780, 13, 5302, 3843, 2932, 8638, 3113, 336, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 4742, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 10859, 12443, 780, 13, 5302, 3843, 2932, 3374, 3113, 7911, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 10859, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 21751, 12443, 780, 13, 5302, 3843, 2932, 3562, 3113, 13312, 9334, 4766, 1850, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 21751, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 6788, 12443, 780, 13, 5302, 3843, 2932, 529, 3113, 1723, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 6788, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 6690, 12443, 780, 13, 5302, 3843, 2932, 6775, 3113, 5575, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 6690, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 7486, 12443, 780, 13, 5302, 3843, 2932, 4468, 3113, 3911, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 26793, 12443, 780, 13, 5302, 3843, 2932, 8417, 3113, 24643, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 26793, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 4742, 12443, 780, 13, 5302, 3843, 2932, 8638, 3113, 336, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 4742, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 10859, 12443, 780, 13, 5302, 3843, 2932, 3374, 3113, 7911, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 10859, 12, 2011, 1769, 3639, 2 ]
int index = menus.indexOf(menu); if (index == -1) return;
Menu m = (Menu) menus.get (index); menus.remove (index); m.removeNotify (); m.parent = null;
remove(MenuComponent menu){ int index = menus.indexOf(menu); if (index == -1) return; remove(index);}
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/MenuBar.java/buggy/core/src/classpath/java/java/awt/MenuBar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1206, 12, 4599, 1841, 3824, 15329, 225, 509, 770, 273, 21374, 18, 31806, 12, 5414, 1769, 225, 309, 261, 1615, 422, 300, 21, 13, 565, 327, 31, 225, 1206, 12, 1615, 1769, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1206, 12, 4599, 1841, 3824, 15329, 225, 509, 770, 273, 21374, 18, 31806, 12, 5414, 1769, 225, 309, 261, 1615, 422, 300, 21, 13, 565, 327, 31, 225, 1206, 12, 1615, 1769, 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 ]
super.activityStopped(); messageEventProducer = null; setLocalBodyImpl(new InactiveLocalBodyStrategy()); }
super.activityStopped(); messageEventProducer = null; setLocalBodyImpl(new InactiveLocalBodyStrategy()); }
protected void activityStopped() { super.activityStopped(); messageEventProducer = null; setLocalBodyImpl(new InactiveLocalBodyStrategy()); }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/3b8d1382ffc872fc9b8335fdb22b582eb5574f18/BodyImpl.java/clean/src/org/objectweb/proactive/core/body/BodyImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 5728, 15294, 1435, 288, 202, 202, 9565, 18, 9653, 15294, 5621, 202, 202, 2150, 1133, 12140, 273, 446, 31, 202, 202, 542, 2042, 2250, 2828, 12, 2704, 657, 3535, 2042, 2250, 4525, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 5728, 15294, 1435, 288, 202, 202, 9565, 18, 9653, 15294, 5621, 202, 202, 2150, 1133, 12140, 273, 446, 31, 202, 202, 542, 2042, 2250, 2828, 12, 2704, 657, 3535, 2042, 2250, 4525, 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, -100, -100, -100, -100, -100 ]
private void forceOpenPerspective() { if (getWorkbenchWindowCount() == 0) { // Something is wrong, there should be at least // one workbench window open by now. return; } String perspId = null; for (int i = 0; i < commandLineArgs.length - 1; i++) { if (commandLineArgs[i].equalsIgnoreCase("-perspective")) { //$NON-NLS-1$ perspId = commandLineArgs[i+1]; break; } } if (perspId == null) return; IPerspectiveDescriptor desc = getPerspectiveRegistry().findPerspectiveWithId(perspId); if (desc == null) return; IWorkbenchWindow win = getActiveWorkbenchWindow(); if (win == null) win = getWorkbenchWindows()[0]; try { showPerspective(perspId, win); } catch (WorkbenchException e) { String msg = "Workbench exception showing specified command line perspective on startup."; //$NON-NLS-1$ WorkbenchPlugin.log(msg, new Status(Status.ERROR, PlatformUI.PLUGIN_ID,0, msg, e)); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/25425fe3505bc6f62e9021f3f79e33d77a752241/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2944, 3678, 14781, 16772, 1435, 288, 202, 202, 430, 261, 588, 2421, 22144, 3829, 1380, 1435, 422, 374, 13, 288, 1082, 202, 759, 29116, 353, 7194, 16, 1915, 1410, 506, 622, 4520, 1082, 202, 759, 1245, 1440, 22144, 2742, 1696, 635, 2037, 18, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 780, 13508, 84, 548, 273, 446, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 20894, 2615, 18, 2469, 300, 404, 31, 277, 27245, 288, 1082, 202, 430, 261, 3076, 1670, 2615, 63, 77, 8009, 14963, 5556, 2932, 17, 10422, 16772, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 10422, 84, 548, 273, 20894, 2615, 63, 77, 15, 21, 15533, 9506, 202, 8820, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 261, 10422, 84, 548, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 2579, 414, 16772, 3187, 3044, 273, 1689, 414, 16772, 4243, 7675, 4720, 14781, 16772, 1190, 548, 12, 10422, 84, 548, 1769, 202, 202, 430, 261, 5569, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 45, 2421, 22144, 3829, 5657, 273, 11960, 2421, 22144, 3829, 5621, 202, 202, 430, 261, 8082, 422, 446, 13, 1082, 202, 8082, 273, 29026, 22144, 10399, 1435, 63, 20, 15533, 202, 202, 698, 288, 1082, 202, 4500, 14781, 16772, 12, 10422, 84, 548, 16, 5657, 1769, 202, 202, 97, 1044, 261, 2421, 22144, 503, 425, 13, 288, 1082, 202, 780, 1234, 273, 315, 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, 2944, 3678, 14781, 16772, 1435, 288, 202, 202, 430, 261, 588, 2421, 22144, 3829, 1380, 1435, 422, 374, 13, 288, 1082, 202, 759, 29116, 353, 7194, 16, 1915, 1410, 506, 622, 4520, 1082, 202, 759, 1245, 1440, 22144, 2742, 1696, 635, 2037, 18, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 780, 13508, 84, 548, 273, 446, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 20894, 2615, 18, 2469, 300, 404, 31, 277, 27245, 288, 1082, 202, 430, 261, 3076, 1670, 2615, 63, 77, 8009, 14963, 5556, 2932, 17, 10422, 16772, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 10422, 84, 548, 273, 20894, 2615, 63, 2 ]
public UMOMessageDispatcher create(UMOConnector connector) throws UMOException
public UMOMessageDispatcher create(UMOImmutableEndpoint endpoint) throws UMOException
public UMOMessageDispatcher create(UMOConnector connector) throws UMOException { return new GlueMessageDispatcher((AbstractConnector) connector); }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/589f59b15144184ea22999b384d5ea92ddec8bb9/GlueMessageDispatcherFactory.java/buggy/providers/glue/src/main/java/org/mule/providers/soap/glue/GlueMessageDispatcherFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 587, 5980, 1079, 6681, 752, 12, 2799, 51, 16014, 3293, 2494, 13, 1216, 587, 5980, 503, 565, 288, 3639, 327, 394, 23138, 1079, 6681, 12443, 7469, 7487, 13, 8703, 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,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326, 981, 30, 377, 1071, 587, 5980, 1079, 6681, 752, 12, 2799, 51, 16014, 3293, 2494, 13, 1216, 587, 5980, 503, 565, 288, 3639, 327, 394, 23138, 1079, 6681, 12443, 7469, 7487, 13, 8703, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.SettlCurrOfferFxRate getSettlCurrOfferFxRate() throws FieldNotFound { org.quickfix.field.SettlCurrOfferFxRate value = new org.quickfix.field.SettlCurrOfferFxRate();
public quickfix.field.SettlCurrOfferFxRate getSettlCurrOfferFxRate() throws FieldNotFound { quickfix.field.SettlCurrOfferFxRate value = new quickfix.field.SettlCurrOfferFxRate();
public org.quickfix.field.SettlCurrOfferFxRate getSettlCurrOfferFxRate() throws FieldNotFound { org.quickfix.field.SettlCurrOfferFxRate value = new org.quickfix.field.SettlCurrOfferFxRate(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteStatusReport.java/clean/src/java/src/quickfix/fix44/QuoteStatusReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 10513, 42, 92, 4727, 336, 694, 6172, 20143, 10513, 42, 92, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 10513, 42, 92, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 10513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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 10513, 42, 92, 4727, 336, 694, 6172, 20143, 10513, 42, 92, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 10513, 42, 92, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 10513, 42, 92, 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 ]
SWT.BOTTOM, true);
SWT.NONE, true);
private IWindowTrim getStatusLineTrim() { if (statusLineTrim == null) { statusLineTrim = new WindowTrimProxy( getStatusLineManager().getControl(), "org.eclipse.jface.action.StatusLineManager", //$NON-NLS-1$ WorkbenchMessages.TrimCommon_StatusLine_TrimName, SWT.BOTTOM, true); } return statusLineTrim; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/5584c64150adcadcce5bbb9f45d2aafcdedc1533/WorkbenchWindow.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 3829, 14795, 5870, 1670, 14795, 1435, 288, 202, 202, 430, 261, 2327, 1670, 14795, 422, 446, 13, 288, 1082, 202, 2327, 1670, 14795, 273, 394, 6076, 14795, 3886, 12, 6862, 202, 588, 1482, 1670, 1318, 7675, 588, 3367, 9334, 6862, 202, 6, 3341, 18, 20416, 18, 78, 865, 18, 1128, 18, 1482, 1670, 1318, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2421, 22144, 5058, 18, 14795, 6517, 67, 1482, 1670, 67, 14795, 461, 16, 6862, 202, 55, 8588, 18, 28891, 16, 638, 1769, 202, 202, 97, 202, 202, 2463, 1267, 1670, 14795, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 3829, 14795, 5870, 1670, 14795, 1435, 288, 202, 202, 430, 261, 2327, 1670, 14795, 422, 446, 13, 288, 1082, 202, 2327, 1670, 14795, 273, 394, 6076, 14795, 3886, 12, 6862, 202, 588, 1482, 1670, 1318, 7675, 588, 3367, 9334, 6862, 202, 6, 3341, 18, 20416, 18, 78, 865, 18, 1128, 18, 1482, 1670, 1318, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2421, 22144, 5058, 18, 14795, 6517, 67, 1482, 1670, 67, 14795, 461, 16, 6862, 202, 55, 8588, 18, 28891, 16, 638, 1769, 202, 202, 97, 202, 202, 2463, 1267, 1670, 14795, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new Error("not implemented");
AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac instanceof AccessibleValue) return (AccessibleValue) ac; else return null;
public AccessibleValue getAccessibleValue() throws NotImplementedException { throw new Error("not implemented"); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/eef19a6fbc70451186d53b7669077748b8b7c136/JTableHeader.java/buggy/core/src/classpath/javax/javax/swing/table/JTableHeader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 5016, 1523, 620, 336, 10451, 620, 1435, 3639, 1216, 10051, 503, 1377, 288, 3639, 5016, 1523, 1042, 1721, 273, 336, 10451, 1494, 1864, 6747, 5621, 309, 261, 1077, 1276, 5016, 1523, 620, 13, 327, 261, 10451, 620, 13, 1721, 31, 469, 327, 446, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4202, 1071, 5016, 1523, 620, 336, 10451, 620, 1435, 3639, 1216, 10051, 503, 1377, 288, 3639, 5016, 1523, 1042, 1721, 273, 336, 10451, 1494, 1864, 6747, 5621, 309, 261, 1077, 1276, 5016, 1523, 620, 13, 327, 261, 10451, 620, 13, 1721, 31, 469, 327, 446, 31, 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 ]
lde = new ListDataEvent( com.gallery.GalleryRemote.GalleryRemote.getInstance().mainFrame, ListDataEvent.CONTENTS_CHANGED, 0, albumList.size() );
fireContentsChanged( this, 0, albumList.size() );
void notifyListeners() { ListDataEvent lde; if (albumList != null) { lde = new ListDataEvent( com.gallery.GalleryRemote.GalleryRemote.getInstance().mainFrame, ListDataEvent.CONTENTS_CHANGED, 0, albumList.size() ); } else { lde = new ListDataEvent( com.gallery.GalleryRemote.GalleryRemote.getInstance().mainFrame, ListDataEvent.CONTENTS_CHANGED, 0, 0 ); } notifyListeners(lde); }
5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/73c089cb6f981f58b7f0cf0845cec6ba85ea1191/Gallery.java/clean/gallery_remote/com/gallery/GalleryRemote/model/Gallery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 5066, 5583, 1435, 288, 202, 202, 682, 751, 1133, 328, 323, 31, 202, 202, 430, 261, 25090, 682, 480, 446, 13, 288, 1082, 202, 80, 323, 273, 394, 987, 751, 1133, 12, 532, 18, 21454, 18, 18511, 5169, 18, 18511, 5169, 18, 588, 1442, 7675, 5254, 3219, 16, 987, 751, 1133, 18, 9689, 55, 67, 24435, 16, 374, 16, 14844, 682, 18, 1467, 1435, 11272, 202, 202, 97, 469, 288, 1082, 202, 80, 323, 273, 394, 987, 751, 1133, 12, 532, 18, 21454, 18, 18511, 5169, 18, 18511, 5169, 18, 588, 1442, 7675, 5254, 3219, 16, 987, 751, 1133, 18, 9689, 55, 67, 24435, 16, 374, 16, 374, 11272, 202, 202, 97, 9506, 202, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 5066, 5583, 1435, 288, 202, 202, 682, 751, 1133, 328, 323, 31, 202, 202, 430, 261, 25090, 682, 480, 446, 13, 288, 1082, 202, 80, 323, 273, 394, 987, 751, 1133, 12, 532, 18, 21454, 18, 18511, 5169, 18, 18511, 5169, 18, 588, 1442, 7675, 5254, 3219, 16, 987, 751, 1133, 18, 9689, 55, 67, 24435, 16, 374, 16, 14844, 682, 18, 1467, 1435, 11272, 202, 202, 97, 469, 288, 1082, 202, 80, 323, 273, 394, 987, 751, 1133, 12, 532, 18, 21454, 18, 18511, 5169, 18, 18511, 5169, 18, 588, 1442, 7675, 5254, 3219, 16, 987, 751, 1133, 18, 9689, 55, 67, 24435, 16, 374, 16, 374, 11272, 202, 202, 97, 9506, 202, 12336, 5583, 2 ]
org.xhtmlrenderer.css.newmatch.CascadedStyle matched = _matcher.getCascadedStyle(elem);
org.xhtmlrenderer.css.newmatch.CascadedStyle matched = _matcher.matchElement(elem);
public void restyleTree( org.w3c.dom.Element elem ) { CalculatedStyle parent = null; // if this is the root, we will have no parent XRElement; otherwise // we will check to see if our parent was loaded. Since we expect to load // from root to leaves, we should always find a parent // this means, however, that root will have a null parent if ( elem.getOwnerDocument().getDocumentElement() == elem ) { _styleCache = new java.util.HashMap(); parent = new CurrentBoxStyle(_rect); } else { org.w3c.dom.Node pnode = elem.getParentNode(); if(pnode.getNodeType() == org.w3c.dom.Node.ELEMENT_NODE) parent = getCalculatedStyle( (org.w3c.dom.Element) pnode ); if ( parent == null ) { throw new RuntimeException( "Applying matches to elements, found an element with no mapped parent; can't continue." ); } } org.xhtmlrenderer.css.newmatch.CascadedStyle matched = _matcher.getCascadedStyle(elem); CalculatedStyle cs = null; StringBuffer sb = new StringBuffer(); sb.append(parent.hashCode()).append(":").append(matched.hashCode()); String fingerprint = sb.toString(); cs = (CalculatedStyle) _styleCache.get(fingerprint); if(cs == null) { cs = new CalculatedStyle(parent, matched); _styleCache.put(fingerprint, cs); } _styleMap.put( elem, cs ); //System.err.println(elem.getNodeName()+" "+cs); // apply rules from style attribute on element, if any // elementStyling is now responsibility of Matcher org.w3c.dom.NodeList nl = elem.getChildNodes(); for ( int i = 0, len = nl.getLength(); i < len; i++ ) { org.w3c.dom.Node n = nl.item( i ); if ( n.getNodeType() == org.w3c.dom.Node.ELEMENT_NODE ) { restyleTree( (org.w3c.dom.Element)n ); } } }
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/8756fd35e9cd52c9d6dd01377122d574a0c48fc0/Styler.java/buggy/src/java/org/xhtmlrenderer/css/style/Styler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3127, 1362, 2471, 12, 2358, 18, 91, 23, 71, 18, 9859, 18, 1046, 3659, 262, 288, 5411, 15994, 690, 2885, 982, 273, 446, 31, 5411, 368, 309, 333, 353, 326, 1365, 16, 732, 903, 1240, 1158, 982, 1139, 862, 806, 31, 3541, 5411, 368, 732, 903, 866, 358, 2621, 309, 3134, 982, 1703, 4203, 18, 7897, 732, 4489, 358, 1262, 5411, 368, 628, 1365, 358, 15559, 16, 732, 1410, 3712, 1104, 279, 982, 5411, 368, 333, 4696, 16, 14025, 16, 716, 1365, 903, 1240, 279, 446, 982, 5411, 309, 261, 3659, 18, 588, 5541, 2519, 7675, 588, 2519, 1046, 1435, 422, 3659, 262, 288, 7734, 389, 4060, 1649, 273, 394, 2252, 18, 1367, 18, 8658, 5621, 7734, 982, 273, 394, 6562, 3514, 2885, 24899, 2607, 1769, 5411, 289, 469, 288, 7734, 2358, 18, 91, 23, 71, 18, 9859, 18, 907, 293, 2159, 273, 3659, 18, 588, 3054, 907, 5621, 7734, 309, 12, 84, 2159, 18, 588, 15101, 1435, 422, 2358, 18, 91, 23, 71, 18, 9859, 18, 907, 18, 10976, 67, 8744, 13, 982, 273, 22433, 1934, 690, 2885, 12, 261, 3341, 18, 91, 23, 71, 18, 9859, 18, 1046, 13, 293, 2159, 11272, 7734, 309, 261, 982, 422, 446, 262, 288, 10792, 604, 394, 3235, 12, 315, 7001, 310, 1885, 358, 2186, 16, 1392, 392, 930, 598, 1158, 5525, 982, 31, 848, 1404, 1324, 1199, 11272, 7734, 289, 5411, 289, 5411, 2358, 18, 26341, 14374, 18, 5212, 18, 2704, 1916, 18, 39, 3691, 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, 3127, 1362, 2471, 12, 2358, 18, 91, 23, 71, 18, 9859, 18, 1046, 3659, 262, 288, 5411, 15994, 690, 2885, 982, 273, 446, 31, 5411, 368, 309, 333, 353, 326, 1365, 16, 732, 903, 1240, 1158, 982, 1139, 862, 806, 31, 3541, 5411, 368, 732, 903, 866, 358, 2621, 309, 3134, 982, 1703, 4203, 18, 7897, 732, 4489, 358, 1262, 5411, 368, 628, 1365, 358, 15559, 16, 732, 1410, 3712, 1104, 279, 982, 5411, 368, 333, 4696, 16, 14025, 16, 716, 1365, 903, 1240, 279, 446, 982, 5411, 309, 261, 3659, 18, 588, 5541, 2519, 7675, 588, 2519, 1046, 1435, 422, 3659, 262, 288, 7734, 389, 4060, 1649, 273, 394, 2252, 18, 1367, 18, 8658, 5621, 2 ]
for ( int j=0; j < _fields[i].columns.length; j++ )
for ( int j=0; j < _fields[i].columns.length; j++ )
public Object store( Object conn, Object[] fields, Object identity, Object[] original, Object stamp ) throws ObjectModifiedException, ObjectDeletedException, PersistenceException { PreparedStatement stmt = null; int count; try { // Must store record in parent table first. // All other dependents are stored independently. if ( _extends != null ) _extends.store( conn, fields, identity, original, stamp ); stmt = ( (Connection) conn ).prepareStatement( original == null ? _sqlStore : _sqlStoreDirty ); count = 1; // bind fields of the row to be stored into the preparedStatement for ( int i = 0 ; i < _fields.length ; ++i ) { if ( _fields[ i ].store ) { if ( fields[i] == null ) { for ( int j=0; j < _fields[i].columns.length; j++ ) stmt.setNull( count++, _fields[i].columns[j].sqlType ); } else if ( fields[i] instanceof Complex ) { Complex inner = (Complex)fields[i]; if ( inner.size() != _fields[i].columns.length ) throw new PersistenceException( "Size of complex field mismatch!" ); for ( int j=0; j<_fields[i].columns.length; j++ ) { if ( inner == null || inner.get(j) == null ) stmt.setNull( count++, _fields[i].columns[j].sqlType ); else stmt.setObject( count++, toSQL( i, j, inner.get(j)), _fields[i].columns[j].sqlType ); } } else { if ( _fields[i].columns.length != 1 ) throw new PersistenceException( "Complex field expected! "); if ( fields[i] == null ) stmt.setNull( count++, _fields[i].columns[0].sqlType ); else stmt.setObject( count++, toSQL( i, 0, fields[i]), _fields[i].columns[0].sqlType ); } } } // bind the identity of the row to be stored into the preparedStatement if ( identity instanceof Complex ) { Complex id = (Complex) identity; if ( id.size() != _ids.length || _ids.length <= 1 ) throw new PersistenceException( "Size of complex field mismatched!"); for ( int i=0; i<_ids.length; i++ ) stmt.setObject( count++, idToSQL( i, id.get(i) ) ); } else { if ( _ids.length != 1 ) throw new PersistenceException( "Complex field expected!" ); stmt.setObject( count++, idToSQL( 0, identity ) ); } // bind the old fields of the row to be stored into the preparedStatement if ( original != null ) { for ( int i = 0 ; i < _fields.length ; ++i ) { if ( _fields[ i ].store && _fields[i].dirtyCheck ) { if ( original[i] == null ) { for ( int j=0; j < _fields[i].columns.length; j++ ) stmt.setNull( count++, _fields[i].columns[j].sqlType ); } else if ( original[i] instanceof Complex ) { Complex inner = (Complex)original[i]; if ( inner.size() != _fields[i].columns.length ) throw new PersistenceException( "Size of complex field mismatch!" ); for ( int j=0; j<_fields[i].columns.length; j++ ) { if ( inner == null || inner.get(j) == null ) stmt.setNull( count++, _fields[i].columns[j].sqlType ); else stmt.setObject( count++, toSQL( i, j, inner.get(j)), _fields[i].columns[j].sqlType ); } } else { if ( _fields[i].columns.length != 1 ) throw new PersistenceException( "Complex field expected! "); if ( original[i] == null ) stmt.setNull( count++, _fields[i].columns[0].sqlType ); else stmt.setObject( count++, toSQL( i, 0, original[i]), _fields[i].columns[0].sqlType ); } } } } if ( stmt.executeUpdate() <= 0 ) { // SAP DB returns -1 here // If no update was performed, the object has been previously // removed from persistent storage or has been modified if // dirty checking. Determine which is which. stmt.close(); if ( original != null ) { stmt = ( (Connection) conn ).prepareStatement( /*_pkLookup*/_sqlLoad ); // bind the identity to the prepareStatement count = 1; if ( identity instanceof Complex ) { Complex id = (Complex) identity; for ( int i=0; i<_ids.length; i++ ) stmt.setObject( count++, idToSQL( i, id.get(i) ) ); } else { stmt.setObject( count++, idToSQL( 0, identity ) ); } ResultSet res = stmt.executeQuery(); int c = res.getMetaData().getColumnCount(); if ( res.next() ) { stmt.close(); throw new ObjectModifiedException( Messages.format("persist.objectModified", _clsDesc.getJavaClass().getName(), identity ) ); } stmt.close(); } throw new ObjectDeletedException( Messages.format("persist.objectDeleted", _clsDesc.getJavaClass().getName(), identity) ); } stmt.close(); return null; } catch ( SQLException except ) { except.printStackTrace(); try { // Close the insert/select statement if ( stmt != null ) stmt.close(); } catch ( SQLException except2 ) { } throw new PersistenceException( Messages.format("persist.nested", except) ); } }
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/5b575b593103b1bf5287e3f8c280c637f3daebf0/SQLEngine.java/buggy/trunk/castor-2002/castor/src/main/org/exolab/castor/jdo/engine/SQLEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1707, 12, 1033, 1487, 16, 1033, 8526, 1466, 16, 1033, 4215, 16, 12900, 1033, 8526, 2282, 16, 1033, 14429, 262, 3639, 1216, 1033, 4575, 503, 16, 1033, 7977, 503, 16, 13381, 503, 288, 13491, 16913, 3480, 273, 446, 31, 3639, 509, 9079, 1056, 31, 3639, 775, 288, 5411, 368, 6753, 1707, 1409, 316, 982, 1014, 1122, 18, 5411, 368, 4826, 1308, 2447, 4877, 854, 4041, 14807, 715, 18, 5411, 309, 261, 389, 13020, 480, 446, 262, 7734, 389, 13020, 18, 2233, 12, 1487, 16, 1466, 16, 4215, 16, 2282, 16, 14429, 11272, 5411, 3480, 273, 261, 261, 1952, 13, 1487, 262, 18, 9366, 3406, 12, 2282, 422, 446, 692, 389, 4669, 2257, 294, 389, 4669, 2257, 10785, 11272, 5411, 1056, 273, 404, 31, 5411, 368, 1993, 1466, 434, 326, 1027, 358, 506, 4041, 1368, 326, 8208, 3406, 5411, 364, 261, 509, 277, 273, 374, 274, 277, 411, 389, 2821, 18, 2469, 274, 965, 77, 262, 288, 7734, 309, 261, 389, 2821, 63, 277, 308, 18, 2233, 262, 288, 10792, 309, 261, 1466, 63, 77, 65, 422, 446, 262, 288, 13491, 364, 261, 509, 525, 33, 20, 31, 525, 411, 389, 2821, 63, 77, 8009, 5112, 18, 2469, 31, 525, 9904, 262, 11794, 3480, 18, 542, 2041, 12, 1056, 9904, 16, 389, 2821, 63, 77, 8009, 5112, 63, 78, 8009, 4669, 559, 11272, 10792, 289, 469, 309, 261, 1466, 63, 77, 65, 1276, 16060, 262, 288, 13491, 16060, 3443, 273, 261, 12795, 13, 2821, 63, 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, 1707, 12, 1033, 1487, 16, 1033, 8526, 1466, 16, 1033, 4215, 16, 12900, 1033, 8526, 2282, 16, 1033, 14429, 262, 3639, 1216, 1033, 4575, 503, 16, 1033, 7977, 503, 16, 13381, 503, 288, 13491, 16913, 3480, 273, 446, 31, 3639, 509, 9079, 1056, 31, 3639, 775, 288, 5411, 368, 6753, 1707, 1409, 316, 982, 1014, 1122, 18, 5411, 368, 4826, 1308, 2447, 4877, 854, 4041, 14807, 715, 18, 5411, 309, 261, 389, 13020, 480, 446, 262, 7734, 389, 13020, 18, 2233, 12, 1487, 16, 1466, 16, 4215, 16, 2282, 16, 14429, 11272, 5411, 3480, 273, 261, 261, 1952, 13, 1487, 262, 18, 9366, 3406, 12, 2282, 422, 446, 692, 389, 4669, 2257, 294, 389, 4669, 2257, 2 ]
myExpectation.setActual(0.0);
myExpectation.setActual(0.0);
public void testHasNoExpectations() { myExpectation.setActual(0.0); assertTrue("Has no expectations", !myExpectation.hasExpectations()); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/065d08edd62599d5d244a9317db470157690f4f9/ExpectationDoubleValueTest.java/buggy/jmock/core/src/test/jmock/expectation/ExpectationDoubleValueTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5582, 2279, 11988, 1012, 1435, 288, 3639, 3399, 11988, 367, 18, 542, 11266, 12, 20, 18, 20, 1769, 3639, 1815, 5510, 2932, 5582, 1158, 26305, 3113, 7734, 401, 4811, 11988, 367, 18, 5332, 11988, 1012, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5582, 2279, 11988, 1012, 1435, 288, 3639, 3399, 11988, 367, 18, 542, 11266, 12, 20, 18, 20, 1769, 3639, 1815, 5510, 2932, 5582, 1158, 26305, 3113, 7734, 401, 4811, 11988, 367, 18, 5332, 11988, 1012, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
AST tmp926_AST_in = (AST)_t;
AST tmp936_AST_in = (AST)_t;
public final void createwidgetstate(AST _t) throws RecognitionException { AST createwidgetstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t319 = _t; AST tmp914_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALUE: { valueexpression(_t); _t = _retTree; break; } case BUTTON: { AST tmp915_AST_in = (AST)_t; match(_t,BUTTON); _t = _t.getNextSibling(); break; } case COMBOBOX: { AST tmp916_AST_in = (AST)_t; match(_t,COMBOBOX); _t = _t.getNextSibling(); break; } case CONTROLFRAME: { AST tmp917_AST_in = (AST)_t; match(_t,CONTROLFRAME); _t = _t.getNextSibling(); break; } case DIALOGBOX: { AST tmp918_AST_in = (AST)_t; match(_t,DIALOGBOX); _t = _t.getNextSibling(); break; } case EDITOR: { AST tmp919_AST_in = (AST)_t; match(_t,EDITOR); _t = _t.getNextSibling(); break; } case FILLIN: { AST tmp920_AST_in = (AST)_t; match(_t,FILLIN); _t = _t.getNextSibling(); break; } case FRAME: { AST tmp921_AST_in = (AST)_t; match(_t,FRAME); _t = _t.getNextSibling(); break; } case IMAGE: { AST tmp922_AST_in = (AST)_t; match(_t,IMAGE); _t = _t.getNextSibling(); break; } case MENU: { AST tmp923_AST_in = (AST)_t; match(_t,MENU); _t = _t.getNextSibling(); break; } case MENUITEM: { AST tmp924_AST_in = (AST)_t; match(_t,MENUITEM); _t = _t.getNextSibling(); break; } case RADIOSET: { AST tmp925_AST_in = (AST)_t; match(_t,RADIOSET); _t = _t.getNextSibling(); break; } case RECTANGLE: { AST tmp926_AST_in = (AST)_t; match(_t,RECTANGLE); _t = _t.getNextSibling(); break; } case SELECTIONLIST: { AST tmp927_AST_in = (AST)_t; match(_t,SELECTIONLIST); _t = _t.getNextSibling(); break; } case SLIDER: { AST tmp928_AST_in = (AST)_t; match(_t,SLIDER); _t = _t.getNextSibling(); break; } case SUBMENU: { AST tmp929_AST_in = (AST)_t; match(_t,SUBMENU); _t = _t.getNextSibling(); break; } case TEXT: { AST tmp930_AST_in = (AST)_t; match(_t,TEXT); _t = _t.getNextSibling(); break; } case TOGGLEBOX: { AST tmp931_AST_in = (AST)_t; match(_t,TOGGLEBOX); _t = _t.getNextSibling(); break; } case WINDOW: { AST tmp932_AST_in = (AST)_t; match(_t,WINDOW); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } fld(_t,CQ.UPDATING); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case IN_KW: { AST __t322 = _t; AST tmp933_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getFirstChild(); AST tmp934_AST_in = (AST)_t; match(_t,WIDGETPOOL); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t322; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case ASSIGN: case NOERROR_KW: case TRIGGERS: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOERROR_KW: { AST tmp935_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case ASSIGN: case TRIGGERS: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ASSIGN: { assign_opt(_t); _t = _retTree; break; } case EOF: case PERIOD: case TRIGGERS: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TRIGGERS: { triggerphrase(_t); _t = _retTree; break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t319; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 752, 6587, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 752, 6587, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 23, 3657, 273, 389, 88, 31, 202, 202, 9053, 1853, 29, 3461, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 9344, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 5848, 30, 202, 202, 95, 1082, 202, 1132, 8692, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 29947, 30, 202, 202, 95, 1082, 202, 9053, 1853, 29, 3600, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 20068, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 5423, 5315, 16876, 30, 202, 202, 95, 1082, 202, 9053, 1853, 29, 2313, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4208, 5315, 16876, 1769, 1082, 202, 67, 88, 273, 389, 88, 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, 752, 6587, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 752, 6587, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 23, 3657, 273, 389, 88, 31, 202, 202, 9053, 1853, 29, 3461, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 9344, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 2 ]
buf.append('\n');
buf.append('\n');
public String generateSQL(final Segment[] segments, final BitKey bitKey, final boolean isDistinct) { // Check if using aggregates is enabled. if (MondrianProperties.instance().getUseAggregates()) { RolapStar star = segments[0].aggregation.getStar(); // Does any aggregate table match the current query AggStar aggStar = star.select(bitKey); if (aggStar != null) { // Got a match, hot damn if (getLogger().isDebugEnabled()) { StringBuffer buf = new StringBuffer(256); buf.append("MATCH: "); buf.append('\n'); buf.append(" bitKey="); buf.append(bitKey); buf.append('\n'); buf.append(" bitkey="); buf.append(aggStar.getBitKey()); buf.append('\n'); buf.append("AggStar="); buf.append(aggStar.getFactTable().getName()); buf.append('\n'); for (Iterator it = aggStar.getFactTable().getColumns(); it.hasNext(); ) { AggStar.Table.Column column = (AggStar.Table.Column) it.next(); buf.append(" "); buf.append(column); buf.append('\n'); } getLogger().debug(buf.toString()); } AggQuerySpec aggQuerySpec = new AggQuerySpec(aggStar, segments, isDistinct); String sql = aggQuerySpec.generateSqlQuery(); return sql; } // No match, fall through and use fact table. } if (getLogger().isDebugEnabled()) { RolapStar star = segments[0].aggregation.getStar(); StringBuffer buf = new StringBuffer(256); buf.append("NO MATCH: "); buf.append('\n'); buf.append(" bitKey="); buf.append(bitKey); buf.append('\n'); buf.append(star.getFactTable().getAlias()); buf.append('\n'); getLogger().debug(buf.toString()); } // Fact table query SegmentArrayQuerySpec spec = new SegmentArrayQuerySpec(segments, isDistinct); String sql = spec.generateSqlQuery(); return sql; }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/04e646f31dd5b7942980cee630c94f49bdab0e26/AggregationManager.java/buggy/src/main/mondrian/rolap/agg/AggregationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2103, 3997, 12, 6385, 10807, 8526, 5155, 16, 1171, 9079, 727, 6539, 653, 2831, 653, 16, 17311, 727, 1250, 353, 23402, 13, 288, 3639, 368, 2073, 309, 1450, 29389, 353, 3696, 18, 3639, 309, 261, 49, 1434, 566, 304, 2297, 18, 1336, 7675, 588, 3727, 30808, 10756, 288, 5411, 11714, 438, 18379, 10443, 273, 5155, 63, 20, 8009, 22082, 18, 588, 18379, 5621, 5411, 368, 9637, 1281, 7047, 1014, 845, 326, 783, 843, 5411, 25618, 18379, 10421, 18379, 273, 10443, 18, 4025, 12, 3682, 653, 1769, 5411, 309, 261, 17535, 18379, 480, 446, 13, 288, 7734, 368, 19578, 279, 845, 16, 12811, 302, 301, 82, 7734, 309, 261, 588, 3328, 7675, 291, 2829, 1526, 10756, 288, 10792, 6674, 1681, 273, 394, 6674, 12, 5034, 1769, 10792, 1681, 18, 6923, 2932, 11793, 30, 315, 1769, 10792, 1681, 18, 6923, 2668, 64, 82, 8284, 5397, 1681, 18, 6923, 2932, 225, 2831, 653, 1546, 1769, 5397, 1681, 18, 6923, 12, 3682, 653, 1769, 5397, 1681, 18, 6923, 2668, 64, 82, 8284, 5397, 1681, 18, 6923, 2932, 225, 2831, 856, 1546, 1769, 10792, 1681, 18, 6923, 12, 17535, 18379, 18, 588, 5775, 653, 10663, 10792, 1681, 18, 6923, 2668, 64, 82, 8284, 5397, 1681, 18, 6923, 2932, 17139, 18379, 1546, 1769, 10792, 1681, 18, 6923, 12, 17535, 18379, 18, 588, 9766, 1388, 7675, 17994, 10663, 10792, 1681, 18, 6923, 2668, 64, 82, 8284, 5397, 364, 261, 3198, 518, 273, 10421, 18379, 18, 588, 9766, 1388, 7675, 588, 3380, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2103, 3997, 12, 6385, 10807, 8526, 5155, 16, 1171, 9079, 727, 6539, 653, 2831, 653, 16, 17311, 727, 1250, 353, 23402, 13, 288, 3639, 368, 2073, 309, 1450, 29389, 353, 3696, 18, 3639, 309, 261, 49, 1434, 566, 304, 2297, 18, 1336, 7675, 588, 3727, 30808, 10756, 288, 5411, 11714, 438, 18379, 10443, 273, 5155, 63, 20, 8009, 22082, 18, 588, 18379, 5621, 5411, 368, 9637, 1281, 7047, 1014, 845, 326, 783, 843, 5411, 25618, 18379, 10421, 18379, 273, 10443, 18, 4025, 12, 3682, 653, 1769, 5411, 309, 261, 17535, 18379, 480, 446, 13, 288, 7734, 368, 19578, 279, 845, 16, 12811, 302, 301, 82, 7734, 309, 261, 588, 3328, 7675, 291, 2829, 1526, 10756, 288, 2 ]
MylarPlugin.log("null bridge for marker: " + resource.getClass(), this);
ErrorLogger.log("null bridge for marker: " + resource.getClass(), this);
public String getHandleForOffsetInObject(Object resource, int offset) { MylarPlugin.log("null bridge for marker: " + resource.getClass(), this); return null; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/6e4c36ce82823e91011a538b1e18917054cfdf11/MylarPlugin.java/clean/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/MylarPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 514, 26298, 1290, 2335, 382, 921, 12, 921, 1058, 16, 509, 1384, 13, 288, 1082, 202, 12062, 7901, 3773, 18, 1330, 2932, 2011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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 514, 26298, 1290, 2335, 382, 921, 12, 921, 1058, 16, 509, 1384, 13, 288, 1082, 202, 12062, 7901, 3773, 18, 1330, 2932, 2011, 10105, 364, 5373, 30, 315, 397, 1058, 18, 588, 797, 9334, 333, 1769, 1082, 202, 2463, 446, 31, 202, 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 ]
StendhalRPZone entranceZone = (StendhalRPZone) StendhalRPWorld.get().getRPZone(new IRPZone.ID(entranceZoneName));
entranceZone = (StendhalRPZone) StendhalRPWorld.get().getRPZone(new IRPZone.ID(entranceZoneName));
private void step1CreateDoors() { // 0_semos_mountain_n2 at (95,101) String entranceZoneName = "0_semos_mountain_n2"; StendhalRPZone entranceZone = (StendhalRPZone) StendhalRPWorld.get().getRPZone(new IRPZone.ID(entranceZoneName)); door = new NotifingDoor("housedoor", Direction.DOWN); entranceZone.assignRPObjectID(door); door.setX(95); door.setY(101); door.setNumber(0); door.setDestination(ZONE_NAME, 0); entranceZone.addPortal(door); exit = new Portal(); zone.assignRPObjectID(exit); exit.setX(5); exit.setY(3); exit.setNumber(0); exit.setDestination(entranceZoneName, 0); zone.addPortal(exit); }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/22c9159feb9ef78040f26a35379b33db8f3d54d3/ReverseArrow.java/buggy/src/games/stendhal/server/maps/quests/ReverseArrow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2235, 21, 1684, 3244, 1383, 1435, 288, 202, 202, 759, 374, 67, 12000, 538, 67, 4778, 530, 67, 82, 22, 622, 261, 8778, 16, 15168, 13, 202, 202, 780, 31976, 1359, 4226, 461, 273, 315, 20, 67, 12000, 538, 67, 4778, 530, 67, 82, 22, 14432, 3196, 202, 510, 409, 22314, 54, 52, 4226, 31976, 1359, 4226, 273, 261, 510, 409, 22314, 54, 52, 4226, 13, 934, 409, 22314, 54, 52, 18071, 18, 588, 7675, 588, 54, 52, 4226, 12, 2704, 15908, 52, 4226, 18, 734, 12, 8230, 1359, 4226, 461, 10019, 202, 202, 2896, 280, 273, 394, 2288, 430, 310, 3244, 280, 2932, 76, 21414, 83, 280, 3113, 15280, 18, 12711, 1769, 202, 202, 8230, 1359, 4226, 18, 6145, 54, 52, 22359, 12, 2896, 280, 1769, 202, 202, 2896, 280, 18, 542, 60, 12, 8778, 1769, 202, 202, 2896, 280, 18, 542, 61, 12, 15168, 1769, 202, 202, 2896, 280, 18, 542, 1854, 12, 20, 1769, 202, 202, 2896, 280, 18, 542, 5683, 12, 20725, 67, 1985, 16, 374, 1769, 202, 202, 8230, 1359, 4226, 18, 1289, 24395, 12, 2896, 280, 1769, 202, 202, 8593, 273, 394, 25478, 5621, 202, 202, 3486, 18, 6145, 54, 52, 22359, 12, 8593, 1769, 202, 202, 8593, 18, 542, 60, 12, 25, 1769, 202, 202, 8593, 18, 542, 61, 12, 23, 1769, 202, 202, 8593, 18, 542, 1854, 12, 20, 1769, 202, 202, 8593, 18, 542, 5683, 12, 8230, 1359, 4226, 461, 16, 374, 1769, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2235, 21, 1684, 3244, 1383, 1435, 288, 202, 202, 759, 374, 67, 12000, 538, 67, 4778, 530, 67, 82, 22, 622, 261, 8778, 16, 15168, 13, 202, 202, 780, 31976, 1359, 4226, 461, 273, 315, 20, 67, 12000, 538, 67, 4778, 530, 67, 82, 22, 14432, 3196, 202, 510, 409, 22314, 54, 52, 4226, 31976, 1359, 4226, 273, 261, 510, 409, 22314, 54, 52, 4226, 13, 934, 409, 22314, 54, 52, 18071, 18, 588, 7675, 588, 54, 52, 4226, 12, 2704, 15908, 52, 4226, 18, 734, 12, 8230, 1359, 4226, 461, 10019, 202, 202, 2896, 280, 273, 394, 2288, 430, 310, 3244, 280, 2932, 76, 21414, 83, 280, 3113, 15280, 18, 12711, 1769, 202, 202, 2 ]
MyTimer() { super(TIMER_DELAY, null); addActionListener(this); setRepeats(true); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 8005, 6777, 1435, 95, 9565, 12, 56, 31582, 67, 26101, 16, 2011, 1769, 1289, 1803, 2223, 12, 2211, 1769, 542, 426, 347, 2323, 12, 3767, 1769, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 8005, 6777, 1435, 95, 9565, 12, 56, 31582, 67, 26101, 16, 2011, 1769, 1289, 1803, 2223, 12, 2211, 1769, 542, 426, 347, 2323, 12, 3767, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
/* TODO Write this to take Type[]
void createStruct(String name, Type[] type, String pack, PrintStream out, Map<StructStruct, Type[]> existing) throws DBusException, IOException { /* TODO Write this to take Type[] out.println("package "+pack+";"); Set<String> imports = new TreeSet<String>(); imports.add("org.freedesktop.dbus.Position"); imports.add("org.freedesktop.dbus.Struct"); Map<StructStruct, Type[]> structs = new HashMap<StructStruct, Type[]>(existing); Vector<String> types = new Vector<String>(); String s = type; for (int i = 0; i < s.length(); i++) { switch (s.charAt(i)) { case 'a': //TODO types.add(DBusConnection.getJavaType(s.substring(i), imports, structs, true, false)); if ('{' == s.charAt(i+1)) { int c = 1; int j; for (j = i+2; c > 0; j++) switch (s.charAt(j)) { case '{': c++; break; case '}': c--; break; } i = j; } else i++; break; case '(': //TODO types.add(DBusConnection.getJavaType(s.substring(i), imports, structs, true, false)); int c = 1; int j; for (j = i+1; c > 0; j++) switch (s.charAt(j)) { case '(': c++; break; case ')': c--; break; } i = j; break; default: //TODO types.add(DBusConnection.getJavaType(s.substring(i,i+1), imports, structs, true, false)); } } for (String im: imports) out.println("import "+im+";"); out.println("public final class "+name+" extends Struct"); out.println("{"); int i = 0; char c = 'a'; String params = ""; for (String t: types) { out.println(" @Position("+i++ +")"); out.println(" public final "+t+" "+c+";"); params += t+" "+c+", "; c++; } out.println(" public "+name+"("+params.replaceAll("..$", "")+")"); out.println(" {"); for (char d = 'a'; d < c; d++) out.println(" this."+d+" = "+d+";"); out.println(" }"); out.println("}"); structs = StructStruct.fillPackages(structs, pack); Map<StructStruct, Type[]> tocreate = new HashMap<StructStruct, Type[]>(structs); for (StructStruct ss: existing.keySet()) tocreate.remove(ss); createStructs(tocreate, structs);*/ }
5401 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5401/97f82b4b9c5d5345097395c5f610dbd0dd9b8772/CreateInterface.java/buggy/org/freedesktop/dbus/CreateInterface.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 752, 3823, 12, 780, 508, 16, 1412, 8526, 618, 16, 514, 2298, 16, 21677, 596, 16, 1635, 32, 3823, 3823, 16, 1412, 8526, 34, 2062, 13, 1216, 2383, 407, 503, 16, 1860, 282, 288, 5411, 596, 18, 8222, 2932, 5610, 13773, 2920, 9078, 4868, 1769, 1377, 1000, 32, 780, 34, 10095, 273, 394, 19461, 32, 780, 34, 5621, 1377, 10095, 18, 1289, 2932, 3341, 18, 74, 15656, 281, 11869, 18, 1966, 407, 18, 2555, 8863, 1377, 10095, 18, 1289, 2932, 3341, 18, 74, 15656, 281, 11869, 18, 1966, 407, 18, 3823, 8863, 1377, 1635, 32, 3823, 3823, 16, 1412, 8526, 34, 8179, 273, 394, 4317, 32, 3823, 3823, 16, 1412, 8526, 34, 12, 11711, 1769, 1377, 5589, 32, 780, 34, 1953, 273, 394, 5589, 32, 780, 34, 5621, 5411, 514, 272, 273, 618, 31, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 272, 18, 2469, 5621, 277, 27245, 288, 540, 1620, 261, 87, 18, 3001, 861, 12, 77, 3719, 288, 5411, 648, 296, 69, 4278, 9079, 368, 6241, 1953, 18, 1289, 12, 2290, 407, 1952, 18, 588, 31819, 12, 87, 18, 28023, 12, 77, 3631, 10095, 16, 8179, 16, 638, 16, 629, 10019, 9079, 309, 7707, 27828, 422, 272, 18, 3001, 861, 12, 77, 15, 21, 3719, 225, 288, 5375, 509, 276, 273, 404, 31, 5375, 509, 525, 31, 5375, 364, 261, 78, 273, 277, 15, 22, 31, 276, 405, 374, 31, 525, 27245, 5397, 1620, 261, 87, 18, 3001, 861, 12, 78, 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, 918, 752, 3823, 12, 780, 508, 16, 1412, 8526, 618, 16, 514, 2298, 16, 21677, 596, 16, 1635, 32, 3823, 3823, 16, 1412, 8526, 34, 2062, 13, 1216, 2383, 407, 503, 16, 1860, 282, 288, 5411, 596, 18, 8222, 2932, 5610, 13773, 2920, 9078, 4868, 1769, 1377, 1000, 32, 780, 34, 10095, 273, 394, 19461, 32, 780, 34, 5621, 1377, 10095, 18, 1289, 2932, 3341, 18, 74, 15656, 281, 11869, 18, 1966, 407, 18, 2555, 8863, 1377, 10095, 18, 1289, 2932, 3341, 18, 74, 15656, 281, 11869, 18, 1966, 407, 18, 3823, 8863, 1377, 1635, 32, 3823, 3823, 16, 1412, 8526, 34, 8179, 273, 394, 4317, 32, 3823, 3823, 16, 1412, 8526, 34, 12, 11711, 1769, 1377, 5589, 2 ]
int contentsLength; if (localContentsOffset + 50 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength);
if (localContentsOffset + 50 >= this.contents.length) { resizePoolContents(50);
public void completeCodeAttributeForProblemMethod( AbstractMethodDeclaration method, MethodBinding binding, int codeAttributeOffset, int[] startLineIndexes) { // reinitialize the localContents with the byte modified by the code stream byte[] localContents = contents = codeStream.bCodeStream; int localContentsOffset = codeStream.classFileOffset; // codeAttributeOffset is the position inside localContents byte array before we started to write// any information about the codeAttribute// That means that to write the attribute_length you need to offset by 2 the value of codeAttributeOffset// to get the right position, 6 for the max_stack etc... int max_stack = codeStream.stackMax; localContents[codeAttributeOffset + 6] = (byte) (max_stack >> 8); localContents[codeAttributeOffset + 7] = (byte) max_stack; int max_locals = codeStream.maxLocals; localContents[codeAttributeOffset + 8] = (byte) (max_locals >> 8); localContents[codeAttributeOffset + 9] = (byte) max_locals; int code_length = codeStream.position; localContents[codeAttributeOffset + 10] = (byte) (code_length >> 24); localContents[codeAttributeOffset + 11] = (byte) (code_length >> 16); localContents[codeAttributeOffset + 12] = (byte) (code_length >> 8); localContents[codeAttributeOffset + 13] = (byte) code_length; // write the exception table int contentsLength; if (localContentsOffset + 50 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } // write the exception table localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = 0; // debug attributes int codeAttributeAttributeOffset = localContentsOffset; int attributeNumber = 0; // leave two bytes for the attribute_length localContentsOffset += 2; // first we handle the linenumber attribute if (codeStream.generateLineNumberAttributes) { if (localContentsOffset + 20 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } /* Create and add the line number attribute (used for debugging) * Build the pairs of: * (bytecodePC lineNumber) * according to the table of start line indexes and the pcToSourceMap table * contained into the codestream */ int lineNumberNameIndex = constantPool.literalIndex(AttributeNamesConstants.LineNumberTableName); localContents[localContentsOffset++] = (byte) (lineNumberNameIndex >> 8); localContents[localContentsOffset++] = (byte) lineNumberNameIndex; localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = 6; localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = 1; if (problemLine == 0) { problemLine = searchLineNumber(startLineIndexes, binding.sourceStart()); } // first entry at pc = 0 localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = (byte) (problemLine >> 8); localContents[localContentsOffset++] = (byte) problemLine; // now we change the size of the line number attribute attributeNumber++; } // then we do the local variable attribute if (codeStream.generateLocalVariableTableAttributes) { // compute the resolved position for the arguments of the method int argSize; int localVariableTableOffset = localContentsOffset; int numberOfEntries = 0; // codeAttribute.addLocalVariableTableAttribute(this); int localVariableNameIndex = constantPool.literalIndex(AttributeNamesConstants.LocalVariableTableName); if (localContentsOffset + 8 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } localContents[localContentsOffset++] = (byte) (localVariableNameIndex >> 8); localContents[localContentsOffset++] = (byte) localVariableNameIndex; localContentsOffset += 6; // leave space for attribute_length and local_variable_table_length int descriptorIndex; if (!codeStream.methodDeclaration.isStatic()) { numberOfEntries++; if (localContentsOffset + 10 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = (byte) (code_length >> 8); localContents[localContentsOffset++] = (byte) code_length; int nameIndex = constantPool.literalIndex(QualifiedNamesConstants.This); localContents[localContentsOffset++] = (byte) (nameIndex >> 8); localContents[localContentsOffset++] = (byte) nameIndex; descriptorIndex = constantPool.literalIndex( codeStream.methodDeclaration.binding.declaringClass.signature()); localContents[localContentsOffset++] = (byte) (descriptorIndex >> 8); localContents[localContentsOffset++] = (byte) descriptorIndex; // the resolved position for this is always 0 localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = 0; } if (binding.isConstructor()) { ReferenceBinding declaringClass = binding.declaringClass; if (declaringClass.isNestedType()) { NestedTypeBinding methodDeclaringClass = (NestedTypeBinding) declaringClass; argSize = methodDeclaringClass.enclosingInstancesSlotSize; SyntheticArgumentBinding[] syntheticArguments; if ((syntheticArguments = methodDeclaringClass.syntheticEnclosingInstances()) != null) { for (int i = 0, max = syntheticArguments.length; i < max; i++) { LocalVariableBinding localVariable = syntheticArguments[i]; if (localContentsOffset + 10 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } // now we can safely add the local entry numberOfEntries++; localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = (byte) (code_length >> 8); localContents[localContentsOffset++] = (byte) code_length; int nameIndex = constantPool.literalIndex(localVariable.name); localContents[localContentsOffset++] = (byte) (nameIndex >> 8); localContents[localContentsOffset++] = (byte) nameIndex; descriptorIndex = constantPool.literalIndex(localVariable.type.signature()); localContents[localContentsOffset++] = (byte) (descriptorIndex >> 8); localContents[localContentsOffset++] = (byte) descriptorIndex; int resolvedPosition = localVariable.resolvedPosition; localContents[localContentsOffset++] = (byte) (resolvedPosition >> 8); localContents[localContentsOffset++] = (byte) resolvedPosition; } } } else { argSize = 1; } } else { argSize = binding.isStatic() ? 0 : 1; } if (method.binding != null) { TypeBinding[] parameters = method.binding.parameters; Argument[] arguments = method.arguments; if ((parameters != null) && (arguments != null)) { for (int i = 0, max = parameters.length; i < max; i++) { TypeBinding argumentBinding = parameters[i]; if (localContentsOffset + 10 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } // now we can safely add the local entry numberOfEntries++; localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = (byte) (code_length >> 8); localContents[localContentsOffset++] = (byte) code_length; int nameIndex = constantPool.literalIndex(arguments[i].name); localContents[localContentsOffset++] = (byte) (nameIndex >> 8); localContents[localContentsOffset++] = (byte) nameIndex; descriptorIndex = constantPool.literalIndex(argumentBinding.signature()); localContents[localContentsOffset++] = (byte) (descriptorIndex >> 8); localContents[localContentsOffset++] = (byte) descriptorIndex; int resolvedPosition = argSize; if ((argumentBinding == BaseTypes.LongBinding) || (argumentBinding == BaseTypes.DoubleBinding)) argSize += 2; else argSize++; localContents[localContentsOffset++] = (byte) (resolvedPosition >> 8); localContents[localContentsOffset++] = (byte) resolvedPosition; } } } int value = numberOfEntries * 10 + 2; localVariableTableOffset += 2; localContents[localVariableTableOffset++] = (byte) (value >> 24); localContents[localVariableTableOffset++] = (byte) (value >> 16); localContents[localVariableTableOffset++] = (byte) (value >> 8); localContents[localVariableTableOffset++] = (byte) value; localContents[localVariableTableOffset++] = (byte) (numberOfEntries >> 8); localContents[localVariableTableOffset] = (byte) numberOfEntries; attributeNumber++; } // update the number of attributes// ensure first that there is enough space available inside the localContents array if (codeAttributeAttributeOffset + 2 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } localContents[codeAttributeAttributeOffset++] = (byte) (attributeNumber >> 8); localContents[codeAttributeAttributeOffset] = (byte) attributeNumber; // update the attribute length int codeAttributeLength = localContentsOffset - (codeAttributeOffset + 6); localContents[codeAttributeOffset + 2] = (byte) (codeAttributeLength >> 24); localContents[codeAttributeOffset + 3] = (byte) (codeAttributeLength >> 16); localContents[codeAttributeOffset + 4] = (byte) (codeAttributeLength >> 8); localContents[codeAttributeOffset + 5] = (byte) codeAttributeLength; contentsOffset = localContentsOffset; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/3a562aaf09f9f323b583086b80b4683378886606/ClassFile.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3912, 1085, 1499, 1290, 13719, 1305, 12, 202, 202, 7469, 1305, 6094, 707, 16, 202, 202, 1305, 5250, 5085, 16, 202, 202, 474, 981, 1499, 2335, 16, 202, 202, 474, 8526, 24636, 8639, 13, 288, 202, 202, 759, 283, 11160, 326, 1191, 6323, 598, 326, 1160, 4358, 635, 326, 981, 1407, 202, 202, 7229, 8526, 1191, 6323, 273, 2939, 273, 981, 1228, 18, 70, 1085, 1228, 31, 202, 202, 474, 1191, 6323, 2335, 273, 981, 1228, 18, 1106, 812, 2335, 31, 202, 202, 759, 981, 1499, 2335, 353, 326, 1754, 4832, 1191, 6323, 1160, 526, 1865, 732, 5746, 358, 1045, 759, 1281, 1779, 2973, 326, 981, 1499, 759, 12466, 4696, 716, 358, 1045, 326, 1566, 67, 2469, 1846, 1608, 358, 1384, 635, 576, 326, 460, 434, 981, 1499, 2335, 759, 358, 336, 326, 2145, 1754, 16, 1666, 364, 326, 943, 67, 3772, 5527, 2777, 202, 202, 474, 943, 67, 3772, 273, 981, 1228, 18, 3772, 2747, 31, 202, 202, 3729, 6323, 63, 710, 1499, 2335, 397, 1666, 65, 273, 261, 7229, 13, 261, 1896, 67, 3772, 1671, 1725, 1769, 202, 202, 3729, 6323, 63, 710, 1499, 2335, 397, 2371, 65, 273, 261, 7229, 13, 943, 67, 3772, 31, 202, 202, 474, 943, 67, 17977, 273, 981, 1228, 18, 1896, 1333, 1031, 31, 202, 202, 3729, 6323, 63, 710, 1499, 2335, 397, 1725, 65, 273, 261, 7229, 13, 261, 1896, 67, 17977, 1671, 1725, 1769, 202, 202, 3729, 6323, 63, 710, 1499, 2335, 397, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3912, 1085, 1499, 1290, 13719, 1305, 12, 202, 202, 7469, 1305, 6094, 707, 16, 202, 202, 1305, 5250, 5085, 16, 202, 202, 474, 981, 1499, 2335, 16, 202, 202, 474, 8526, 24636, 8639, 13, 288, 202, 202, 759, 283, 11160, 326, 1191, 6323, 598, 326, 1160, 4358, 635, 326, 981, 1407, 202, 202, 7229, 8526, 1191, 6323, 273, 2939, 273, 981, 1228, 18, 70, 1085, 1228, 31, 202, 202, 474, 1191, 6323, 2335, 273, 981, 1228, 18, 1106, 812, 2335, 31, 202, 202, 759, 981, 1499, 2335, 353, 326, 1754, 4832, 1191, 6323, 1160, 526, 1865, 732, 5746, 358, 1045, 759, 1281, 1779, 2973, 326, 981, 1499, 759, 12466, 4696, 716, 358, 1045, 326, 1566, 2 ]
public static List getElements(Element elem, String path) { List list = new ArrayList(); if (elem == null) return list; int ndx = path.indexOf("/"); if (ndx != -1) { Element child = getElement(elem, path.substring(0, ndx)); return getElements(child, path.substring(ndx + 1)); } NodeList nl = elem.getChildNodes(); for (int i = 0, len = nl.getLength(); i < len; i++) { Node node = nl.item(i); if (node.getNodeType() == Node.ELEMENT_NODE && node.getNodeName().equals(path)) { list.add(node); } } return list; }
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/6c6a574b8da6a8f7989e99ea78e4db5cb63abe6b/Util.java/buggy/tag-doc/src/java/org/apache/struts/taskdefs/Util.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3845, 682, 588, 3471, 12, 1046, 10037, 16, 780, 803, 15329, 202, 202, 682, 1098, 33, 2704, 19558, 5621, 202, 202, 430, 12, 10037, 631, 2011, 13, 1082, 202, 2463, 1098, 31, 202, 202, 474, 4880, 92, 33, 803, 18, 31806, 2932, 4898, 1769, 202, 202, 430, 12, 4880, 92, 5, 29711, 21, 15329, 1082, 202, 1046, 3624, 33, 21336, 12, 10037, 16, 803, 18, 28023, 12, 20, 16, 4880, 92, 10019, 1082, 202, 2463, 588, 3471, 12, 3624, 16, 803, 18, 28023, 12, 4880, 92, 15, 21, 10019, 202, 202, 97, 202, 202, 19914, 14039, 33, 10037, 18, 588, 22460, 5621, 202, 202, 1884, 12, 474, 77, 33, 20, 16, 1897, 33, 14039, 18, 588, 1782, 5621, 77, 32, 1897, 31, 77, 27245, 95, 1082, 202, 50, 369, 20680, 33, 14039, 18, 1726, 12, 77, 1769, 1082, 202, 430, 12, 2159, 18, 588, 15101, 1435, 631, 907, 18, 10976, 67, 8744, 9506, 202, 10, 10, 2159, 18, 588, 18948, 7675, 14963, 12, 803, 3719, 95, 9506, 202, 1098, 18, 1289, 12, 2159, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 1098, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3845, 682, 588, 3471, 12, 1046, 10037, 16, 780, 803, 15329, 202, 202, 682, 1098, 33, 2704, 19558, 5621, 202, 202, 430, 12, 10037, 631, 2011, 13, 1082, 202, 2463, 1098, 31, 202, 202, 474, 4880, 92, 33, 803, 18, 31806, 2932, 4898, 1769, 202, 202, 430, 12, 4880, 92, 5, 29711, 21, 15329, 1082, 202, 1046, 3624, 33, 21336, 12, 10037, 16, 803, 18, 28023, 12, 20, 16, 4880, 92, 10019, 1082, 202, 2463, 588, 3471, 12, 3624, 16, 803, 18, 28023, 12, 4880, 92, 15, 21, 10019, 202, 202, 97, 202, 202, 19914, 14039, 33, 10037, 18, 588, 22460, 5621, 202, 202, 1884, 12, 474, 77, 33, 20, 16, 1897, 33, 14039, 18, 588, 2 ]
ExpandableComposite expandable = toolkit.createExpandableComposite(form .getBody(), ExpandableComposite.TWISTIE);
GridData layoutData = new GridData(SWT.FILL, SWT.FILL, true, true); form.setLayoutData(layoutData); final ExpandableComposite expandable = toolkit .createExpandableComposite(form.getBody(), ExpandableComposite.TWISTIE);
private void createSettingsControls(Composite workArea) { FormToolkit toolkit = new FormToolkit(workArea.getDisplay()); final ScrolledForm form = toolkit.createScrolledForm(workArea); form.setBackground(workArea.getBackground()); form.getBody().setLayout(new GridLayout()); form.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); ExpandableComposite expandable = toolkit.createExpandableComposite(form .getBody(), ExpandableComposite.TWISTIE); expandable .setText(IDEWorkbenchMessages.ChooseWorkspaceWithSettingsDialog_SettingsGroupName); expandable.setBackground(workArea.getBackground()); expandable.setLayout(new GridLayout()); expandable.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); expandable.addExpansionListener(new IExpansionListener() { /* * (non-Javadoc) * * @see org.eclipse.ui.forms.events.IExpansionListener#expansionStateChanged(org.eclipse.ui.forms.events.ExpansionEvent) */ public void expansionStateChanged(ExpansionEvent e) { form.reflow(true); } /* * (non-Javadoc) * * @see org.eclipse.ui.forms.events.IExpansionListener#expansionStateChanging(org.eclipse.ui.forms.events.ExpansionEvent) */ public void expansionStateChanging(ExpansionEvent e) { // Nothing to do here } }); Composite sectionClient = toolkit.createComposite(expandable); sectionClient.setLayout(new GridLayout()); sectionClient.setBackground(workArea.getBackground()); createButtons(toolkit, sectionClient); expandable.setClient(sectionClient); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1f449565d285a6c2e20ccce1d406bbee3c399fc9/ChooseWorkspaceWithSettingsDialog.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/ChooseWorkspaceWithSettingsDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 2628, 16795, 12, 9400, 1440, 5484, 13, 288, 202, 202, 1204, 6364, 8691, 5226, 8691, 273, 394, 2748, 6364, 8691, 12, 1252, 5484, 18, 588, 4236, 10663, 202, 202, 6385, 2850, 25054, 1204, 646, 273, 5226, 8691, 18, 2640, 1541, 25054, 1204, 12, 1252, 5484, 1769, 202, 202, 687, 18, 542, 8199, 12, 1252, 5484, 18, 588, 8199, 10663, 202, 202, 687, 18, 588, 2250, 7675, 542, 3744, 12, 2704, 7145, 3744, 10663, 202, 202, 687, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 55, 8588, 18, 29818, 16, 348, 8588, 18, 29818, 16, 638, 16, 638, 10019, 202, 202, 12271, 429, 9400, 4542, 429, 273, 5226, 8691, 18, 2640, 12271, 429, 9400, 12, 687, 9506, 202, 18, 588, 2250, 9334, 16429, 429, 9400, 18, 18869, 5511, 8732, 1769, 202, 202, 12320, 429, 9506, 202, 18, 542, 1528, 12, 10385, 2421, 22144, 5058, 18, 24529, 8241, 1190, 2628, 6353, 67, 2628, 3943, 1769, 202, 202, 12320, 429, 18, 542, 8199, 12, 1252, 5484, 18, 588, 8199, 10663, 202, 202, 12320, 429, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 202, 202, 12320, 429, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 55, 8588, 18, 29818, 16, 348, 8588, 18, 29818, 16, 638, 16, 638, 10019, 202, 202, 12320, 429, 18, 1289, 2966, 12162, 2223, 12, 2704, 467, 2966, 12162, 2223, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 2628, 16795, 12, 9400, 1440, 5484, 13, 288, 202, 202, 1204, 6364, 8691, 5226, 8691, 273, 394, 2748, 6364, 8691, 12, 1252, 5484, 18, 588, 4236, 10663, 202, 202, 6385, 2850, 25054, 1204, 646, 273, 5226, 8691, 18, 2640, 1541, 25054, 1204, 12, 1252, 5484, 1769, 202, 202, 687, 18, 542, 8199, 12, 1252, 5484, 18, 588, 8199, 10663, 202, 202, 687, 18, 588, 2250, 7675, 542, 3744, 12, 2704, 7145, 3744, 10663, 202, 202, 687, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 55, 8588, 18, 29818, 16, 348, 8588, 18, 29818, 16, 638, 16, 638, 10019, 202, 202, 12271, 429, 9400, 4542, 429, 273, 5226, 8691, 18, 2640, 12271, 429, 9400, 2 ]
new NoViableAltException("381:25: ( IDENT )?", 37, 0, input);
new NoViableAltException("481:25: ( IDENT )?", 37, 0, input);
public void statement() throws RecognitionException { try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:336:17: ( compoundStatement | declaration SEMI | expression SEMI | modifiers classDefinition | IDENT COLON statement | 'if' LPAREN expression RPAREN statement ( 'else' statement )? | 'for' LPAREN forInit SEMI forCond SEMI forIter RPAREN statement | 'while' LPAREN expression RPAREN statement | 'do' statement 'while' LPAREN expression RPAREN SEMI | 'break' ( IDENT )? SEMI | 'continue' ( IDENT )? SEMI | 'return' ( expression )? SEMI | 'switch' LPAREN expression RPAREN LCURLY ( casesGroup )* RCURLY | tryBlock | 'throw' expression SEMI | 'synchronized' LPAREN expression RPAREN compoundStatement | SEMI ) int alt41=17; alt41 = dfa41.predict(input); switch (alt41) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:336:17: compoundStatement { following.push(FOLLOW_compoundStatement_in_statement1216); compoundStatement(); following.pop(); } break; case 2 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:343:17: declaration SEMI { following.push(FOLLOW_declaration_in_statement1232); declaration(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1234); } break; case 3 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:348:17: expression SEMI { following.push(FOLLOW_expression_in_statement1246); expression(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1248); } break; case 4 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:351:17: modifiers classDefinition { following.push(FOLLOW_modifiers_in_statement1256); modifiers(); following.pop(); following.push(FOLLOW_classDefinition_in_statement1258); classDefinition(); following.pop(); } break; case 5 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:354:17: IDENT COLON statement { match(input,IDENT,FOLLOW_IDENT_in_statement1266); match(input,COLON,FOLLOW_COLON_in_statement1268); following.push(FOLLOW_statement_in_statement1271); statement(); following.pop(); } break; case 6 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:357:17: 'if' LPAREN expression RPAREN statement ( 'else' statement )? { match(input,96,FOLLOW_96_in_statement1279); match(input,LPAREN,FOLLOW_LPAREN_in_statement1281); following.push(FOLLOW_expression_in_statement1283); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1285); following.push(FOLLOW_statement_in_statement1287); statement(); following.pop(); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:358:17: ( 'else' statement )? int alt36=2; int LA36_0 = input.LA(1); if ( LA36_0==97 ) { alt36=1; } else if ( LA36_0==IDENT||(LA36_0>=LCURLY && LA36_0<=RCURLY)||LA36_0==LPAREN||(LA36_0>=PLUS && LA36_0<=MINUS)||(LA36_0>=INC && LA36_0<=NUM_FLOAT)||(LA36_0>=68 && LA36_0<=89)||(LA36_0>=93 && LA36_0<=94)||LA36_0==96||(LA36_0>=98 && LA36_0<=108)||(LA36_0>=112 && LA36_0<=115) ) { alt36=2; } else { NoViableAltException nvae = new NoViableAltException("358:17: ( \'else\' statement )?", 36, 0, input); throw nvae; } switch (alt36) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:362:25: 'else' statement { match(input,97,FOLLOW_97_in_statement1308); following.push(FOLLOW_statement_in_statement1310); statement(); following.pop(); } break; } } break; case 7 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:366:17: 'for' LPAREN forInit SEMI forCond SEMI forIter RPAREN statement { match(input,98,FOLLOW_98_in_statement1323); match(input,LPAREN,FOLLOW_LPAREN_in_statement1328); following.push(FOLLOW_forInit_in_statement1334); forInit(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1336); following.push(FOLLOW_forCond_in_statement1345); forCond(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1347); following.push(FOLLOW_forIter_in_statement1356); forIter(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1370); following.push(FOLLOW_statement_in_statement1375); statement(); following.pop(); } break; case 8 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:375:17: 'while' LPAREN expression RPAREN statement { match(input,99,FOLLOW_99_in_statement1404); match(input,LPAREN,FOLLOW_LPAREN_in_statement1406); following.push(FOLLOW_expression_in_statement1408); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1410); following.push(FOLLOW_statement_in_statement1412); statement(); following.pop(); } break; case 9 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:378:17: 'do' statement 'while' LPAREN expression RPAREN SEMI { match(input,100,FOLLOW_100_in_statement1420); following.push(FOLLOW_statement_in_statement1422); statement(); following.pop(); match(input,99,FOLLOW_99_in_statement1424); match(input,LPAREN,FOLLOW_LPAREN_in_statement1426); following.push(FOLLOW_expression_in_statement1428); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1430); match(input,SEMI,FOLLOW_SEMI_in_statement1432); } break; case 10 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:17: 'break' ( IDENT )? SEMI { match(input,101,FOLLOW_101_in_statement1440); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:25: ( IDENT )? int alt37=2; int LA37_0 = input.LA(1); if ( LA37_0==IDENT ) { alt37=1; } else if ( LA37_0==SEMI ) { alt37=2; } else { NoViableAltException nvae = new NoViableAltException("381:25: ( IDENT )?", 37, 0, input); throw nvae; } switch (alt37) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:26: IDENT { match(input,IDENT,FOLLOW_IDENT_in_statement1443); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1447); } break; case 11 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:17: 'continue' ( IDENT )? SEMI { match(input,102,FOLLOW_102_in_statement1455); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:28: ( IDENT )? int alt38=2; int LA38_0 = input.LA(1); if ( LA38_0==IDENT ) { alt38=1; } else if ( LA38_0==SEMI ) { alt38=2; } else { NoViableAltException nvae = new NoViableAltException("384:28: ( IDENT )?", 38, 0, input); throw nvae; } switch (alt38) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:29: IDENT { match(input,IDENT,FOLLOW_IDENT_in_statement1458); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1462); } break; case 12 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:17: 'return' ( expression )? SEMI { match(input,103,FOLLOW_103_in_statement1470); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:26: ( expression )? int alt39=2; int LA39_0 = input.LA(1); if ( LA39_0==IDENT||LA39_0==LPAREN||(LA39_0>=PLUS && LA39_0<=MINUS)||(LA39_0>=INC && LA39_0<=NUM_FLOAT)||(LA39_0>=68 && LA39_0<=76)||(LA39_0>=93 && LA39_0<=94)||(LA39_0>=112 && LA39_0<=115) ) { alt39=1; } else if ( LA39_0==SEMI ) { alt39=2; } else { NoViableAltException nvae = new NoViableAltException("387:26: ( expression )?", 39, 0, input); throw nvae; } switch (alt39) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:27: expression { following.push(FOLLOW_expression_in_statement1473); expression(); following.pop(); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1477); } break; case 13 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:390:17: 'switch' LPAREN expression RPAREN LCURLY ( casesGroup )* RCURLY { match(input,104,FOLLOW_104_in_statement1485); match(input,LPAREN,FOLLOW_LPAREN_in_statement1487); following.push(FOLLOW_expression_in_statement1489); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1491); match(input,LCURLY,FOLLOW_LCURLY_in_statement1493); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:391:25: ( casesGroup )* loop40: do { int alt40=2; int LA40_0 = input.LA(1); if ( (LA40_0>=106 && LA40_0<=107) ) { alt40=1; } switch (alt40) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:391:27: casesGroup { following.push(FOLLOW_casesGroup_in_statement1500); casesGroup(); following.pop(); } break; default : break loop40; } } while (true); match(input,RCURLY,FOLLOW_RCURLY_in_statement1507); } break; case 14 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:395:17: tryBlock { following.push(FOLLOW_tryBlock_in_statement1515); tryBlock(); following.pop(); } break; case 15 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:398:17: 'throw' expression SEMI { match(input,105,FOLLOW_105_in_statement1523); following.push(FOLLOW_expression_in_statement1525); expression(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1527); } break; case 16 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:401:17: 'synchronized' LPAREN expression RPAREN compoundStatement { match(input,86,FOLLOW_86_in_statement1535); match(input,LPAREN,FOLLOW_LPAREN_in_statement1537); following.push(FOLLOW_expression_in_statement1539); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1541); following.push(FOLLOW_compoundStatement_in_statement1543); compoundStatement(); following.pop(); } break; case 17 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:407:17: SEMI { match(input,SEMI,FOLLOW_SEMI_in_statement1556); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParser.java/clean/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3021, 1435, 1216, 9539, 288, 6647, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 3707, 26, 30, 4033, 30, 261, 11360, 3406, 571, 8266, 3174, 7492, 571, 2652, 3174, 7492, 571, 10429, 27494, 571, 19768, 27856, 3021, 571, 296, 430, 11, 511, 15111, 2652, 534, 15111, 3021, 261, 296, 12107, 11, 3021, 7851, 571, 296, 1884, 11, 511, 15111, 364, 2570, 3174, 7492, 364, 12441, 3174, 7492, 364, 2360, 534, 15111, 3021, 571, 296, 17523, 11, 511, 15111, 2652, 534, 15111, 3021, 571, 296, 2896, 11, 3021, 296, 17523, 11, 511, 15111, 2652, 534, 15111, 3174, 7492, 571, 296, 8820, 11, 261, 19768, 7851, 3174, 7492, 571, 296, 17143, 11, 261, 19768, 7851, 3174, 7492, 571, 296, 2463, 11, 261, 2652, 7851, 3174, 7492, 571, 296, 9610, 11, 511, 15111, 2652, 534, 15111, 511, 26314, 261, 6088, 1114, 8618, 534, 26314, 571, 775, 1768, 571, 296, 12849, 11, 2652, 3174, 7492, 571, 296, 22043, 11, 511, 15111, 2652, 534, 15111, 11360, 3406, 571, 3174, 7492, 262, 5411, 509, 3770, 9803, 33, 4033, 31, 5411, 3770, 9803, 273, 23074, 9803, 18, 14491, 12, 2630, 1769, 5411, 1620, 261, 2390, 9803, 13, 288, 7734, 648, 404, 294, 10792, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 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, 3021, 1435, 1216, 9539, 288, 6647, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 3707, 26, 30, 4033, 30, 261, 11360, 3406, 571, 8266, 3174, 7492, 571, 2652, 3174, 7492, 571, 10429, 27494, 571, 19768, 27856, 3021, 571, 296, 430, 11, 511, 15111, 2652, 534, 15111, 3021, 261, 296, 12107, 11, 3021, 7851, 571, 296, 1884, 11, 511, 15111, 364, 2570, 3174, 7492, 364, 12441, 3174, 7492, 364, 2360, 534, 15111, 3021, 571, 296, 17523, 11, 511, 15111, 2652, 534, 15111, 3021, 2 ]
this(lw, (String)null, (String)null, new String[] { "no filename, preloaded transformation" }); this.transMeta=transMeta;
log=lw; class_nr = 1; transMeta = new TransMeta(file, name, args);
public Trans(LogWriter lw, TransMeta transMeta) { this(lw, (String)null, (String)null, new String[] { "no filename, preloaded transformation" }); this.transMeta=transMeta; preview=false; preview_steps=null; preview_sizes=null; log.logBasic(toString(), "Transformation is pre-loaded from repository."); log.logDebug(toString(), "nr of steps to run : "+transMeta.nrSteps()+", nr of hops : "+transMeta.nrTransHops()); }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/096ac4315300a93ed0a4d1e02df99cf58d307b4d/Trans.java/buggy/src/be/ibridge/kettle/trans/Trans.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2604, 12, 1343, 2289, 14589, 16, 2604, 2781, 906, 2781, 13, 202, 95, 202, 202, 2211, 12, 80, 91, 16, 261, 780, 13, 2011, 16, 261, 780, 13, 2011, 16, 394, 514, 8526, 288, 315, 2135, 1544, 16, 675, 4230, 8620, 6, 15549, 202, 202, 2211, 18, 2338, 2781, 33, 2338, 2781, 31, 202, 202, 12102, 33, 5743, 31, 202, 202, 12102, 67, 8986, 33, 2011, 31, 202, 202, 12102, 67, 11914, 33, 2011, 31, 202, 202, 1330, 18, 1330, 8252, 12, 10492, 9334, 315, 15292, 353, 675, 17, 4230, 628, 3352, 1199, 1769, 202, 202, 1330, 18, 1330, 2829, 12, 10492, 9334, 315, 11611, 434, 6075, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2604, 12, 1343, 2289, 14589, 16, 2604, 2781, 906, 2781, 13, 202, 95, 202, 202, 2211, 12, 80, 91, 16, 261, 780, 13, 2011, 16, 261, 780, 13, 2011, 16, 394, 514, 8526, 288, 315, 2135, 1544, 16, 675, 4230, 8620, 6, 15549, 202, 202, 2211, 18, 2338, 2781, 33, 2338, 2781, 31, 202, 202, 12102, 33, 5743, 31, 202, 202, 12102, 67, 8986, 33, 2011, 31, 202, 202, 12102, 67, 11914, 33, 2011, 31, 202, 202, 1330, 18, 1330, 8252, 12, 10492, 9334, 315, 15292, 353, 675, 17, 4230, 628, 3352, 1199, 1769, 202, 202, 1330, 18, 1330, 2829, 12, 10492, 9334, 315, 11611, 434, 6075, 358, 1086, 294, 13773, 2338, 2781, 18, 11611, 11811, 2 ]
for ( Skill skill : selectedList )
List<String> associatedKeys = new ArrayList<String>(); pobject.addAssociatedTo(associatedKeys); for ( String key : associatedKeys )
public void getChoices( final PlayerCharacter aPc, final List<Skill> availableList, final List<Skill> selectedList) { for ( Skill skill : Globals.getSkillList() ) { int sCost = skill.costForPCClassList(aPc.getClassList(), aPc); if (sCost == Globals.getGameModeSkillCost_Class()) { availableList.add(skill); } } for ( Skill skill : selectedList ) { pobject.addAssociated(skill.getKeyName()); } }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/935adc4060b045f379db1f27f0825679f0299b30/ClassSkillsChoiceManager.java/buggy/code/src/java/pcgen/core/chooser/ClassSkillsChoiceManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 336, 17442, 12, 1082, 202, 6385, 19185, 7069, 279, 28136, 16, 1082, 202, 6385, 987, 32, 9030, 34, 5411, 2319, 682, 16, 1082, 202, 6385, 987, 32, 9030, 34, 5411, 3170, 682, 13, 202, 95, 202, 202, 1884, 261, 15821, 15667, 294, 18901, 1031, 18, 588, 9030, 682, 1435, 262, 202, 202, 95, 1082, 202, 474, 272, 8018, 273, 15667, 18, 12398, 1290, 3513, 30546, 12, 69, 28136, 18, 588, 30546, 9334, 279, 28136, 1769, 1082, 202, 430, 261, 87, 8018, 422, 18901, 1031, 18, 588, 12496, 2309, 9030, 8018, 67, 797, 10756, 1082, 202, 95, 9506, 202, 5699, 682, 18, 1289, 12, 7771, 737, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 1884, 261, 15821, 15667, 294, 3170, 682, 262, 202, 202, 95, 1082, 202, 84, 1612, 18, 1289, 19233, 12, 7771, 737, 18, 588, 13987, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 336, 17442, 12, 1082, 202, 6385, 19185, 7069, 279, 28136, 16, 1082, 202, 6385, 987, 32, 9030, 34, 5411, 2319, 682, 16, 1082, 202, 6385, 987, 32, 9030, 34, 5411, 3170, 682, 13, 202, 95, 202, 202, 1884, 261, 15821, 15667, 294, 18901, 1031, 18, 588, 9030, 682, 1435, 262, 202, 202, 95, 1082, 202, 474, 272, 8018, 273, 15667, 18, 12398, 1290, 3513, 30546, 12, 69, 28136, 18, 588, 30546, 9334, 279, 28136, 1769, 1082, 202, 430, 261, 87, 8018, 422, 18901, 1031, 18, 588, 12496, 2309, 9030, 8018, 67, 797, 10756, 1082, 202, 95, 9506, 202, 5699, 682, 18, 1289, 12, 7771, 737, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 1884, 2 ]
+"InternalError;");
+"InternalError;" +"JavaException;" );
public static void init(Context cx, Scriptable scope, boolean sealed) { NativeGlobal obj = new NativeGlobal(); obj.scopeSlaveFlag = true; for (int id = 1; id <= LAST_SCOPE_FUNCTION_ID; ++id) { String name; switch (id) { case Id_decodeURI: name = "decodeURI"; break; case Id_decodeURIComponent: name = "decodeURIComponent"; break; case Id_encodeURI: name = "encodeURI"; break; case Id_encodeURIComponent: name = "encodeURIComponent"; break; case Id_escape: name = "escape"; break; case Id_eval: name = "eval"; break; case Id_isFinite: name = "isFinite"; break; case Id_isNaN: name = "isNaN"; break; case Id_parseFloat: name = "parseFloat"; break; case Id_parseInt: name = "parseInt"; break; case Id_unescape: name = "unescape"; break; case Id_uneval: name = "uneval"; break; default: Kit.codeBug(); name = null; } IdFunction.define(scope, name, obj, id, ScriptableObject.DONTENUM, sealed); } ScriptableObject.defineProperty(scope, "NaN", ScriptRuntime.NaNobj, ScriptableObject.DONTENUM); ScriptableObject.defineProperty(scope, "Infinity", new Double(Double.POSITIVE_INFINITY), ScriptableObject.DONTENUM); ScriptableObject.defineProperty(scope, "undefined", Undefined.instance, ScriptableObject.DONTENUM); String[] errorMethods = Kit.semicolonSplit("" +"ConversionError;" +"EvalError;" +"RangeError;" +"ReferenceError;" +"SyntaxError;" +"TypeError;" +"URIError;" +"InternalError;"); /* Each error constructor gets its own Error object as a prototype, with the 'name' property set to the name of the error. */ for (int i = 0; i < errorMethods.length; i++) { String name = errorMethods[i]; Scriptable errorProto = ScriptRuntime. newObject(cx, scope, "Error", ScriptRuntime.emptyArgs); errorProto.put("name", errorProto, name); IdFunction ctor = new IdFunction(obj, name, Id_new_CommonError); ctor.initAsConstructor(scope, errorProto); if (sealed) { ctor.sealObject(); if (errorProto instanceof ScriptableObject) { ((ScriptableObject)errorProto).sealObject(); } } ScriptableObject.defineProperty(scope, name, ctor, ScriptableObject.DONTENUM); } }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/910736ea5d73487e6bd544e9d2dc941303939f86/NativeGlobal.java/clean/js/rhino/src/org/mozilla/javascript/NativeGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1208, 12, 1042, 9494, 16, 22780, 2146, 16, 1250, 695, 18931, 13, 288, 3639, 16717, 5160, 1081, 273, 394, 16717, 5160, 5621, 3639, 1081, 18, 4887, 20302, 4678, 273, 638, 31, 3639, 364, 261, 474, 612, 273, 404, 31, 612, 1648, 15612, 67, 19444, 67, 7788, 67, 734, 31, 965, 350, 13, 288, 5411, 514, 508, 31, 5411, 1620, 261, 350, 13, 288, 7734, 648, 3124, 67, 3922, 3098, 30, 1850, 508, 273, 315, 3922, 3098, 14432, 1850, 898, 31, 7734, 648, 3124, 67, 3922, 19000, 30, 508, 273, 315, 3922, 19000, 14432, 898, 31, 7734, 648, 3124, 67, 3015, 3098, 30, 1850, 508, 273, 315, 3015, 3098, 14432, 1850, 898, 31, 7734, 648, 3124, 67, 3015, 19000, 30, 508, 273, 315, 3015, 19000, 14432, 898, 31, 7734, 648, 3124, 67, 6939, 30, 2398, 508, 273, 315, 6939, 14432, 2398, 898, 31, 7734, 648, 3124, 67, 8622, 30, 9079, 508, 273, 315, 8622, 14432, 9079, 898, 31, 7734, 648, 3124, 67, 291, 26491, 30, 6647, 508, 273, 315, 291, 26491, 14432, 6647, 898, 31, 7734, 648, 3124, 67, 291, 21172, 30, 2868, 508, 273, 315, 291, 21172, 14432, 2868, 898, 31, 7734, 648, 3124, 67, 2670, 4723, 30, 540, 508, 273, 315, 2670, 4723, 14432, 540, 898, 31, 7734, 648, 3124, 67, 2670, 1702, 30, 6647, 508, 273, 315, 2670, 1702, 14432, 6647, 898, 31, 7734, 648, 3124, 67, 318, 6939, 30, 6647, 508, 273, 315, 318, 6939, 14432, 6647, 898, 31, 7734, 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, 1208, 12, 1042, 9494, 16, 22780, 2146, 16, 1250, 695, 18931, 13, 288, 3639, 16717, 5160, 1081, 273, 394, 16717, 5160, 5621, 3639, 1081, 18, 4887, 20302, 4678, 273, 638, 31, 3639, 364, 261, 474, 612, 273, 404, 31, 612, 1648, 15612, 67, 19444, 67, 7788, 67, 734, 31, 965, 350, 13, 288, 5411, 514, 508, 31, 5411, 1620, 261, 350, 13, 288, 7734, 648, 3124, 67, 3922, 3098, 30, 1850, 508, 273, 315, 3922, 3098, 14432, 1850, 898, 31, 7734, 648, 3124, 67, 3922, 19000, 30, 508, 273, 315, 3922, 19000, 14432, 898, 31, 7734, 648, 3124, 67, 3015, 3098, 30, 1850, 508, 273, 315, 3015, 3098, 14432, 1850, 898, 31, 7734, 648, 3124, 2 ]
public boolean performFinish( ) { final IPath containerName = newReportFileWizardPage.getContainerFullPath( ); String fn = newReportFileWizardPage.getFileName( ); final String fileName; if ( !fn.endsWith( "." + fileExtension ) ) //$NON-NLS-1$ { fileName = fn + "." + fileExtension; //$NON-NLS-1$ } else { fileName = fn; } InputStream streamFromPage = null; String cheatSheetIdFromPage = "";//$NON-NLS-1$ boolean showCheatSheetFromPage = false; //Temporary remark the choice page for that feature is not supported in // R1 // if ( choicePage.isBlank( ) ) // { // // blank report // URL url = Platform.find( Platform.getBundle( ReportPlugin.REPORT_UI // ), // new Path( templateChoicePage.getBlankTemplate( ).reportPath ) ); // if ( url != null ) // { // try // { // streamFromPage = url.openStream( ); // } // catch ( IOException e1 ) // { // //ignore. // } // } // // cheatSheetIdFromPage = templateChoicePage.getBlankTemplate( // ).cheatSheetId; // showCheatSheetFromPage = false; // } // else if ( !choicePage.isCustom( ) ) // { // predefined template URL url = Platform.find( Platform.getBundle( ReportPlugin.REPORT_UI ), new Path( templateChoicePage.getTemplate( ).getReportPath() ) ); if ( url != null ) { try { streamFromPage = url.openStream( ); } catch ( IOException e1 ) { //ignore. } } else { try { streamFromPage = new FileInputStream(templateChoicePage.getTemplate( ).getReportPath() ); } catch ( FileNotFoundException e ) { } } cheatSheetIdFromPage = templateChoicePage.getTemplate( ).getCheatSheetId(); showCheatSheetFromPage = templateChoicePage.getShowCheatSheet( ); // Temporary remark the choice page for that feature is not supported in // R1 // } // else // { // // custom template // try // { // streamFromPage = new FileInputStream( // customTemplatePage.getReportPath( ) ); // String xmlPath = customTemplatePage.getReportPath( ) // .replaceFirst( ".rptdesign", ".xml" ); // File f = new File( xmlPath ); // if ( f.exists( ) ) // { // cheatSheetIdFromPage = f.toURL( ).toString( ); // // commented out until opencheatsheetaction bug is fixed in // // eclipse // // https://bugs.eclipse.org/bugs/show_bug.cgi?id=88481 // // showCheatSheetFromPage = // // customTemplatePage.getShowCheatSheet( ); // } // // } // catch ( Exception e ) // { // ExceptionHandler.handle( e ); // return false; // } // } final InputStream stream = streamFromPage; final String cheatSheetId = cheatSheetIdFromPage; final boolean showCheatSheet = showCheatSheetFromPage; IRunnableWithProgress op = new IRunnableWithProgress( ) { public void run( IProgressMonitor monitor ) throws InvocationTargetException { try { doFinish( containerName, fileName, stream, cheatSheetId, showCheatSheet, monitor ); } catch ( CoreException e ) { throw new InvocationTargetException( e ); } finally { monitor.done( ); } } }; try { getContainer( ).run( true, false, op ); } catch ( InterruptedException e ) { return false; } catch ( InvocationTargetException e ) { Throwable realException = e.getTargetException( ); ExceptionHandler.handle( realException ); return false; } return true; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/d99dacb66a1a83c9b92f03acef4adfb1206373a0/NewReportWizard.java/buggy/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/ide/wizards/NewReportWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 11641, 12, 262, 202, 95, 202, 202, 6385, 467, 743, 20408, 273, 394, 4820, 812, 27130, 1964, 18, 588, 2170, 24173, 12, 11272, 202, 202, 780, 2295, 273, 394, 4820, 812, 27130, 1964, 18, 588, 4771, 12, 11272, 202, 202, 6385, 514, 3968, 31, 202, 202, 430, 261, 401, 4293, 18, 5839, 1190, 12, 4585, 397, 23908, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 17812, 273, 2295, 397, 4585, 397, 23908, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 17812, 273, 2295, 31, 202, 202, 97, 202, 202, 4348, 1407, 1265, 1964, 273, 446, 31, 202, 202, 780, 19315, 270, 8229, 548, 1265, 1964, 273, 1408, 31, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 6494, 2405, 39, 580, 270, 8229, 1265, 1964, 273, 629, 31, 202, 202, 759, 11685, 849, 1313, 326, 6023, 1363, 364, 716, 2572, 353, 486, 3260, 316, 202, 202, 759, 534, 21, 202, 202, 759, 202, 202, 430, 261, 6023, 1964, 18, 291, 7796, 12, 262, 262, 202, 202, 759, 202, 202, 95, 202, 202, 759, 1082, 202, 759, 7052, 2605, 202, 202, 759, 1082, 202, 1785, 880, 273, 11810, 18, 4720, 12, 11810, 18, 588, 3405, 12, 8706, 3773, 18, 22710, 67, 5370, 202, 202, 759, 262, 16, 202, 202, 759, 6862, 202, 2704, 2666, 12, 1542, 10538, 1964, 18, 588, 7796, 2283, 12, 262, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 11641, 12, 262, 202, 95, 202, 202, 6385, 467, 743, 20408, 273, 394, 4820, 812, 27130, 1964, 18, 588, 2170, 24173, 12, 11272, 202, 202, 780, 2295, 273, 394, 4820, 812, 27130, 1964, 18, 588, 4771, 12, 11272, 202, 202, 6385, 514, 3968, 31, 202, 202, 430, 261, 401, 4293, 18, 5839, 1190, 12, 4585, 397, 23908, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 17812, 273, 2295, 397, 4585, 397, 23908, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 17812, 273, 2295, 31, 202, 202, 97, 202, 202, 4348, 1407, 1265, 1964, 273, 446, 31, 202, 2 ]
label2.addAttributeModifier(
label2.add(
public AttributeModifierComponentPage(final PageParameters parameters) { // Label with attribute modifier Label label1 = new Label("label1", new Model("Label 1")); add(label1); // Lavel with override attribute modifier Label label2 = new Label("label2", new Model("Label 2")); label2.addAttributeModifier( new ComponentTagAttributeModifier("class", new Model("overrideLabel"))); label2.addAttributeModifier( new ComponentTagAttributeModifier("unknown", new Model("invalid"))); add(label2); // Lavel with attribute inserter Label label3 = new Label("label3", new Model("Label 3")); label3.addAttributeModifier( new ComponentTagAttributeModifier("class", true, new IDetachableModel() { private String text = null; public void detach(RequestCycle cycle) { System.out.println("ComponentTagAttributeModifier model detached"); text = null; } public void attach(RequestCycle cycle) { System.out.println("ComponentTagAttributeModifier model attached"); text = "insertLabel"; } public Object getObject() { return text; } public void setObject(Object object) { text = object.toString(); } })); add(label3); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/e6fb7d32d37fa36420123e753dbd273c88d2d77d/AttributeModifierComponentPage.java/clean/wicket/src/test/wicket/AttributeModifierComponentPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3601, 9829, 1841, 1964, 12, 6385, 3460, 2402, 1472, 13, 288, 3639, 368, 5287, 598, 1566, 9606, 3639, 5287, 1433, 21, 273, 394, 5287, 2932, 1925, 21, 3113, 394, 3164, 2932, 2224, 404, 7923, 1769, 3639, 527, 12, 1925, 21, 1769, 3639, 368, 511, 7882, 598, 3849, 1566, 9606, 3639, 5287, 1433, 22, 273, 394, 5287, 2932, 1925, 22, 3113, 394, 3164, 2932, 2224, 576, 7923, 1769, 3639, 1433, 22, 18, 1289, 12, 5411, 394, 5435, 1805, 1499, 9829, 2932, 1106, 3113, 394, 3164, 2932, 10601, 2224, 6, 3719, 1769, 3639, 1433, 22, 18, 1289, 12, 5411, 394, 5435, 1805, 1499, 9829, 2932, 8172, 3113, 394, 3164, 2932, 5387, 6, 3719, 1769, 3639, 527, 12, 1925, 22, 1769, 3639, 368, 511, 7882, 598, 1566, 316, 550, 387, 3639, 5287, 1433, 23, 273, 394, 5287, 2932, 1925, 23, 3113, 394, 3164, 2932, 2224, 890, 7923, 1769, 3639, 1433, 23, 18, 1289, 1499, 9829, 12, 5411, 394, 5435, 1805, 1499, 9829, 2932, 1106, 3113, 638, 16, 394, 1599, 278, 497, 429, 1488, 1435, 288, 7734, 3238, 514, 977, 273, 446, 31, 27573, 1071, 918, 10199, 12, 691, 13279, 8589, 13, 288, 10792, 2332, 18, 659, 18, 8222, 2932, 1841, 1805, 1499, 9829, 938, 22037, 8863, 10792, 977, 273, 446, 31, 7734, 289, 7734, 1071, 918, 3306, 12, 691, 13279, 8589, 13, 288, 10792, 2332, 18, 659, 18, 8222, 2932, 1841, 1805, 1499, 9829, 938, 7495, 8863, 10792, 977, 273, 315, 6387, 2224, 14432, 7734, 289, 7734, 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, 3601, 9829, 1841, 1964, 12, 6385, 3460, 2402, 1472, 13, 288, 3639, 368, 5287, 598, 1566, 9606, 3639, 5287, 1433, 21, 273, 394, 5287, 2932, 1925, 21, 3113, 394, 3164, 2932, 2224, 404, 7923, 1769, 3639, 527, 12, 1925, 21, 1769, 3639, 368, 511, 7882, 598, 3849, 1566, 9606, 3639, 5287, 1433, 22, 273, 394, 5287, 2932, 1925, 22, 3113, 394, 3164, 2932, 2224, 576, 7923, 1769, 3639, 1433, 22, 18, 1289, 12, 5411, 394, 5435, 1805, 1499, 9829, 2932, 1106, 3113, 394, 3164, 2932, 10601, 2224, 6, 3719, 1769, 3639, 1433, 22, 18, 1289, 12, 5411, 394, 5435, 1805, 1499, 9829, 2932, 8172, 3113, 394, 3164, 2932, 5387, 6, 3719, 1769, 3639, 527, 12, 1925, 2 ]
aci.first();
int j=0;
public int getGlyphIndex(int charIndex) { int numGlyphs = getGlyphCount(); aci.first(); for (int i = 0; i < numGlyphs; i++) { int count = getCharacterCount(i, i); for (int n=0; n<count; n++) { int glyphCharIndex = ((Integer)aci.getAttribute (GVTAttributedCharacterIterator.TextAttribute.CHAR_INDEX)).intValue(); if (charIndex == glyphCharIndex) return i; if (aci.next() == AttributedCharacterIterator.DONE) return -1; } } return -1; }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/977f13210875a0a4a0f63e06590f8a9bf18c6574/GlyphLayout.java/buggy/sources/org/apache/batik/gvt/text/GlyphLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 7162, 6451, 1016, 12, 474, 1149, 1016, 13, 288, 3639, 509, 818, 25399, 273, 7162, 6451, 1380, 5621, 3639, 509, 525, 33, 20, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 818, 25399, 31, 277, 27245, 288, 5411, 509, 1056, 273, 31306, 1380, 12, 77, 16, 277, 1769, 5411, 364, 261, 474, 290, 33, 20, 31, 290, 32, 1883, 31, 290, 27245, 288, 7734, 509, 9440, 2156, 1016, 273, 14015, 4522, 13, 1077, 77, 18, 588, 1499, 4766, 1377, 261, 25269, 56, 861, 11050, 7069, 3198, 18, 1528, 1499, 18, 7305, 67, 9199, 13, 2934, 474, 620, 5621, 7734, 309, 261, 3001, 1016, 422, 9440, 2156, 1016, 13, 5397, 327, 277, 31, 7734, 309, 261, 1077, 77, 18, 4285, 1435, 422, 2380, 11050, 7069, 3198, 18, 26875, 13, 10792, 327, 300, 21, 31, 5411, 289, 3639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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 7162, 6451, 1016, 12, 474, 1149, 1016, 13, 288, 3639, 509, 818, 25399, 273, 7162, 6451, 1380, 5621, 3639, 509, 525, 33, 20, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 818, 25399, 31, 277, 27245, 288, 5411, 509, 1056, 273, 31306, 1380, 12, 77, 16, 277, 1769, 5411, 364, 261, 474, 290, 33, 20, 31, 290, 32, 1883, 31, 290, 27245, 288, 7734, 509, 9440, 2156, 1016, 273, 14015, 4522, 13, 1077, 77, 18, 588, 1499, 4766, 1377, 261, 25269, 56, 861, 11050, 7069, 3198, 18, 1528, 1499, 18, 7305, 67, 9199, 13, 2934, 474, 620, 5621, 7734, 309, 261, 3001, 1016, 422, 9440, 2156, 1016, 13, 5397, 327, 277, 31, 7734, 2 ]
String getStyle( );
Style getStyle( );
String getStyle( );
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/1a68696eeaf3d97a3d75bdf3bc939335158a8be5/StyleMap.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/StyleMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 780, 14210, 12, 11272, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 780, 14210, 12, 11272, 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 ]
public synchronized DDReconstructor getReconstructor() { return _rec; }
public DDReconstructor getReconstructor() { return _rec; }
public synchronized DDReconstructor getReconstructor() { return _rec; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/1b9869851f567b7b6474eabaac96584b4771f5f3/DocumentCache.java/buggy/drjava/src/edu/rice/cs/drjava/model/cache/DocumentCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 25177, 426, 12316, 5561, 12316, 1435, 288, 327, 389, 3927, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 25177, 426, 12316, 5561, 12316, 1435, 288, 327, 389, 3927, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Log.debug("Update contact: "+item.getJid());
public void updateContact(RosterItem item) { Log.debug("Update contact: "+item.getJid()); String legacyId = getTransport().convertJIDToID(item.getJid()); String nickname = item.getNickname(); if (nickname == null || nickname.equals("")) { nickname = legacyId; } // Syncing takes care of all of the dirty work. syncContactGroupsAndNickname(legacyId, nickname, item.getGroups()); }
51636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51636/588cfa95904f28170ce24bfd4c2f534a6592c0f2/OSCARSession.java/buggy/src/plugins/gateway/src/java/org/jivesoftware/wildfire/gateway/protocols/oscar/OSCARSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 6567, 12, 54, 29811, 1180, 761, 13, 288, 9079, 514, 8866, 548, 273, 29801, 7675, 6283, 46, 734, 774, 734, 12, 1726, 18, 588, 46, 350, 10663, 3639, 514, 19570, 273, 761, 18, 588, 29756, 529, 5621, 3639, 309, 261, 17091, 529, 422, 446, 747, 19570, 18, 14963, 2932, 6, 3719, 288, 5411, 19570, 273, 8866, 548, 31, 3639, 289, 3639, 368, 9721, 310, 5530, 7671, 434, 777, 434, 326, 9603, 1440, 18, 3639, 3792, 6567, 3621, 1876, 29756, 529, 12, 17386, 548, 16, 19570, 16, 761, 18, 588, 3621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 6567, 12, 54, 29811, 1180, 761, 13, 288, 9079, 514, 8866, 548, 273, 29801, 7675, 6283, 46, 734, 774, 734, 12, 1726, 18, 588, 46, 350, 10663, 3639, 514, 19570, 273, 761, 18, 588, 29756, 529, 5621, 3639, 309, 261, 17091, 529, 422, 446, 747, 19570, 18, 14963, 2932, 6, 3719, 288, 5411, 19570, 273, 8866, 548, 31, 3639, 289, 3639, 368, 9721, 310, 5530, 7671, 434, 777, 434, 326, 9603, 1440, 18, 3639, 3792, 6567, 3621, 1876, 29756, 529, 12, 17386, 548, 16, 19570, 16, 761, 18, 588, 3621, 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 ]
if ( result.toString( ).equals( name ) )
if ( result.toString( ).equals( literal ) )
public static ActionType get( String name ) { for ( int i = 0; i < VALUES_ARRAY.length; ++i ) { ActionType result = VALUES_ARRAY[i]; if ( result.toString( ).equals( name ) ) { return result; } } return null; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/036e8c78765730b146e5854b9d6c397a296fed86/ActionType.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/ActionType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 4382, 559, 336, 12, 514, 508, 262, 202, 95, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 13477, 67, 8552, 18, 2469, 31, 965, 77, 262, 202, 202, 95, 1082, 202, 26995, 563, 273, 13477, 67, 8552, 63, 77, 15533, 1082, 202, 430, 261, 563, 18, 10492, 12, 262, 18, 14963, 12, 508, 262, 262, 1082, 202, 95, 9506, 202, 2463, 563, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 4382, 559, 336, 12, 514, 508, 262, 202, 95, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 13477, 67, 8552, 18, 2469, 31, 965, 77, 262, 202, 202, 95, 1082, 202, 26995, 563, 273, 13477, 67, 8552, 63, 77, 15533, 1082, 202, 430, 261, 563, 18, 10492, 12, 262, 18, 14963, 12, 508, 262, 262, 1082, 202, 95, 9506, 202, 2463, 563, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
monitor.subTask("preparing"); Project findbugsProject = FindBugsWorker.workPrepare(files); FindBugsWorker.UpdateJob updateJob = null; try { monitor.subTask("waiting to detect"); manager.beginRule(findbugsExecuteMutex, monitor); monitor.subTask("detecting"); updateJob = worker.workExecute(findbugsProject); } finally { manager.endRule(findbugsExecuteMutex); } monitor.subTask("updating"); if (updateJob != null) { updateJob.update(); }
findbugsExecuteLock.acquire(); worker.work(files);
private void work(final IResource resource) { try { final Collection files = filesInResource(resource); Job runFindBugs = new Job("Finding bugs in "+resource.getName()+"...") { @Override protected IStatus run(IProgressMonitor monitor) { JobManager manager = JobManager.getInstance(); FindBugsWorker worker = new FindBugsWorker(resource.getProject(), monitor); try { monitor.subTask("preparing"); Project findbugsProject = FindBugsWorker.workPrepare(files); //call worker.workExecute(files) but with mutex rule FindBugsWorker.UpdateJob updateJob = null; try { monitor.subTask("waiting to detect"); manager.beginRule(findbugsExecuteMutex, monitor); monitor.subTask("detecting"); updateJob = worker.workExecute(findbugsProject); } finally { manager.endRule(findbugsExecuteMutex); } monitor.subTask("updating"); if (updateJob != null) { //updateJob.schedule(); updateJob.update(); // update directly } } catch (CoreException e) { e.printStackTrace(); return Status.CANCEL_STATUS; } return Status.OK_STATUS; } }; runFindBugs.setUser(true); runFindBugs.schedule(); } catch (CoreException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/b9916c9514cf5941f7bf60e514251222579b7b69/FindBugsAction.java/clean/eclipsePlugin/src/de/tobject/findbugs/actions/FindBugsAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1440, 12, 6385, 467, 1420, 1058, 13, 288, 202, 202, 698, 288, 1082, 202, 6385, 2200, 1390, 273, 1390, 382, 1420, 12, 3146, 1769, 1082, 202, 2278, 1086, 3125, 31559, 273, 394, 3956, 2932, 21358, 22398, 316, 13773, 3146, 18, 17994, 1435, 9078, 7070, 13, 288, 9506, 202, 36, 6618, 9506, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 6862, 202, 2278, 1318, 3301, 273, 3956, 1318, 18, 588, 1442, 5621, 6862, 202, 3125, 31559, 6671, 4322, 273, 25083, 202, 2704, 4163, 31559, 6671, 12, 3146, 18, 588, 4109, 9334, 6438, 1769, 6862, 202, 698, 288, 25083, 202, 10259, 18, 1717, 2174, 2932, 1484, 12583, 8863, 25083, 202, 4109, 1104, 19381, 4109, 273, 4163, 31559, 6671, 18, 1252, 7543, 12, 2354, 1769, 25083, 202, 759, 1991, 4322, 18, 1252, 5289, 12, 2354, 13, 1496, 598, 9020, 1720, 25083, 202, 3125, 31559, 6671, 18, 1891, 2278, 1089, 2278, 273, 446, 31, 25083, 202, 698, 288, 6862, 1082, 202, 10259, 18, 1717, 2174, 2932, 20241, 358, 5966, 8863, 6862, 1082, 202, 4181, 18, 10086, 2175, 12, 4720, 19381, 5289, 11433, 16, 6438, 1769, 6862, 1082, 202, 10259, 18, 1717, 2174, 2932, 16518, 310, 8863, 6862, 1082, 202, 2725, 2278, 273, 4322, 18, 1252, 5289, 12, 4720, 19381, 4109, 1769, 25083, 202, 97, 3095, 288, 6862, 1082, 202, 4181, 18, 409, 2175, 12, 4720, 19381, 5289, 11433, 1769, 25083, 202, 97, 6862, 6862, 9506, 202, 10259, 18, 1717, 2174, 2932, 5533, 1776, 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, 1440, 12, 6385, 467, 1420, 1058, 13, 288, 202, 202, 698, 288, 1082, 202, 6385, 2200, 1390, 273, 1390, 382, 1420, 12, 3146, 1769, 1082, 202, 2278, 1086, 3125, 31559, 273, 394, 3956, 2932, 21358, 22398, 316, 13773, 3146, 18, 17994, 1435, 9078, 7070, 13, 288, 9506, 202, 36, 6618, 9506, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 6862, 202, 2278, 1318, 3301, 273, 3956, 1318, 18, 588, 1442, 5621, 6862, 202, 3125, 31559, 6671, 4322, 273, 25083, 202, 2704, 4163, 31559, 6671, 12, 3146, 18, 588, 4109, 9334, 6438, 1769, 6862, 202, 698, 288, 25083, 202, 10259, 18, 1717, 2174, 2932, 1484, 12583, 8863, 25083, 202, 4109, 1104, 19381, 2 ]
assertEquals( node.getCompletionPrefix(), (i == 0 )? "": "V");
assertEquals( node.getCompletionPrefix(), (i == 0 )? "": "V");
public void testCompletionOnExpression() throws Exception { Writer writer = new StringWriter(); writer.write( "class ABC { public: void voidMethod(); };\n"); writer.write( "ABC * someFunction(void) { return new ABC(); }\n"); writer.write( "void testFunction( void ) { someFunction()->V }\n" ); String code = writer.toString(); for( int i = 0; i < 2; ++i ) { int index = code.indexOf( "V"); if( i == 1 ) ++index; IASTCompletionNode node = parse( code, index ); assertEquals( node.getCompletionPrefix(), (i == 0 )? "": "V"); assertEquals( node.getCompletionKind(), CompletionKind.MEMBER_REFERENCE ); assertTrue( node.getCompletionContext() instanceof IASTExpression ); } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/d730ff0f947954910a1a59eb5fe977d0983fd23e/CompletionParseTest.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompletionParseTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 11238, 1398, 2300, 1435, 1216, 1185, 202, 95, 202, 202, 2289, 2633, 273, 394, 17436, 5621, 202, 202, 6299, 18, 2626, 12, 315, 1106, 29253, 288, 1071, 30, 918, 918, 1305, 5621, 289, 9747, 82, 8863, 202, 202, 6299, 18, 2626, 12, 315, 26904, 380, 2690, 2083, 12, 6459, 13, 288, 327, 394, 29253, 5621, 289, 64, 82, 8863, 202, 202, 6299, 18, 2626, 12, 315, 6459, 1842, 2083, 12, 918, 262, 288, 2690, 2083, 17214, 58, 225, 289, 64, 82, 6, 11272, 202, 202, 780, 981, 273, 2633, 18, 10492, 5621, 202, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 576, 31, 965, 77, 262, 202, 202, 95, 1082, 202, 474, 770, 273, 981, 18, 31806, 12, 315, 58, 8863, 1082, 202, 430, 12, 277, 422, 404, 262, 965, 1615, 31, 1082, 202, 45, 9053, 11238, 907, 756, 273, 1109, 12, 981, 16, 770, 11272, 1082, 202, 11231, 8867, 12, 756, 18, 588, 11238, 2244, 9334, 261, 77, 422, 374, 7851, 1408, 30, 315, 58, 8863, 1082, 202, 11231, 8867, 12, 756, 18, 588, 11238, 5677, 9334, 20735, 5677, 18, 19630, 67, 14617, 11272, 1082, 202, 11231, 5510, 12, 756, 18, 588, 11238, 1042, 1435, 1276, 467, 9053, 2300, 11272, 202, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 11238, 1398, 2300, 1435, 1216, 1185, 202, 95, 202, 202, 2289, 2633, 273, 394, 17436, 5621, 202, 202, 6299, 18, 2626, 12, 315, 1106, 29253, 288, 1071, 30, 918, 918, 1305, 5621, 289, 9747, 82, 8863, 202, 202, 6299, 18, 2626, 12, 315, 26904, 380, 2690, 2083, 12, 6459, 13, 288, 327, 394, 29253, 5621, 289, 64, 82, 8863, 202, 202, 6299, 18, 2626, 12, 315, 6459, 1842, 2083, 12, 918, 262, 288, 2690, 2083, 17214, 58, 225, 289, 64, 82, 6, 11272, 202, 202, 780, 981, 273, 2633, 18, 10492, 5621, 202, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 576, 31, 965, 77, 262, 202, 202, 95, 1082, 202, 474, 2 ]
public static Object evalSpecial(Context cx, Scriptable scope, Object thisArg, Object[] args, String filename, int lineNumber) throws JavaScriptException { if (args.length < 1) return Undefined.instance; Object x = args[0]; if (!(x instanceof String)) { String message = Context.getMessage0("msg.eval.nonstring"); Context.reportWarning(message); return x; } int[] linep = { lineNumber }; if (filename == null) { filename = Context.getSourcePositionFromStack(linep); if (filename == null) { filename = "<eval'ed string>"; linep[0] = 1; } } try { StringReader in = new StringReader((String) x); Object securityDomain = cx.getSecurityDomainForStackDepth(3); // Compile the reader with opt level of -1 to force interpreter // mode. int oldOptLevel = cx.getOptimizationLevel(); cx.setOptimizationLevel(-1); Script script = cx.compileReader(scope, in, filename, linep[0], securityDomain); cx.setOptimizationLevel(oldOptLevel); // if the compile fails, an error has been reported by the // compiler, but we need to stop execution to avoid // infinite looping on while(true) { eval('foo bar') } - // so we throw an EvaluatorException. if (script == null) { String message = Context.getMessage0("msg.syntax"); throw new EvaluatorException(message); } InterpretedScript is = (InterpretedScript) script; is.itsData.itsFromEvalCode = true; Object result = is.call(cx, scope, (Scriptable) thisArg, null); return result; } catch (IOException ioe) { // should never happen since we just made the Reader from a String throw new RuntimeException("unexpected io exception"); } }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/d589083a1e05831fd048d3c3f77379559ec628d7/NativeGlobal.java/buggy/js/rhino/src/org/mozilla/javascript/NativeGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 5302, 12193, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 1377, 1033, 20134, 16, 1033, 8526, 833, 16, 4766, 1377, 514, 1544, 16, 509, 13629, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 5411, 327, 22243, 18, 1336, 31, 3639, 1033, 619, 273, 833, 63, 20, 15533, 3639, 309, 16051, 12, 92, 1276, 514, 3719, 288, 5411, 514, 883, 273, 1772, 18, 24906, 20, 2932, 3576, 18, 8622, 18, 5836, 1080, 8863, 5411, 1772, 18, 6006, 6210, 12, 2150, 1769, 5411, 327, 619, 31, 3639, 289, 3639, 509, 8526, 980, 84, 273, 288, 13629, 289, 31, 3639, 309, 261, 3459, 422, 446, 13, 288, 5411, 1544, 273, 1772, 18, 588, 1830, 2555, 1265, 2624, 12, 1369, 84, 1769, 5411, 309, 261, 3459, 422, 446, 13, 288, 7734, 1544, 273, 3532, 8622, 11, 329, 533, 2984, 31, 7734, 980, 84, 63, 20, 65, 273, 404, 31, 5411, 289, 3639, 289, 7734, 775, 288, 5411, 26227, 316, 273, 394, 26227, 12443, 780, 13, 619, 1769, 5411, 1033, 4373, 3748, 273, 9494, 18, 588, 4368, 3748, 1290, 2624, 6148, 12, 23, 1769, 13491, 368, 16143, 326, 2949, 598, 2153, 1801, 434, 300, 21, 358, 2944, 16048, 5411, 368, 1965, 18, 5411, 509, 1592, 6179, 2355, 273, 9494, 18, 588, 13930, 1588, 2355, 5621, 5411, 9494, 18, 542, 13930, 1588, 2355, 19236, 21, 1769, 5411, 7739, 2728, 273, 9494, 18, 11100, 2514, 12, 4887, 16, 316, 16, 1544, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 5302, 12193, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 1377, 1033, 20134, 16, 1033, 8526, 833, 16, 4766, 1377, 514, 1544, 16, 509, 13629, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 5411, 327, 22243, 18, 1336, 31, 3639, 1033, 619, 273, 833, 63, 20, 15533, 3639, 309, 16051, 12, 92, 1276, 514, 3719, 288, 5411, 514, 883, 273, 1772, 18, 24906, 20, 2932, 3576, 18, 8622, 18, 5836, 1080, 8863, 5411, 1772, 18, 6006, 6210, 12, 2150, 1769, 5411, 327, 619, 31, 3639, 289, 3639, 509, 8526, 980, 84, 273, 288, 13629, 289, 31, 3639, 309, 261, 3459, 422, 446, 13, 288, 5411, 1544, 273, 2 ]
boolean shouldPerformResourcePruning() {
protected boolean shouldPerformResourcePruning() {
boolean shouldPerformResourcePruning() { return false; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/4eac3d2cc275edceeff6f6f06f8d39203c7c731c/OpenResourceAction.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/OpenResourceAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 1410, 4990, 1420, 2050, 13036, 1435, 288, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4750, 1250, 1410, 4990, 1420, 2050, 13036, 1435, 288, 3639, 327, 629, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (doc instanceof StyledDocument) { StyledDocument sdoc = (StyledDocument) doc; sdoc.setCharacterAttributes(start, end - start, s, true); }
public void setAttributes(int start, int end, AttributeSet s) throws NotImplementedException { // TODO }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 309, 261, 2434, 1276, 934, 93, 1259, 2519, 13, 288, 934, 93, 1259, 2519, 272, 2434, 273, 261, 24273, 1259, 2519, 13, 997, 31, 272, 2434, 18, 542, 7069, 2498, 12, 1937, 16, 679, 300, 787, 16, 272, 16, 638, 1769, 289, 309, 261, 2434, 1276, 934, 93, 1259, 2519, 13, 288, 934, 93, 1259, 2519, 272, 2434, 273, 261, 24273, 1259, 2519, 13, 997, 31, 272, 2434, 18, 542, 7069, 2498, 12, 1937, 16, 679, 300, 787, 16, 272, 16, 638, 1769, 289, 309, 261, 2434, 1276, 934, 93, 1259, 2519, 13, 288, 934, 93, 1259, 2519, 272, 2434, 273, 261, 24273, 1259, 2519, 13, 997, 31, 272, 2434, 18, 542, 7069, 2498, 12, 1937, 16, 679, 300, 787, 16, 272, 16, 638, 1769, 289, 309, 261, 2434, 1276, 934, 93, 1259, 2519, 13, 288, 934, 93, 1259, 2519, 272, 2434, 273, 261, 24273, 1259, 2519, 13, 997, 31, 272, 2434, 18, 542, 7069, 2498, 12, 1937, 16, 679, 300, 787, 16, 272, 16, 638, 1769, 289, 1071, 430, 261, 2434, 1276, 934, 93, 1259, 2519, 13, 288, 934, 93, 1259, 2519, 272, 2434, 273, 261, 24273, 1259, 2519, 13, 997, 31, 272, 2434, 18, 542, 7069, 2498, 12, 1937, 16, 679, 300, 787, 16, 272, 16, 638, 1769, 289, 918, 430, 261, 2434, 1276, 934, 93, 1259, 2519, 13, 288, 934, 93, 1259, 2519, 272, 2434, 273, 261, 24273, 1259, 2519, 13, 997, 31, 272, 2434, 18, 542, 7069, 2498, 12, 1937, 16, 679, 300, 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, 309, 261, 2434, 1276, 934, 93, 1259, 2519, 13, 288, 934, 93, 1259, 2519, 272, 2434, 273, 261, 24273, 1259, 2519, 13, 997, 31, 272, 2434, 18, 542, 7069, 2498, 12, 1937, 16, 679, 300, 787, 16, 272, 16, 638, 1769, 289, 309, 261, 2434, 1276, 934, 93, 1259, 2519, 13, 288, 934, 93, 1259, 2519, 272, 2434, 273, 261, 24273, 1259, 2519, 13, 997, 31, 272, 2434, 18, 542, 7069, 2498, 12, 1937, 16, 679, 300, 787, 16, 272, 16, 638, 1769, 289, 309, 261, 2434, 1276, 934, 93, 1259, 2519, 13, 288, 934, 93, 1259, 2519, 272, 2434, 273, 261, 24273, 1259, 2519, 13, 997, 31, 272, 2434, 18, 542, 7069, 2498, 12, 1937, 16, 679, 300, 2 ]
Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" success: "+hopsTaken+" "+randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+")");
Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" success: "+hopsTaken+ ' ' +randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+ ')');
public static void main(String[] args) throws FSParseException, PeerParseException, CHKEncodeException { PeerNode.disableProbabilisticHTLs = true; String wd = "realNodeRequestInsertTest"; new File(wd).mkdir(); // Don't clobber nearby nodes! Node.MAX_HTL = 5; FileLoggerHook fh = Logger.setupStdoutLogging(Logger.DEBUG, "freenet.store:minor,freenet.node.Location:normal" /*"freenet.node.LocationManager:debug,freenet.node.FNPPacketManager:normal,freenet.io.comm.UdpSocketManager:debug"*/); Logger.globalSetThreshold(Logger.DEBUG); System.out.println("Insert/retrieve test"); System.out.println(); DummyRandomSource random = new DummyRandomSource(); DiffieHellman.init(random); Node[] nodes = new Node[NUMBER_OF_NODES]; Logger.normal(RealNodeRoutingTest.class, "Creating nodes..."); for(int i=0;i<NUMBER_OF_NODES;i++) { nodes[i] = new Node(5000+i, random, null, wd+File.separator, 0, false, fh, 100); nodes[i].usm.setDropProbability(20); // 5% Logger.normal(RealNodeRoutingTest.class, "Created node "+i); } SimpleFieldSet refs[] = new SimpleFieldSet[NUMBER_OF_NODES]; for(int i=0;i<NUMBER_OF_NODES;i++) refs[i] = nodes[i].exportPublicFieldSet(); Logger.normal(RealNodeRoutingTest.class, "Created "+NUMBER_OF_NODES+" nodes"); // Now link them up // Connect the set for(int i=0;i<NUMBER_OF_NODES;i++) { int next = (i+1) % NUMBER_OF_NODES; int prev = (i+NUMBER_OF_NODES-1)%NUMBER_OF_NODES; nodes[i].peers.connect(refs[next]); nodes[i].peers.connect(refs[prev]); } Logger.normal(RealNodeRoutingTest.class, "Connected nodes"); // Now add some random links for(int i=0;i<NUMBER_OF_NODES*5;i++) { if(i % NUMBER_OF_NODES == 0) Logger.normal(RealNodeRoutingTest.class, ""+i); int length = (int)Math.pow(NUMBER_OF_NODES, random.nextDouble()); int nodeA = random.nextInt(NUMBER_OF_NODES); int nodeB = (nodeA+length)%NUMBER_OF_NODES; //System.out.println(""+nodeA+" -> "+nodeB); Node a = nodes[nodeA]; Node b = nodes[nodeB]; a.peers.connect(b.exportPublicFieldSet()); b.peers.connect(a.exportPublicFieldSet()); } Logger.normal(RealNodeRoutingTest.class, "Added random links"); SwapRequestInterval sri = new CPUAdjustingSwapRequestInterval(((500*1000*NUMBER_OF_NODES)/200), 50); for(int i=0;i<NUMBER_OF_NODES;i++) nodes[i].start(sri); // Now sit back and watch the fireworks! int cycleNumber = 0; int lastSwaps = 0; int lastNoSwaps = 0; int failures = 0; int successes = 0; RunningAverage avg = new SimpleRunningAverage(100, 0.0); RunningAverage avg2 = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 100); int pings = 0; while(true) { cycleNumber++; try { Thread.sleep(5000); } catch (InterruptedException e) { // Ignore } for(int i=0;i<NUMBER_OF_NODES;i++) { Logger.normal(RealNodeRoutingTest.class, "Cycle "+cycleNumber+" node "+i+": "+nodes[i].lm.getLocation().getValue()); } int newSwaps = LocationManager.swaps; int totalStarted = LocationManager.startedSwaps; int noSwaps = LocationManager.noSwaps; Logger.normal(RealNodeRoutingTest.class, "Swaps: "+(newSwaps-lastSwaps)); Logger.normal(RealNodeRoutingTest.class, "\nTotal swaps: Started*2: "+totalStarted*2+", succeeded: "+newSwaps+", last minute failures: "+noSwaps+ ", ratio "+(double)noSwaps/(double)newSwaps+", early failures: "+((totalStarted*2)-(noSwaps+newSwaps))); Logger.normal(RealNodeRoutingTest.class, "This cycle ratio: "+((double)(noSwaps-lastNoSwaps)) / ((double)(newSwaps - lastSwaps))); lastNoSwaps = noSwaps; Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (already locked): "+LocationManager.swapsRejectedAlreadyLocked); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (nowhere to go): "+LocationManager.swapsRejectedNowhereToGo); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (rate limit): "+LocationManager.swapsRejectedRateLimit); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (loop): "+LocationManager.swapsRejectedLoop); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (recognized ID):" +LocationManager.swapsRejectedRecognizedID); lastSwaps = newSwaps; // Do some (routed) test-pings for(int i=0;i<10;i++) { try { Thread.sleep(2000); } catch (InterruptedException e1) { } try { Node randomNode = nodes[random.nextInt(NUMBER_OF_NODES)]; Node randomNode2 = randomNode; while(randomNode2 == randomNode) randomNode2 = nodes[random.nextInt(NUMBER_OF_NODES)]; Logger.normal(RealNodeRoutingTest.class, "Pinging "+randomNode2.portNumber+" from "+randomNode.portNumber); double loc2 = randomNode2.lm.getLocation().getValue(); int hopsTaken = randomNode.routedPing(loc2); pings++; if(hopsTaken < 0) { failures++; avg.report(0.0); avg2.report(0.0); double ratio = (double)successes / ((double)(failures+successes)); Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" FAILED from "+randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+")"); } else { successes++; avg.report(1.0); avg2.report(1.0); double ratio = (double)successes / ((double)(failures+successes)); Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" success: "+hopsTaken+" "+randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+")"); } } catch (Throwable t) { Logger.error(RealNodeRoutingTest.class, "Caught "+t, t); } } if(pings > 10 && avg.currentValue() > 0.98 && ((double)successes / ((double)(failures+successes)) > 0.98)) { break; } } System.out.println(); System.out.println("Ping average > 98%, lets do some inserts/requests"); System.out.println(); int requestNumber = 0; RunningAverage requestsAvg = new SimpleRunningAverage(100, 0.0); String baseString = "" + System.currentTimeMillis() + " "; while(true) { try { requestNumber++; try { Thread.sleep(5000); } catch (InterruptedException e1) { } String dataString = baseString + requestNumber; // Pick random node to insert to int node1 = random.nextInt(NUMBER_OF_NODES); Node randomNode = nodes[node1]; Logger.error(RealNodeRequestInsertTest.class,"Inserting: \""+dataString+"\" to "+node1); byte[] data = dataString.getBytes(); ClientCHKBlock block; block = ClientCHKBlock.encode(data, false, false, (short)-1, 0); ClientCHK chk = (ClientCHK) block.getClientKey(); byte[] encData = block.getData(); byte[] encHeaders = block.getHeaders(); ClientCHKBlock newBlock = new ClientCHKBlock(encData, encHeaders, chk, true); Logger.error(RealNodeRequestInsertTest.class, "Decoded: "+new String(newBlock.memoryDecode())); Logger.error(RealNodeRequestInsertTest.class,"CHK: "+chk.getURI()); Logger.error(RealNodeRequestInsertTest.class,"Headers: "+HexUtil.bytesToHex(block.getHeaders())); randomNode.realPut(block, true); Logger.error(RealNodeRequestInsertTest.class, "Inserted to "+node1); Logger.error(RealNodeRequestInsertTest.class, "Data: "+Fields.hashCode(encData)+", Headers: "+Fields.hashCode(encHeaders)); // Pick random node to request from int node2; do { node2 = random.nextInt(NUMBER_OF_NODES); } while(node2 == node1); Node fetchNode = nodes[node2]; block = (ClientCHKBlock) fetchNode.realGetKey((ClientKey) chk, false, true, false); if(block == null) { Logger.error(RealNodeRequestInsertTest.class, "Fetch FAILED from "+node2); requestsAvg.report(0.0); } else { byte[] results = block.memoryDecode(); requestsAvg.report(1.0); if(Arrays.equals(results, data)) { Logger.error(RealNodeRequestInsertTest.class, "Fetch succeeded: "+new String(results)); } else { Logger.error(RealNodeRequestInsertTest.class, "Returned invalid data!: "+new String(results)); } } } catch (Throwable t) { Logger.error(RealNodeRequestInsertTest.class, "Caught "+t, t); } } }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/62fd59041864b4ed1f43adc676de6bfb5ea977f3/RealNodeRequestInsertTest.java/clean/src/freenet/node/RealNodeRequestInsertTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 9247, 13047, 16, 10669, 13047, 16, 6469, 47, 5509, 503, 288, 3639, 10669, 907, 18, 8394, 9152, 22681, 5846, 5062, 48, 87, 273, 638, 31, 3639, 514, 14452, 273, 315, 7688, 907, 691, 4600, 4709, 14432, 3639, 394, 1387, 12, 3623, 2934, 26686, 5621, 3639, 368, 7615, 1404, 30152, 13378, 1637, 2199, 5, 3639, 2029, 18, 6694, 67, 5062, 48, 273, 1381, 31, 3639, 1387, 3328, 5394, 7625, 273, 4242, 18, 8401, 27334, 7735, 12, 3328, 18, 9394, 16, 315, 74, 2842, 278, 18, 2233, 30, 17364, 16, 74, 2842, 278, 18, 2159, 18, 2735, 30, 6130, 6, 1748, 6, 74, 2842, 278, 18, 2159, 18, 2735, 1318, 30, 4148, 16, 74, 2842, 278, 18, 2159, 18, 19793, 52, 6667, 1318, 30, 6130, 16, 74, 2842, 278, 18, 1594, 18, 5702, 18, 57, 9295, 4534, 1318, 30, 4148, 6, 5549, 1769, 3639, 4242, 18, 6347, 694, 7614, 12, 3328, 18, 9394, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 4600, 19, 17466, 1842, 8863, 3639, 2332, 18, 659, 18, 8222, 5621, 3639, 28622, 8529, 1830, 2744, 273, 394, 28622, 8529, 1830, 5621, 3639, 13008, 1385, 44, 1165, 4728, 18, 2738, 12, 9188, 1769, 3639, 2029, 8526, 2199, 273, 394, 2029, 63, 9931, 67, 3932, 67, 8744, 55, 15533, 3639, 4242, 18, 6130, 12, 6955, 907, 13966, 4709, 18, 1106, 16, 315, 11092, 2199, 7070, 1769, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 9931, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 9247, 13047, 16, 10669, 13047, 16, 6469, 47, 5509, 503, 288, 3639, 10669, 907, 18, 8394, 9152, 22681, 5846, 5062, 48, 87, 273, 638, 31, 3639, 514, 14452, 273, 315, 7688, 907, 691, 4600, 4709, 14432, 3639, 394, 1387, 12, 3623, 2934, 26686, 5621, 3639, 368, 7615, 1404, 30152, 13378, 1637, 2199, 5, 3639, 2029, 18, 6694, 67, 5062, 48, 273, 1381, 31, 3639, 1387, 3328, 5394, 7625, 273, 4242, 18, 8401, 27334, 7735, 12, 3328, 18, 9394, 16, 315, 74, 2842, 278, 18, 2233, 30, 17364, 16, 74, 2842, 278, 18, 2159, 18, 2735, 30, 6130, 6, 1748, 6, 74, 2842, 278, 18, 2159, 18, 2735, 1318, 2 ]
statement(null); consume();
{ checkToken = LA(1); try { statement(createNewScope ? newScope : scope ); } catch( Backtrack b ) { failParse(); if( LA(1) == checkToken ) errorHandling(); } } consume(IToken.tRBRACE); if( createNewScope ) newScope.exitScope( requestor );
protected void compoundStatement() throws Backtrack { consume(IToken.tLBRACE); while (LT(1) != IToken.tRBRACE) statement(null); consume(); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/619b617056a791f58d394641c96f4db0f62b20e3/Parser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 11360, 3406, 1435, 1216, 4297, 4101, 565, 288, 3639, 7865, 12, 1285, 969, 18, 88, 12995, 9254, 1769, 3639, 1323, 261, 12050, 12, 21, 13, 480, 467, 1345, 18, 88, 19437, 9254, 13, 5411, 3021, 12, 2011, 1769, 3639, 7865, 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 ]
Collection agents=(Set)status.value;
protected List searchByCommunityAndRole(String community,String role) { ArrayList list= new ArrayList(); if(communityService==null) { loggingService.error(" Community Service is null in searchByCommunityAndRole " +myAddress.toString()); return list; } if(community==null) { loggingService.error(" community is null in searchByCommunityAndRole " +myAddress.toString()); return list; } if(role==null) { loggingService.error(" Role is null in searchByCommunityAndRole " +myAddress.toString()); return list; } final Status status = new Status(); final Semaphore s = new Semaphore(0); CommunityResponseListener crl = new CommunityResponseListener() { public void getResponse(CommunityResponse resp) { Object response = resp.getContent(); if (!(response instanceof Set)) { String errorString = "Unexpected community response class:" + response.getClass().getName() + " - Should be a Set"; loggingService.error(errorString); throw new RuntimeException(errorString); } status.value = (Set) response; s.release(); } }; // TODO: do this truly asynchronously. String filter = "(Role=" + role + ")"; communityService.searchCommunity(community, filter, true, Community.AGENTS_ONLY, crl); try { s.acquire(); } catch (InterruptedException ie) { loggingService.error("Error in searchByCommunity:", ie); } Collection agents=(Set)status.value; //Collection searchresult=communityService.searchByRole(community,role); Iterator roleiter=agents.iterator(); while(roleiter.hasNext()) { Entity entity = (Entity) roleiter.next(); list.add(entity.getName()); } return list; }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/011ffb8fa041f290639068c31ef03a4b47b81f23/MnRQueryBase.java/clean/securityservices/src/org/cougaar/core/security/monitoring/plugin/MnRQueryBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 987, 1623, 858, 12136, 13352, 1876, 2996, 12, 780, 19833, 16, 780, 2478, 13, 288, 565, 2407, 666, 33, 394, 2407, 5621, 565, 309, 12, 20859, 1179, 631, 2011, 13, 288, 1377, 2907, 1179, 18, 1636, 2932, 16854, 13352, 1956, 353, 446, 316, 1623, 858, 12136, 13352, 1876, 2996, 315, 397, 4811, 1887, 18, 10492, 10663, 4202, 327, 666, 31, 565, 289, 565, 309, 12, 20859, 631, 2011, 13, 288, 1377, 2907, 1179, 18, 1636, 2932, 19833, 353, 446, 316, 1623, 858, 12136, 13352, 1876, 2996, 315, 397, 4811, 1887, 18, 10492, 10663, 4202, 327, 666, 31, 565, 289, 377, 309, 12, 4615, 631, 2011, 13, 288, 1377, 2907, 1179, 18, 1636, 2932, 6204, 225, 353, 446, 316, 1623, 858, 12136, 13352, 1876, 2996, 315, 397, 4811, 1887, 18, 10492, 10663, 4202, 327, 666, 31, 565, 289, 565, 727, 2685, 1267, 273, 394, 2685, 5621, 565, 727, 15661, 18837, 272, 273, 394, 15661, 18837, 12, 20, 1769, 565, 16854, 13352, 1064, 2223, 18789, 273, 394, 16854, 13352, 1064, 2223, 1435, 288, 202, 482, 918, 6476, 12, 12136, 13352, 1064, 1718, 13, 288, 202, 225, 1033, 766, 273, 1718, 18, 588, 1350, 5621, 202, 225, 309, 16051, 12, 2740, 1276, 1000, 3719, 288, 202, 565, 514, 555, 780, 273, 315, 7762, 19833, 766, 667, 2773, 202, 1377, 397, 766, 18, 588, 797, 7675, 17994, 1435, 397, 315, 300, 9363, 506, 279, 1000, 14432, 202, 565, 2907, 1179, 18, 1636, 12, 1636, 780, 1769, 202, 565, 604, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 987, 1623, 858, 12136, 13352, 1876, 2996, 12, 780, 19833, 16, 780, 2478, 13, 288, 565, 2407, 666, 33, 394, 2407, 5621, 565, 309, 12, 20859, 1179, 631, 2011, 13, 288, 1377, 2907, 1179, 18, 1636, 2932, 16854, 13352, 1956, 353, 446, 316, 1623, 858, 12136, 13352, 1876, 2996, 315, 397, 4811, 1887, 18, 10492, 10663, 4202, 327, 666, 31, 565, 289, 565, 309, 12, 20859, 631, 2011, 13, 288, 1377, 2907, 1179, 18, 1636, 2932, 19833, 353, 446, 316, 1623, 858, 12136, 13352, 1876, 2996, 315, 397, 4811, 1887, 18, 10492, 10663, 4202, 327, 666, 31, 565, 289, 377, 309, 12, 4615, 631, 2011, 13, 288, 1377, 2907, 1179, 18, 1636, 2932, 6204, 225, 353, 446, 2 ]
{ }
{ }
public KeyHandler() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1929, 1503, 1435, 202, 202, 95, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1929, 1503, 1435, 202, 202, 95, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
List users = mgr.getUsers();
List users = new ArrayList(mgr.getUsers());
private List getSortedUsers() { if (log.isDebugEnabled()) { log.debug("listing users"); } List users = mgr.getUsers(); Collections.sort(users, new Comparator() { public int compare(Object o1, Object o2) { User u1 = (User) o1; User u2 = (User) o2; String name1 = u1.getLastName() + " " + u1.getFirstName(); String name2 = u2.getLastName() + " " + u2.getFirstName(); return name1.compareTo(name2); } }); return users; }
47226 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47226/1ae6b7d00ab681becd1b5b011131441c75810884/UserAction.java/buggy/src/main/java/org/osaf/cosmo/ui/UserAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 15175, 329, 6588, 1435, 288, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 5411, 613, 18, 4148, 2932, 21228, 3677, 8863, 3639, 289, 3639, 987, 3677, 273, 394, 2407, 12, 13552, 18, 588, 6588, 10663, 3639, 5737, 18, 3804, 12, 5577, 16, 394, 13359, 1435, 288, 7734, 1071, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 10792, 2177, 582, 21, 273, 261, 1299, 13, 320, 21, 31, 10792, 2177, 582, 22, 273, 261, 1299, 13, 320, 22, 31, 10792, 514, 508, 21, 273, 582, 21, 18, 588, 3024, 461, 1435, 397, 315, 315, 397, 582, 21, 18, 588, 3759, 461, 5621, 10792, 514, 508, 22, 273, 582, 22, 18, 588, 3024, 461, 1435, 397, 315, 315, 397, 582, 22, 18, 588, 3759, 461, 5621, 10792, 327, 508, 21, 18, 9877, 774, 12, 529, 22, 1769, 7734, 289, 5411, 15549, 3639, 327, 3677, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 15175, 329, 6588, 1435, 288, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 5411, 613, 18, 4148, 2932, 21228, 3677, 8863, 3639, 289, 3639, 987, 3677, 273, 394, 2407, 12, 13552, 18, 588, 6588, 10663, 3639, 5737, 18, 3804, 12, 5577, 16, 394, 13359, 1435, 288, 7734, 1071, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 10792, 2177, 582, 21, 273, 261, 1299, 13, 320, 21, 31, 10792, 2177, 582, 22, 273, 261, 1299, 13, 320, 22, 31, 10792, 514, 508, 21, 273, 582, 21, 18, 588, 3024, 461, 1435, 397, 315, 315, 397, 582, 21, 18, 588, 3759, 461, 5621, 10792, 514, 508, 22, 273, 582, 22, 18, 588, 2 ]
fDocumentHandler.xmlDecl(version, encoding, standalone); }
fDocumentHandler.xmlDecl(version, encoding, standalone); }
public void callXMLDecl(int version, int encoding, int standalone) throws Exception { fDocumentHandler.xmlDecl(version, encoding, standalone); }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/f2b9ad84920b2015a53c9a67b4dfb5460fa0465e/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 745, 4201, 3456, 12, 474, 1177, 16, 509, 2688, 16, 509, 17676, 13, 1216, 1185, 288, 3639, 284, 2519, 1503, 18, 2902, 3456, 12, 1589, 16, 2688, 16, 17676, 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, 918, 745, 4201, 3456, 12, 474, 1177, 16, 509, 2688, 16, 509, 17676, 13, 1216, 1185, 288, 3639, 284, 2519, 1503, 18, 2902, 3456, 12, 1589, 16, 2688, 16, 17676, 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 ]
new BasicAttribute(attrID, Integer.toString(attrVal)));
new BasicAttribute(attrID, Integer.toString(attrVal)));
protected void execute() throws Exception, NamingException { String[] attrList = new String[attrListe.size()]; AttributesImpl attr = new AttributesImpl(); if (debug) { debugPrint(); } SearchControls constraints = new SearchControls(); attrListe.toArray(attrList); attrListe.clear(); try { connect(); switch (toDo) { case LDAPTransformer.STATE_INSIDE_EXECUTE_QUERY: try { if (scope.equals("OBJECT_SCOPE")) { constraints.setSearchScope(SearchControls.OBJECT_SCOPE); } else if (scope.equals("SUBTREE_SCOPE")) { constraints.setSearchScope(SearchControls.SUBTREE_SCOPE); } else { constraints.setSearchScope(SearchControls.ONELEVEL_SCOPE); } constraints.setTimeLimit(time_limit); constraints.setDerefLinkFlag(deref_link); constraints.setCountLimit(count_limit); if (attrList.length > 0) { constraints.setReturningAttributes(attrList); } NamingEnumeration ldapresults = ctx.search(searchbase, filter, constraints); if (!doc_element.equals("")) { transformer.start(doc_element, attr); } while (ldapresults != null && ldapresults.hasMore()) { if (!row_element.equals("")) { transformer.start(row_element, attr); } SearchResult si = (SearchResult)ldapresults.next(); javax.naming.directory.Attributes attrs = si.getAttributes(); if (attrs != null) { NamingEnumeration ae = attrs.getAll(); while (ae.hasMoreElements()) { Attribute at = (Attribute)ae.next(); Enumeration vals = at.getAll(); String attrID = at.getID(); if (showAttribute) { transformer.start(attrID, attr); } String attrVal = (String)vals.nextElement(); if (query_index > 0) { switch (transformer.getQuery(query_index-1).current_state) { case LDAPTransformer.STATE_INSIDE_FILTER_ELEMENT: if (!transformer.getQuery(query_index-1).filter.equals("")) { transformer.getQuery(query_index-1).filter.concat(", "); } transformer.getQuery(query_index-1).filter.concat(attrID).concat("=").concat(attrVal); break; default: transformer.start(attrID, attr); } } else { transformer.data(String.valueOf(attrVal)); } if (showAttribute) { transformer.end(attrID); } } } if (!row_element.equals("")) { transformer.end(row_element); } } if (!doc_element.equals("")) { transformer.end(doc_element); } } catch(Exception e) { if (sax_error) { throw new Exception ("[LDAPTransformer] Error in LDAP-Query: " + e.toString()); } else { transformer.start(error_element, attr); transformer.data("[LDAPTransformer] Error in LDAP-Query: " + e); transformer.end(error_element); transformer.getTheLogger().error("[LDAPTransformer] Exception: " + e.toString()); } } break; case LDAPTransformer.STATE_INSIDE_EXECUTE_INCREMENT: try { if (scope.equals("OBJECT_SCOPE")) { constraints.setSearchScope(SearchControls.OBJECT_SCOPE); } else if (scope.equals("SUBTREE_SCOPE")) { constraints.setSearchScope(SearchControls.SUBTREE_SCOPE); } else { constraints.setSearchScope(SearchControls.ONELEVEL_SCOPE); } constraints.setTimeLimit(time_limit); constraints.setDerefLinkFlag(deref_link); constraints.setCountLimit(count_limit); if (attrList.length != 1) { transformer.start(error_element, attr); transformer.data("Increment must reference exactly 1 attribute."); transformer.end(error_element); } else { constraints.setReturningAttributes(attrList); NamingEnumeration ldapresults = ctx.search(searchbase, filter, constraints); int attrVal = 0; String attrID = ""; SearchResult si = null; while (ldapresults != null && ldapresults.hasMore()) { si = (SearchResult)ldapresults.next(); javax.naming.directory.Attributes attrs = si.getAttributes(); if (attrs != null) { NamingEnumeration ae = attrs.getAll(); while (ae.hasMoreElements()) { Attribute at = (Attribute)ae.next(); Enumeration vals = at.getAll(); attrID = at.getID(); attrVal = Integer.parseInt((String)vals.nextElement()); } } } ++attrVal; // Specify the changes to make ModificationItem[] mods = new ModificationItem[1]; // Replace the "mail" attribute with a new value mods[0] = new ModificationItem(DirContext.REPLACE_ATTRIBUTE, new BasicAttribute(attrID, Integer.toString(attrVal))); // Perform the requested modifications on the named object ctx.modifyAttributes(new StringBuffer(si.toString().substring(0,si.toString().indexOf(":"))) .append(",").append(searchbase).toString(), mods); } } catch(Exception e) { if (sax_error) { throw new Exception ("[LDAPTransformer] Error incrementing an attribute: " + e.toString()); } else { transformer.start(error_element, attr); transformer.data("[LDAPTransformer] Error incrementing an attribute: " + e.toString()); transformer.end(error_element); transformer.getTheLogger().error("[LDAPTransformer] Error incrementing an attribute: " + e.toString()); } } break; default: } //end switch } catch (NamingException e) { if (sax_error) { throw new NamingException ("[LDAPTransformer] Failed ldap-connection to directory service: " + e.toString()); } else { transformer.start(error_element, attr); transformer.data("[LDAPTransformer] Failed ldap-connection to directory service."); transformer.end(error_element); transformer.getTheLogger().error("[LDAPTransformer] Failed to connect to " + serverurl + e.toString()); } } try { disconnect(); } catch (NamingException e) { if (sax_error) { throw new NamingException ("[LDAPTransformer] Failed ldap-disconnection from directory service: " + e.toString()); } else { transformer.start(error_element, attr); transformer.data("[LDAPTransformer] Failed ldap-disconnection to directory service."); transformer.end(error_element); transformer.getTheLogger().error("[LDAPTransformer] Failed to disconnect from " + serverurl + e.toString()); } } }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/52ffdd8b732294554bcca0d4e0574ce6a20c35bc/LDAPTransformer.java/buggy/src/blocks/naming/java/org/apache/cocoon/transformation/LDAPTransformer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 918, 1836, 1435, 1216, 1185, 16, 26890, 288, 5411, 514, 8526, 1604, 682, 273, 394, 514, 63, 1747, 682, 73, 18, 1467, 1435, 15533, 5411, 9055, 2828, 1604, 273, 394, 9055, 2828, 5621, 5411, 309, 261, 4148, 13, 288, 7734, 1198, 5108, 5621, 5411, 289, 5411, 5167, 16795, 6237, 273, 394, 5167, 16795, 5621, 5411, 1604, 682, 73, 18, 31447, 12, 1747, 682, 1769, 5411, 1604, 682, 73, 18, 8507, 5621, 5411, 775, 288, 7734, 3077, 5621, 7734, 1620, 261, 869, 3244, 13, 288, 10792, 648, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 15271, 9099, 67, 10753, 30, 13491, 775, 288, 18701, 309, 261, 4887, 18, 14963, 2932, 9422, 67, 19444, 6, 3719, 288, 27573, 6237, 18, 542, 2979, 3876, 12, 2979, 16795, 18, 9422, 67, 19444, 1769, 18701, 289, 469, 309, 261, 4887, 18, 14963, 2932, 8362, 26557, 67, 19444, 6, 3719, 288, 27573, 6237, 18, 542, 2979, 3876, 12, 2979, 16795, 18, 8362, 26557, 67, 19444, 1769, 18701, 289, 469, 288, 27573, 6237, 18, 542, 2979, 3876, 12, 2979, 16795, 18, 5998, 10398, 67, 19444, 1769, 18701, 289, 18701, 6237, 18, 542, 950, 3039, 12, 957, 67, 3595, 1769, 18701, 6237, 18, 542, 40, 822, 74, 2098, 4678, 12, 765, 10241, 67, 1232, 1769, 18701, 6237, 18, 542, 1380, 3039, 12, 1883, 67, 3595, 1769, 18701, 309, 261, 1747, 682, 18, 2469, 405, 374, 13, 288, 27573, 6237, 18, 542, 28365, 2498, 12, 1747, 682, 1769, 18701, 289, 18701, 18884, 21847, 8079, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 918, 1836, 1435, 1216, 1185, 16, 26890, 288, 5411, 514, 8526, 1604, 682, 273, 394, 514, 63, 1747, 682, 73, 18, 1467, 1435, 15533, 5411, 9055, 2828, 1604, 273, 394, 9055, 2828, 5621, 5411, 309, 261, 4148, 13, 288, 7734, 1198, 5108, 5621, 5411, 289, 5411, 5167, 16795, 6237, 273, 394, 5167, 16795, 5621, 5411, 1604, 682, 73, 18, 31447, 12, 1747, 682, 1769, 5411, 1604, 682, 73, 18, 8507, 5621, 5411, 775, 288, 7734, 3077, 5621, 7734, 1620, 261, 869, 3244, 13, 288, 10792, 648, 11916, 8319, 18, 7998, 67, 706, 26498, 67, 15271, 9099, 67, 10753, 30, 13491, 775, 288, 18701, 309, 261, 4887, 18, 14963, 2932, 9422, 67, 19444, 6, 3719, 288, 27573, 6237, 2 ]
if (!RefactoringMessageUtil.checkReadOnlyStatusRecursively(project, Arrays.asList(elements))) return;
if (!CommonRefactoringUtil.checkReadOnlyStatusRecursively(project, Arrays.asList(elements))) return;
public static void deletePsiElement(final PsiElement[] elementsToDelete, final Project project) { if (elementsToDelete == null || elementsToDelete.length == 0) return; final PsiElement[] elements = DeleteUtil.filterElements(elementsToDelete); boolean safeDeleteApplicable = true; for (int i = 0; i < elements.length && safeDeleteApplicable; i++) { PsiElement element = elements[i]; safeDeleteApplicable = element.isWritable() && SafeDeleteProcessor.validElement(element); } if (safeDeleteApplicable) { DeleteDialog dialog = new DeleteDialog(project, elements, new DeleteDialog.Callback() { public void run(final DeleteDialog dialog) { if (!RefactoringMessageUtil.checkReadOnlyStatusRecursively(project, Arrays.asList(elements))) return; SafeDeleteProcessor.createInstance(project, new Runnable() { public void run() { dialog.close(DeleteDialog.CANCEL_EXIT_CODE); } }, elements, dialog.isSearchInComments(), dialog.isSearchInNonJava(), true).run(); } } ); dialog.show(); if (!dialog.isOK()) return; } else { String warningMessage = DeleteUtil.generateWarningMessage(IdeBundle.message("prompt.delete.elements"), elements); int defaultOption; boolean anyDirectories = false; String directoryName = null; for (PsiElement psiElement : elementsToDelete) { if (psiElement instanceof PsiDirectory) { anyDirectories = true; directoryName = ((PsiDirectory)psiElement).getName(); break; } } if (anyDirectories) { if (elements.length == 1) { warningMessage += IdeBundle.message("warning.delete.all.files.and.subdirectories", directoryName); } else { warningMessage += IdeBundle.message("warning.delete.all.files.and.subdirectories.in.the.selected.directory"); } defaultOption = -1; } else { defaultOption = 0; } int result = Messages.showDialog(project, warningMessage, IdeBundle.message("title.delete"), new String[]{CommonBundle.getOkButtonText(), CommonBundle.getCancelButtonText()}, defaultOption, Messages.getQuestionIcon()); if (result != 0) return; } final FileTypeManager ftManager = FileTypeManager.getInstance(); CommandProcessor.getInstance().executeCommand( project, new Runnable() { public void run() { for (int i = 0; i < elements.length; i++) { final PsiElement elementToDelete = elements[i]; if (elementToDelete instanceof PsiDirectory) { VirtualFile virtualFile = ((PsiDirectory)elementToDelete).getVirtualFile(); if (virtualFile.getFileSystem() instanceof LocalFileSystem) { ArrayList<VirtualFile> readOnlyFiles = new ArrayList<VirtualFile>(); getReadOnlyVirtualFiles(virtualFile, readOnlyFiles, ftManager); if (readOnlyFiles.size() > 0) { int _result = Messages.showOkCancelDialog( project, IdeBundle.message("prompt.directory.contains.read.only.files", virtualFile.getPresentableUrl()), IdeBundle.message("title.delete"), Messages.getQuestionIcon() ); if (_result != 0) continue; boolean success = true; for (int j = 0; j < readOnlyFiles.size(); j++) { VirtualFile file = readOnlyFiles.get(j); success = clearReadOnlyFlag(file, project); if (!success) break; } if (!success) continue; } } } else if (!elementToDelete.isWritable()) { final PsiFile file = elementToDelete.getContainingFile(); if (file != null) { final VirtualFile virtualFile = file.getVirtualFile(); if (virtualFile.getFileSystem() instanceof LocalFileSystem) { int _result = MessagesEx.fileIsReadOnly(project, virtualFile) .setTitle(IdeBundle.message("title.delete")) .appendMessage(IdeBundle.message("prompt.delete.it.anyway")) .askOkCancel(); if (_result != 0) continue; boolean success = clearReadOnlyFlag(virtualFile, project); if (!success) continue; } } } try { elementToDelete.checkDelete(); } catch (IncorrectOperationException ex) { Messages.showMessageDialog(project, ex.getMessage(), CommonBundle.getErrorTitle(), Messages.getErrorIcon()); continue; } ApplicationManager.getApplication().runWriteAction(new Runnable() { public void run() { try { elementToDelete.delete(); } catch (final IncorrectOperationException ex) { ApplicationManager.getApplication().invokeLater(new Runnable() { public void run() { Messages.showMessageDialog(project, ex.getMessage(), CommonBundle.getErrorTitle(), Messages.getErrorIcon()); } }); } } }); } } }, IdeBundle.message("command.delete"), null ); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/baee929cd58a1e84ca4320072f225f752948f30b/DeleteHandler.java/buggy/source/com/intellij/ide/util/DeleteHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1430, 52, 7722, 1046, 12, 6385, 453, 7722, 1046, 8526, 2186, 14976, 16, 727, 5420, 1984, 13, 288, 565, 309, 261, 6274, 14976, 422, 446, 747, 2186, 14976, 18, 2469, 422, 374, 13, 327, 31, 565, 727, 453, 7722, 1046, 8526, 2186, 273, 2504, 1304, 18, 2188, 3471, 12, 6274, 14976, 1769, 565, 1250, 4183, 2613, 27873, 273, 638, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 597, 4183, 2613, 27873, 31, 277, 27245, 288, 1377, 453, 7722, 1046, 930, 273, 2186, 63, 77, 15533, 1377, 4183, 2613, 27873, 273, 930, 18, 291, 12061, 1435, 597, 14060, 2613, 5164, 18, 877, 1046, 12, 2956, 1769, 565, 289, 565, 309, 261, 4626, 2613, 27873, 13, 288, 1377, 2504, 6353, 6176, 273, 394, 2504, 6353, 12, 4406, 16, 2186, 16, 394, 2504, 6353, 18, 2428, 1435, 288, 3639, 1071, 918, 1086, 12, 6385, 2504, 6353, 6176, 13, 288, 1850, 309, 16051, 6517, 426, 3493, 6053, 1304, 18, 1893, 12066, 1482, 12474, 12, 4406, 16, 5647, 18, 345, 682, 12, 6274, 20349, 327, 31, 1850, 14060, 2613, 5164, 18, 2640, 1442, 12, 4406, 16, 394, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 2868, 6176, 18, 4412, 12, 2613, 6353, 18, 25268, 67, 28682, 67, 5572, 1769, 5411, 289, 1850, 19879, 2186, 16, 6176, 18, 291, 2979, 382, 9051, 9334, 6176, 18, 291, 2979, 382, 3989, 5852, 9334, 638, 2934, 2681, 5621, 3639, 289, 1377, 289, 1377, 11272, 1377, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1430, 52, 7722, 1046, 12, 6385, 453, 7722, 1046, 8526, 2186, 14976, 16, 727, 5420, 1984, 13, 288, 565, 309, 261, 6274, 14976, 422, 446, 747, 2186, 14976, 18, 2469, 422, 374, 13, 327, 31, 565, 727, 453, 7722, 1046, 8526, 2186, 273, 2504, 1304, 18, 2188, 3471, 12, 6274, 14976, 1769, 565, 1250, 4183, 2613, 27873, 273, 638, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 597, 4183, 2613, 27873, 31, 277, 27245, 288, 1377, 453, 7722, 1046, 930, 273, 2186, 63, 77, 15533, 1377, 4183, 2613, 27873, 273, 930, 18, 291, 12061, 1435, 597, 14060, 2613, 5164, 18, 877, 1046, 12, 2956, 1769, 565, 289, 565, 309, 2 ]
if (log().isDebugEnabled()) log().debug("poll: service= SNMP address= " + agentConfig);
if (log().isDebugEnabled()) log().debug("poll: service= SNMP address= " + agentConfig);
public PollStatus poll(MonitoredService svc, Map parameters, org.opennms.netmgt.config.poller.Package pkg) { NetworkInterface iface = svc.getNetInterface(); PollStatus status = PollStatus.unavailable(); InetAddress ipaddr = (InetAddress) iface.getAddress(); // Retrieve this interface's SNMP peer object // SnmpAgentConfig agentConfig = (SnmpAgentConfig) iface.getAttribute(SNMP_AGENTCONFIG_KEY); if (agentConfig == null) throw new RuntimeException("SnmpAgentConfig object not available for interface " + ipaddr); // Get configuration parameters // int timeout = ParameterMap.getKeyedInteger(parameters, "timeout", agentConfig.getTimeout()); int retries = ParameterMap.getKeyedInteger(parameters, "retries", agentConfig.getRetries()); int port = ParameterMap.getKeyedInteger(parameters, "port", DEFAULT_PORT); String oid = ParameterMap.getKeyedString(parameters, "oid", DEFAULT_OBJECT_IDENTIFIER); String operator = ParameterMap.getKeyedString(parameters, "operator", null); String operand = ParameterMap.getKeyedString(parameters, "operand", null); String walkstr = ParameterMap.getKeyedString(parameters, "walk", "false"); // set timeout and retries on SNMP peer object // agentConfig.setTimeout(timeout); agentConfig.setRetries(retries); agentConfig.setPort(port); if (log().isDebugEnabled()) log().debug("poll: service= SNMP address= " + agentConfig); // Establish SNMP session with interface // try { if (log().isDebugEnabled()) { log().debug("SnmpMonitor.poll: SnmpAgentConfig address: " +agentConfig); } SnmpObjId snmpObjectId = new SnmpObjId(oid); if ("true".equals(walkstr)) { List<SnmpValue> results = SnmpUtils.getColumns(agentConfig, "snmpPoller", snmpObjectId); for(SnmpValue result : results) { if (result != null) { log().debug("poll: SNMPwalk poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + oid + " value=" + result); if (meetsCriteria(result, operator, operand)) { status = PollStatus.available(); } } else { status = logDown(Level.DEBUG, "SNMP poll failed, addr=" + ipaddr.getHostAddress() + " oid=" + oid); return status; } } } else { SnmpValue result = SnmpUtils.get(agentConfig, snmpObjectId); if (result != null) { log().debug("poll: SNMP poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + oid + " value=" + result); status = (meetsCriteria(result, operator, operand) ? PollStatus.available() : PollStatus.unavailable()); } else { status = logDown(Level.DEBUG, "SNMP poll failed, addr=" + ipaddr.getHostAddress() + " oid=" + oid); } } } catch (NumberFormatException e) { status = logDown(Level.ERROR, "Number operator used on a non-number " + e.getMessage()); } catch (IllegalArgumentException e) { status = logDown(Level.ERROR, "Invalid Snmp Criteria: " + e.getMessage()); } catch (Throwable t) { status = logDown(Level.WARN, "Unexpected exception during SNMP poll of interface " + ipaddr.getHostAddress(), t); } return status; }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/197dbe646ed332296ce0438e4180826282aabffb/SnmpMonitor.java/clean/opennms-services/src/main/java/org/opennms/netmgt/poller/monitors/SnmpMonitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19160, 1482, 7672, 12, 11415, 20425, 1179, 7538, 16, 1635, 1472, 16, 2358, 18, 3190, 82, 959, 18, 2758, 81, 4521, 18, 1425, 18, 3915, 749, 18, 2261, 3475, 13, 288, 3639, 21109, 9751, 273, 7538, 18, 588, 7308, 1358, 5621, 3639, 19160, 1482, 1267, 273, 19160, 1482, 18, 318, 5699, 5621, 3639, 14218, 2359, 4793, 273, 261, 382, 278, 1887, 13, 9751, 18, 588, 1887, 5621, 3639, 368, 10708, 333, 1560, 1807, 14204, 4566, 4261, 733, 3639, 368, 3639, 18961, 1291, 3630, 809, 4040, 809, 273, 261, 10461, 1291, 3630, 809, 13, 9751, 18, 588, 1499, 12, 13653, 4566, 67, 15005, 7203, 67, 3297, 1769, 3639, 309, 261, 5629, 809, 422, 446, 13, 5411, 604, 394, 3235, 2932, 10461, 1291, 3630, 809, 733, 486, 2319, 364, 1560, 315, 397, 2359, 4793, 1769, 3639, 368, 968, 1664, 1472, 3639, 368, 3639, 509, 2021, 273, 5498, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 4538, 3113, 4040, 809, 18, 588, 2694, 10663, 3639, 509, 9453, 273, 5498, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 15215, 3113, 4040, 809, 18, 588, 13656, 10663, 3639, 509, 1756, 273, 5498, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 655, 3113, 3331, 67, 6354, 1769, 3639, 514, 7764, 273, 5498, 863, 18, 588, 653, 329, 780, 12, 3977, 16, 315, 839, 3113, 3331, 67, 9422, 67, 16606, 1769, 3639, 514, 3726, 273, 5498, 863, 18, 588, 653, 329, 780, 12, 3977, 16, 315, 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, 19160, 1482, 7672, 12, 11415, 20425, 1179, 7538, 16, 1635, 1472, 16, 2358, 18, 3190, 82, 959, 18, 2758, 81, 4521, 18, 1425, 18, 3915, 749, 18, 2261, 3475, 13, 288, 3639, 21109, 9751, 273, 7538, 18, 588, 7308, 1358, 5621, 3639, 19160, 1482, 1267, 273, 19160, 1482, 18, 318, 5699, 5621, 3639, 14218, 2359, 4793, 273, 261, 382, 278, 1887, 13, 9751, 18, 588, 1887, 5621, 3639, 368, 10708, 333, 1560, 1807, 14204, 4566, 4261, 733, 3639, 368, 3639, 18961, 1291, 3630, 809, 4040, 809, 273, 261, 10461, 1291, 3630, 809, 13, 9751, 18, 588, 1499, 12, 13653, 4566, 67, 15005, 7203, 67, 3297, 1769, 3639, 309, 261, 5629, 809, 422, 446, 13, 5411, 604, 394, 2 ]
Assert.assertEquals(new String[] { "oparam1", "oparam2" }, configuration.getParameters()); Assert.assertEquals(new String[] { "group1", "ogroup1", "ogroup2", "group2" }, configuration.getGroups()); Assert.assertEquals(new String[] { "odg1", "odg2" }, configuration.getDependsOnGroups()); Assert.assertEquals(new String[] { "odm1", "odm2" }, configuration.getDependsOnMethods());
Assert.assertEquals(configuration.getParameters(), new String[] { "oparam1", "oparam2" }); Assert.assertEqualsNoOrder(configuration.getGroups(), new String[] { "group1", "ogroup1", "ogroup2", "group2" }, "groups"); Assert.assertEqualsNoOrder(configuration.getDependsOnGroups(), new String[] { "odg1", "odg2" }, "depends on groups"); Assert.assertEqualsNoOrder(configuration.getDependsOnMethods(), new String[] { "odm1", "odm2" }, "depends on methods");
public void verifyConfigurationOthers() throws SecurityException, NoSuchMethodException { Method method = MTest1.class.getMethod("otherConfigurations", new Class[0]); IConfiguration configuration = (IConfiguration) m_finder.findAnnotation(method, IConfiguration.class); Assert.assertNotNull(configuration); Assert.assertFalse(configuration.getBeforeSuite()); Assert.assertFalse(configuration.getBeforeTestMethod()); Assert.assertFalse(configuration.getBeforeTest()); Assert.assertFalse(configuration.getBeforeTestClass()); Assert.assertFalse(configuration.getAfterSuite()); Assert.assertFalse(configuration.getAfterTestMethod()); Assert.assertFalse(configuration.getAfterTest()); Assert.assertFalse(configuration.getAfterTestClass()); Assert.assertFalse(configuration.getEnabled()); Assert.assertEquals(new String[] { "oparam1", "oparam2" }, configuration.getParameters()); Assert.assertEquals(new String[] { "group1", "ogroup1", "ogroup2", "group2" }, configuration.getGroups()); Assert.assertEquals(new String[] { "odg1", "odg2" }, configuration.getDependsOnGroups()); Assert.assertEquals(new String[] { "odm1", "odm2" }, configuration.getDependsOnMethods()); Assert.assertFalse(configuration.getInheritGroups()); Assert.assertTrue(configuration.getAlwaysRun()); Assert.assertEquals(configuration.getDescription(), "beforeSuite description"); }
50994 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50994/8b8bc76fa825845109cea3a3a79ff040454421a0/MAnnotationSampleTest.java/buggy/test/src/test/mannotation/MAnnotationSampleTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3929, 1750, 51, 29540, 1435, 377, 1216, 17780, 16, 15959, 282, 288, 565, 2985, 707, 273, 490, 4709, 21, 18, 1106, 18, 588, 1305, 2932, 3011, 9698, 3113, 394, 1659, 63, 20, 19226, 565, 467, 1750, 1664, 273, 4202, 261, 45, 1750, 13, 312, 67, 15356, 18, 4720, 3257, 12, 2039, 16, 467, 1750, 18, 1106, 1769, 565, 5452, 18, 11231, 5962, 12, 7025, 1769, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4649, 13587, 10663, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4649, 4709, 1305, 10663, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4649, 4709, 10663, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4649, 4709, 797, 10663, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4436, 13587, 10663, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4436, 4709, 1305, 10663, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4436, 4709, 10663, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4436, 4709, 797, 10663, 3639, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 1526, 10663, 565, 5452, 18, 11231, 8867, 12, 2704, 514, 8526, 288, 315, 556, 439, 21, 3113, 315, 556, 439, 22, 6, 19879, 1664, 18, 588, 2402, 10663, 565, 5452, 18, 11231, 8867, 12, 2704, 514, 8526, 288, 315, 1655, 21, 3113, 315, 717, 656, 21, 3113, 315, 717, 656, 22, 3113, 315, 1655, 22, 6, 19879, 1664, 18, 588, 3621, 10663, 565, 5452, 18, 11231, 8867, 12, 2704, 514, 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, 3929, 1750, 51, 29540, 1435, 377, 1216, 17780, 16, 15959, 282, 288, 565, 2985, 707, 273, 490, 4709, 21, 18, 1106, 18, 588, 1305, 2932, 3011, 9698, 3113, 394, 1659, 63, 20, 19226, 565, 467, 1750, 1664, 273, 4202, 261, 45, 1750, 13, 312, 67, 15356, 18, 4720, 3257, 12, 2039, 16, 467, 1750, 18, 1106, 1769, 565, 5452, 18, 11231, 5962, 12, 7025, 1769, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4649, 13587, 10663, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4649, 4709, 1305, 10663, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4649, 4709, 10663, 565, 5452, 18, 11231, 8381, 12, 7025, 18, 588, 4649, 4709, 797, 10663, 565, 2 ]
_t = __t843;
_t = __t828;
public final void framephrase(AST _t) throws RecognitionException { AST framephrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t832 = _t; AST tmp133_AST_in = (AST)_t; match(_t,WITH); _t = _t.getFirstChild(); { _loop861: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ACCUMULATE: { AST __t834 = _t; AST tmp134_AST_in = (AST)_t; match(_t,ACCUMULATE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else if ((_t.getType()==3)) { } else { throw new NoViableAltException(_t); } } _t = __t834; _t = _t.getNextSibling(); break; } case ATTRSPACE: { AST tmp135_AST_in = (AST)_t; match(_t,ATTRSPACE); _t = _t.getNextSibling(); break; } case NOATTRSPACE: { AST tmp136_AST_in = (AST)_t; match(_t,NOATTRSPACE); _t = _t.getNextSibling(); break; } case CANCELBUTTON: { AST __t836 = _t; AST tmp137_AST_in = (AST)_t; match(_t,CANCELBUTTON); _t = _t.getFirstChild(); fld(_t,CQ.SYMBOL); _t = _retTree; _t = __t836; _t = _t.getNextSibling(); break; } case CENTERED: { AST tmp138_AST_in = (AST)_t; match(_t,CENTERED); _t = _t.getNextSibling(); break; } case COLUMN: { AST __t837 = _t; AST tmp139_AST_in = (AST)_t; match(_t,COLUMN); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t837; _t = _t.getNextSibling(); break; } case CONTEXTHELP: { AST tmp140_AST_in = (AST)_t; match(_t,CONTEXTHELP); _t = _t.getNextSibling(); break; } case CONTEXTHELPFILE: { AST tmp141_AST_in = (AST)_t; match(_t,CONTEXTHELPFILE); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } case DEFAULTBUTTON: { AST __t838 = _t; AST tmp142_AST_in = (AST)_t; match(_t,DEFAULTBUTTON); _t = _t.getFirstChild(); fld(_t,CQ.SYMBOL); _t = _retTree; _t = __t838; _t = _t.getNextSibling(); break; } case EXPORT: { AST tmp143_AST_in = (AST)_t; match(_t,EXPORT); _t = _t.getNextSibling(); break; } case FITLASTCOLUMN: { AST tmp144_AST_in = (AST)_t; match(_t,FITLASTCOLUMN); _t = _t.getNextSibling(); break; } case FONT: { AST __t839 = _t; AST tmp145_AST_in = (AST)_t; match(_t,FONT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t839; _t = _t.getNextSibling(); break; } case FONTBASEDLAYOUT: { AST tmp146_AST_in = (AST)_t; match(_t,FONTBASEDLAYOUT); _t = _t.getNextSibling(); break; } case FRAME: { frame_ref(_t); _t = _retTree; break; } case LABELFONT: { AST __t840 = _t; AST tmp147_AST_in = (AST)_t; match(_t,LABELFONT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t840; _t = _t.getNextSibling(); break; } case LABELDCOLOR: { AST __t841 = _t; AST tmp148_AST_in = (AST)_t; match(_t,LABELDCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t841; _t = _t.getNextSibling(); break; } case LABELFGCOLOR: { AST __t842 = _t; AST tmp149_AST_in = (AST)_t; match(_t,LABELFGCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t842; _t = _t.getNextSibling(); break; } case LABELBGCOLOR: { AST __t843 = _t; AST tmp150_AST_in = (AST)_t; match(_t,LABELBGCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t843; _t = _t.getNextSibling(); break; } case MULTIPLE: { AST tmp151_AST_in = (AST)_t; match(_t,MULTIPLE); _t = _t.getNextSibling(); break; } case SINGLE: { AST tmp152_AST_in = (AST)_t; match(_t,SINGLE); _t = _t.getNextSibling(); break; } case SEPARATORS: { AST tmp153_AST_in = (AST)_t; match(_t,SEPARATORS); _t = _t.getNextSibling(); break; } case NOSEPARATORS: { AST tmp154_AST_in = (AST)_t; match(_t,NOSEPARATORS); _t = _t.getNextSibling(); break; } case NOASSIGN: { AST tmp155_AST_in = (AST)_t; match(_t,NOASSIGN); _t = _t.getNextSibling(); break; } case NOROWMARKERS: { AST tmp156_AST_in = (AST)_t; match(_t,NOROWMARKERS); _t = _t.getNextSibling(); break; } case NOSCROLLBARVERTICAL: { AST tmp157_AST_in = (AST)_t; match(_t,NOSCROLLBARVERTICAL); _t = _t.getNextSibling(); break; } case SCROLLBARVERTICAL: { AST tmp158_AST_in = (AST)_t; match(_t,SCROLLBARVERTICAL); _t = _t.getNextSibling(); break; } case ROWHEIGHTCHARS: { AST __t844 = _t; AST tmp159_AST_in = (AST)_t; match(_t,ROWHEIGHTCHARS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t844; _t = _t.getNextSibling(); break; } case ROWHEIGHTPIXELS: { AST __t845 = _t; AST tmp160_AST_in = (AST)_t; match(_t,ROWHEIGHTPIXELS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t845; _t = _t.getNextSibling(); break; } case EXPANDABLE: { AST tmp161_AST_in = (AST)_t; match(_t,EXPANDABLE); _t = _t.getNextSibling(); break; } case DROPTARGET: { AST tmp162_AST_in = (AST)_t; match(_t,DROPTARGET); _t = _t.getNextSibling(); break; } case NOAUTOVALIDATE: { AST tmp163_AST_in = (AST)_t; match(_t,NOAUTOVALIDATE); _t = _t.getNextSibling(); break; } case NOCOLUMNSCROLLING: { AST tmp164_AST_in = (AST)_t; match(_t,NOCOLUMNSCROLLING); _t = _t.getNextSibling(); break; } case KEEPTABORDER: { AST tmp165_AST_in = (AST)_t; match(_t,KEEPTABORDER); _t = _t.getNextSibling(); break; } case NOBOX: { AST tmp166_AST_in = (AST)_t; match(_t,NOBOX); _t = _t.getNextSibling(); break; } case NOEMPTYSPACE: { AST tmp167_AST_in = (AST)_t; match(_t,NOEMPTYSPACE); _t = _t.getNextSibling(); break; } case NOHIDE: { AST tmp168_AST_in = (AST)_t; match(_t,NOHIDE); _t = _t.getNextSibling(); break; } case NOLABELS: { AST tmp169_AST_in = (AST)_t; match(_t,NOLABELS); _t = _t.getNextSibling(); break; } case USEDICTEXPS: { AST tmp170_AST_in = (AST)_t; match(_t,USEDICTEXPS); _t = _t.getNextSibling(); break; } case NOVALIDATE: { AST tmp171_AST_in = (AST)_t; match(_t,NOVALIDATE); _t = _t.getNextSibling(); break; } case NOHELP: { AST tmp172_AST_in = (AST)_t; match(_t,NOHELP); _t = _t.getNextSibling(); break; } case NOUNDERLINE: { AST tmp173_AST_in = (AST)_t; match(_t,NOUNDERLINE); _t = _t.getNextSibling(); break; } case OVERLAY: { AST tmp174_AST_in = (AST)_t; match(_t,OVERLAY); _t = _t.getNextSibling(); break; } case PAGEBOTTOM: { AST tmp175_AST_in = (AST)_t; match(_t,PAGEBOTTOM); _t = _t.getNextSibling(); break; } case PAGETOP: { AST tmp176_AST_in = (AST)_t; match(_t,PAGETOP); _t = _t.getNextSibling(); break; } case NOTABSTOP: { AST tmp177_AST_in = (AST)_t; match(_t,NOTABSTOP); _t = _t.getNextSibling(); break; } case RETAIN: { AST __t846 = _t; AST tmp178_AST_in = (AST)_t; match(_t,RETAIN); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t846; _t = _t.getNextSibling(); break; } case ROW: { AST __t847 = _t; AST tmp179_AST_in = (AST)_t; match(_t,ROW); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t847; _t = _t.getNextSibling(); break; } case SCREENIO: { AST tmp180_AST_in = (AST)_t; match(_t,SCREENIO); _t = _t.getNextSibling(); break; } case STREAMIO: { AST tmp181_AST_in = (AST)_t; match(_t,STREAMIO); _t = _t.getNextSibling(); break; } case SCROLL: { AST __t848 = _t; AST tmp182_AST_in = (AST)_t; match(_t,SCROLL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t848; _t = _t.getNextSibling(); break; } case SCROLLABLE: { AST tmp183_AST_in = (AST)_t; match(_t,SCROLLABLE); _t = _t.getNextSibling(); break; } case SIDELABELS: { AST tmp184_AST_in = (AST)_t; match(_t,SIDELABELS); _t = _t.getNextSibling(); break; } case STREAM: { stream_name(_t); _t = _retTree; break; } case THREED: { AST tmp185_AST_in = (AST)_t; match(_t,THREED); _t = _t.getNextSibling(); break; } case TOOLTIP: { tooltip_expr(_t); _t = _retTree; break; } case TOPONLY: { AST tmp186_AST_in = (AST)_t; match(_t,TOPONLY); _t = _t.getNextSibling(); break; } case USETEXT: { AST tmp187_AST_in = (AST)_t; match(_t,USETEXT); _t = _t.getNextSibling(); break; } case V6FRAME: { AST tmp188_AST_in = (AST)_t; match(_t,V6FRAME); _t = _t.getNextSibling(); break; } case USEREVVIDEO: { AST tmp189_AST_in = (AST)_t; match(_t,USEREVVIDEO); _t = _t.getNextSibling(); break; } case USEUNDERLINE: { AST tmp190_AST_in = (AST)_t; match(_t,USEUNDERLINE); _t = _t.getNextSibling(); break; } case VIEWAS: { AST __t849 = _t; AST tmp191_AST_in = (AST)_t; match(_t,VIEWAS); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DIALOGBOX: { AST __t851 = _t; AST tmp192_AST_in = (AST)_t; match(_t,DIALOGBOX); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DIALOGHELP: { AST tmp193_AST_in = (AST)_t; match(_t,DIALOGHELP); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else if ((_t.getType()==3)) { } else { throw new NoViableAltException(_t); } } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t851; _t = _t.getNextSibling(); break; } case MESSAGELINE: { AST tmp194_AST_in = (AST)_t; match(_t,MESSAGELINE); _t = _t.getNextSibling(); break; } case STATUSBAR: { AST tmp195_AST_in = (AST)_t; match(_t,STATUSBAR); _t = _t.getNextSibling(); break; } case TOOLBAR: { AST __t854 = _t; AST tmp196_AST_in = (AST)_t; match(_t,TOOLBAR); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ATTACHMENT: { AST tmp197_AST_in = (AST)_t; match(_t,ATTACHMENT); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TOP: { AST tmp198_AST_in = (AST)_t; match(_t,TOP); _t = _t.getNextSibling(); break; } case BOTTOM: { AST tmp199_AST_in = (AST)_t; match(_t,BOTTOM); _t = _t.getNextSibling(); break; } case LEFT: { AST tmp200_AST_in = (AST)_t; match(_t,LEFT); _t = _t.getNextSibling(); break; } case RIGHT: { AST tmp201_AST_in = (AST)_t; match(_t,RIGHT); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t854; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } _t = __t849; _t = _t.getNextSibling(); break; } case WIDTH: { AST __t857 = _t; AST tmp202_AST_in = (AST)_t; match(_t,WIDTH); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t857; _t = _t.getNextSibling(); break; } case IN_KW: { AST __t858 = _t; AST tmp203_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getFirstChild(); AST tmp204_AST_in = (AST)_t; match(_t,WINDOW); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t858; _t = _t.getNextSibling(); break; } case BGCOLOR: case COLOR: case DCOLOR: case FGCOLOR: case PFCOLOR: { colorspecification(_t); _t = _retTree; break; } case AT: { atphrase(_t); _t = _retTree; break; } case SIZE: case SIZECHARS: case SIZEPIXELS: { sizephrase(_t); _t = _retTree; break; } case TITLE: { titlephrase(_t); _t = _retTree; break; } case With_columns: { AST __t859 = _t; AST tmp205_AST_in = (AST)_t; match(_t,With_columns); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp206_AST_in = (AST)_t; match(_t,COLUMNS); _t = _t.getNextSibling(); _t = __t859; _t = _t.getNextSibling(); break; } case With_down: { AST __t860 = _t; AST tmp207_AST_in = (AST)_t; match(_t,With_down); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp208_AST_in = (AST)_t; match(_t,DOWN); _t = _t.getNextSibling(); _t = __t860; _t = _t.getNextSibling(); break; } case DOWN: { AST tmp209_AST_in = (AST)_t; match(_t,DOWN); _t = _t.getNextSibling(); break; } case WIDGETID: { widget_id(_t); _t = _retTree; break; } case WITH: { AST tmp210_AST_in = (AST)_t; match(_t,WITH); _t = _t.getNextSibling(); break; } default: { break _loop861; } } } while (true); } _t = __t832; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2623, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2623, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 28, 1578, 273, 389, 88, 31, 202, 202, 9053, 1853, 28615, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 9147, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 67, 6498, 5292, 21, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 18816, 2799, 1506, 1777, 30, 1082, 202, 95, 9506, 202, 9053, 1001, 88, 28, 5026, 273, 389, 88, 31, 9506, 202, 9053, 1853, 25213, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 31414, 2799, 1506, 1777, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 9506, 202, 95, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 9506, 202, 430, 14015, 67, 2316, 694, 67, 23, 18, 5990, 24899, 88, 18, 588, 559, 1435, 20349, 288, 6862, 202, 8692, 24899, 88, 1769, 6862, 202, 67, 88, 273, 389, 1349, 2471, 31, 9506, 202, 97, 9506, 202, 12107, 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, 2623, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2623, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 28, 1578, 273, 389, 88, 31, 202, 202, 9053, 1853, 28615, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 9147, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 67, 6498, 5292, 21, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 2 ]
LOG.debug(" hiddenMode='"+hiddenMode+"'");
protected void setProperties(UIComponent uiComponent) { if (LOG.isDebugEnabled()) { if (LineBreakComponent.COMPONENT_TYPE==getComponentType()) { LOG.debug("Component id='"+getId()+"' type='"+getComponentType()+"'."); } LOG.debug(" styleClass='"+styleClass+"'"); LOG.debug(" visible='"+visible+"'"); LOG.debug(" hiddenMode='"+hiddenMode+"'"); LOG.debug(" rendered='"+rendered+"'"); } super.setProperties(uiComponent); if ((uiComponent instanceof LineBreakComponent)==false) { throw new IllegalStateException("Component specified by tag is not instanceof of 'LineBreakComponent'."); } LineBreakComponent component = (LineBreakComponent) uiComponent; FacesContext facesContext = getFacesContext(); Application application = facesContext.getApplication(); if (styleClass != null) { if (isValueReference(styleClass)) { ValueBinding vb = application.createValueBinding(styleClass); component.setStyleClass(vb); } else { component.setStyleClass(styleClass); } } if (visible != null) { if (isValueReference(visible)) { ValueBinding vb = application.createValueBinding(visible); component.setVisible(vb); } else { component.setVisible(getBoolean(visible)); } } if (hiddenMode != null) { if (isValueReference(hiddenMode)) { ValueBinding vb = application.createValueBinding(hiddenMode); component.setHiddenMode(vb); } else { component.setHiddenMode(hiddenMode); } } if (rendered != null) { if (isValueReference(rendered)) { ValueBinding vb = application.createValueBinding(rendered); component.setVisible(vb); } else { component.setVisible(getBoolean(rendered)); } } }
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/LineBreakTag.java/clean/org.rcfaces.core/src/org/rcfaces/core/internal/taglib/LineBreakTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 23126, 12, 5370, 1841, 5915, 1841, 13, 288, 202, 202, 430, 261, 4842, 18, 291, 2829, 1526, 10756, 288, 1082, 202, 430, 261, 1670, 7634, 1841, 18, 22922, 67, 2399, 631, 588, 28116, 10756, 288, 9506, 202, 4842, 18, 4148, 2932, 1841, 612, 13396, 15, 26321, 1435, 15, 5187, 618, 13396, 15, 588, 28116, 1435, 15, 5187, 1199, 1769, 1082, 202, 97, 1082, 202, 4842, 18, 4148, 2932, 225, 2154, 797, 13396, 15, 4060, 797, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 6021, 13396, 15, 8613, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 5949, 2309, 13396, 15, 6345, 2309, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 7935, 13396, 15, 26332, 9078, 4970, 1769, 202, 202, 97, 202, 202, 9565, 18, 542, 2297, 12, 4881, 1841, 1769, 202, 202, 430, 14015, 4881, 1841, 1276, 5377, 7634, 1841, 13, 631, 5743, 13, 288, 1082, 202, 12849, 394, 5477, 2932, 1841, 1269, 635, 1047, 353, 486, 1276, 434, 296, 1670, 7634, 1841, 14550, 1769, 202, 202, 97, 202, 202, 1670, 7634, 1841, 1794, 273, 261, 1670, 7634, 1841, 13, 5915, 1841, 31, 202, 202, 17268, 1042, 22529, 273, 2812, 2307, 1042, 5621, 202, 202, 3208, 2521, 273, 22529, 18, 588, 3208, 5621, 202, 202, 430, 261, 4060, 797, 480, 446, 13, 288, 1082, 202, 430, 261, 291, 620, 2404, 12, 4060, 797, 3719, 288, 9506, 202, 620, 5250, 16653, 273, 2521, 18, 2640, 620, 5250, 12, 4060, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 23126, 12, 5370, 1841, 5915, 1841, 13, 288, 202, 202, 430, 261, 4842, 18, 291, 2829, 1526, 10756, 288, 1082, 202, 430, 261, 1670, 7634, 1841, 18, 22922, 67, 2399, 631, 588, 28116, 10756, 288, 9506, 202, 4842, 18, 4148, 2932, 1841, 612, 13396, 15, 26321, 1435, 15, 5187, 618, 13396, 15, 588, 28116, 1435, 15, 5187, 1199, 1769, 1082, 202, 97, 1082, 202, 4842, 18, 4148, 2932, 225, 2154, 797, 13396, 15, 4060, 797, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 6021, 13396, 15, 8613, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 5949, 2309, 13396, 15, 6345, 2309, 9078, 4970, 1769, 1082, 202, 4842, 18, 4148, 2932, 225, 2 ]
throws JavaScriptException
public Object execMethod(int methodId, IdFunction function, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { throw IdFunction.onBadMethodId(this, methodId); }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/8f28fc868ac3f30ea37494abfddb6358154786c3/IdScriptable.java/clean/js/rhino/src/org/mozilla/javascript/IdScriptable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 12, 474, 707, 548, 16, 3124, 2083, 445, 16, 11794, 1772, 9494, 16, 22780, 2146, 16, 11794, 22780, 15261, 16, 1033, 8526, 833, 13, 6647, 288, 3639, 604, 3124, 2083, 18, 265, 6434, 30793, 12, 2211, 16, 707, 548, 1769, 565, 289, 2, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 12, 474, 707, 548, 16, 3124, 2083, 445, 16, 11794, 1772, 9494, 16, 22780, 2146, 16, 11794, 22780, 15261, 16, 1033, 8526, 833, 13, 6647, 288, 3639, 604, 3124, 2083, 18, 265, 6434, 30793, 12, 2211, 16, 707, 548, 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 ]
return null;
throw new InvocationException(TARGET_NO_LONGER_VALID);
protected Unit moveUnit (Unit unit, int x, int y, Piece target) { // compute the possible moves for this unit _moves.clear(); _bangobj.board.computeMoves(unit, _moves, null); // if we have not specified an exact move, locate one now if (x == Short.MAX_VALUE) { if (target == null) { // the target must no longer be around, so abandon ship return null; } Point spot = unit.computeShotLocation(target, _moves); if (spot == null) { log.info("Unable to find place from which to shoot. " + "[piece=" + unit.info() + ", target=" + target.info() + ", moves=" + _moves + "]."); return null; } x = spot.x; y = spot.y; // if we decided not to move, just pretend like we did the job if (x == unit.x && y == unit.y) { return unit; } } // make sure we are alive, and are ready to move int steps = Math.abs(unit.x-x) + Math.abs(unit.y-y); if (!unit.isAlive() || unit.ticksUntilMovable(_bangobj.tick) > 0) { log.warning("Unit requested illegal move [unit=" + unit + ", alive=" + unit.isAlive() + ", mticks=" + unit.ticksUntilMovable(_bangobj.tick) + "]."); return null; } // validate that the move is legal if (!_moves.contains(x, y)) { log.warning("Unit requested illegal move [unit=" + unit + ", x=" + x + ", y=" + y + ", moves=" + _moves + "]."); Piece[] pvec = _bangobj.getPieceArray(); for (int ii = 0; ii < pvec.length; ii++) { System.err.println(pvec[ii]); } _bangobj.board.dumpOccupiability(_moves); // reshadow all the pieces to try to correct the error _bangobj.board.shadowPieces(_bangobj.pieces.iterator()); log.warning("Reshadowed dump:"); _bangobj.board.dumpOccupiability(_moves); // now try the whole process again _moves.clear(); _bangobj.board.computeMoves(unit, _moves, null); if (!_moves.contains(x, y)) { log.warning("Move still illegal: "); _bangobj.board.dumpOccupiability(_moves); return null; } } // clone and move the unit Unit munit = (Unit)unit.clone(); munit.position(x, y); munit.lastActed = _bangobj.tick; // if they specified a target, make sure it is still valid if (target != null) { if (!munit.validTarget(target, false)) { log.info("Target no longer valid [shooter=" + munit.info() + ", target=" + target.info() + "]."); return null;// // target already dead or something// throw new InvocationException(TARGET_NO_LONGER_VALID); } if (!munit.targetInRange(target.x, target.y)) { log.info("Target no longer in range [shooter=" + munit.info() + ", target=" + target.info() + "]."); return null;// throw new InvocationException(TARGET_MOVED); } } // ensure that we don't land on any piece that prevents us from // overlapping ArrayList<Piece> lappers = _bangobj.getOverlappers(munit); if (lappers != null) { for (Piece lapper : lappers) { if (lapper.preventsOverlap(munit)) { return null; } } } // update our board shadow _bangobj.board.clearShadow(unit); _bangobj.board.shadowPiece(munit); // record the move to this player's statistics _bangobj.stats[munit.owner].incrementStat( Stat.Type.DISTANCE_MOVED, steps); // dispatch a move effect to actually move the unit MoveEffect meffect = new MoveEffect(); meffect.init(munit); meffect.nx = munit.x; meffect.ny = munit.y; deployEffect(munit.owner, meffect); // interact with any pieces occupying our target space if (lappers != null) { for (Piece lapper : lappers) { Effect effect = munit.maybeInteract(lapper); if (effect != null) { deployEffect(unit.owner, effect); // small hackery: note that this player collected a bonus if (lapper instanceof Bonus) { _bangobj.stats[munit.owner].incrementStat( Stat.Type.BONUSES_COLLECTED, 1); } } } } return munit; }
8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/8861d8d9ac6d5d9e9be746bc3c5b07b696f233d5/BangManager.java/clean/src/java/com/threerings/bang/game/server/BangManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 8380, 3635, 2802, 261, 2802, 2836, 16, 509, 619, 16, 509, 677, 16, 453, 8414, 1018, 13, 565, 288, 3639, 368, 3671, 326, 3323, 13934, 364, 333, 2836, 3639, 389, 81, 10829, 18, 8507, 5621, 3639, 389, 70, 539, 2603, 18, 3752, 18, 9200, 19297, 12, 4873, 16, 389, 81, 10829, 16, 446, 1769, 3639, 368, 309, 732, 1240, 486, 1269, 392, 5565, 3635, 16, 10627, 1245, 2037, 3639, 309, 261, 92, 422, 7925, 18, 6694, 67, 4051, 13, 288, 5411, 309, 261, 3299, 422, 446, 13, 288, 7734, 368, 326, 1018, 1297, 1158, 7144, 506, 6740, 16, 1427, 1223, 464, 265, 24316, 7734, 604, 394, 11298, 503, 12, 16374, 67, 3417, 67, 20587, 3101, 67, 5063, 1769, 5411, 289, 5411, 4686, 16463, 273, 2836, 18, 9200, 1555, 352, 2735, 12, 3299, 16, 389, 81, 10829, 1769, 5411, 309, 261, 19032, 422, 446, 13, 288, 7734, 613, 18, 1376, 2932, 3370, 358, 1104, 3166, 628, 1492, 358, 699, 1632, 18, 315, 397, 7682, 5158, 30100, 1546, 397, 2836, 18, 1376, 1435, 397, 3104, 1018, 1546, 397, 1018, 18, 1376, 1435, 397, 7682, 3104, 13934, 1546, 397, 389, 81, 10829, 397, 9850, 1199, 1769, 7734, 604, 394, 11298, 503, 12, 16374, 67, 3417, 67, 20587, 3101, 67, 5063, 1769, 5411, 289, 5411, 619, 273, 16463, 18, 92, 31, 5411, 677, 273, 16463, 18, 93, 31, 5411, 368, 309, 732, 2109, 13898, 486, 358, 3635, 16, 2537, 675, 17445, 3007, 732, 5061, 326, 1719, 5411, 309, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 8380, 3635, 2802, 261, 2802, 2836, 16, 509, 619, 16, 509, 677, 16, 453, 8414, 1018, 13, 565, 288, 3639, 368, 3671, 326, 3323, 13934, 364, 333, 2836, 3639, 389, 81, 10829, 18, 8507, 5621, 3639, 389, 70, 539, 2603, 18, 3752, 18, 9200, 19297, 12, 4873, 16, 389, 81, 10829, 16, 446, 1769, 3639, 368, 309, 732, 1240, 486, 1269, 392, 5565, 3635, 16, 10627, 1245, 2037, 3639, 309, 261, 92, 422, 7925, 18, 6694, 67, 4051, 13, 288, 5411, 309, 261, 3299, 422, 446, 13, 288, 7734, 368, 326, 1018, 1297, 1158, 7144, 506, 6740, 16, 1427, 1223, 464, 265, 24316, 7734, 604, 394, 11298, 503, 12, 16374, 67, 3417, 67, 20587, 3101, 67, 5063, 2 ]
_t = __t356;
_t = __t862;
public final Expression generalComp(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; AST generalComp_AST_in = (AST)_t; step= null; PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQ: { AST __t354 = _t; AST tmp45_AST_in = (AST)_t; match(_t,EQ); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.EQ); path.add(step); _t = __t354; _t = _t.getNextSibling(); break; } case NEQ: { AST __t355 = _t; AST tmp46_AST_in = (AST)_t; match(_t,NEQ); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.NEQ); path.add(step); _t = __t355; _t = _t.getNextSibling(); break; } case LT: { AST __t356 = _t; AST tmp47_AST_in = (AST)_t; match(_t,LT); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.LT); path.add(step); _t = __t356; _t = _t.getNextSibling(); break; } case LTEQ: { AST __t357 = _t; AST tmp48_AST_in = (AST)_t; match(_t,LTEQ); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.LTEQ); path.add(step); _t = __t357; _t = _t.getNextSibling(); break; } case GT: { AST __t358 = _t; AST tmp49_AST_in = (AST)_t; match(_t,GT); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.GT); path.add(step); _t = __t358; _t = _t.getNextSibling(); break; } case GTEQ: { AST __t359 = _t; AST tmp50_AST_in = (AST)_t; match(_t,GTEQ); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.GTEQ); path.add(step); _t = __t359; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/78bd70965f202738e2ca56dacfd71f5d58c0db69/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 7470, 2945, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 7470, 2945, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 6862, 202, 4119, 33, 446, 31, 1082, 202, 743, 4742, 2002, 33, 394, 2666, 4742, 12, 2472, 1769, 1082, 202, 743, 4742, 2145, 33, 394, 2666, 4742, 12, 2472, 1769, 25083, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 22426, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 4763, 24, 273, 389, 88, 31, 1082, 202, 9053, 1853, 7950, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 27247, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 4119, 33, 8638, 24899, 88, 16, 4482, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 4119, 33, 8638, 24899, 88, 16, 4083, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 6862, 6862, 202, 4119, 33, 394, 9544, 16059, 12, 2472, 16, 2002, 16, 2145, 16, 5245, 18, 27247, 1769, 25083, 202, 803, 18, 1289, 12, 4119, 1769, 6862, 9506, 202, 67, 88, 273, 1001, 88, 4763, 24, 31, 1082, 202, 67, 88, 273, 389, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 7470, 2945, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 7470, 2945, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 6862, 202, 4119, 33, 446, 31, 1082, 202, 743, 4742, 2002, 33, 394, 2666, 4742, 12, 2472, 1769, 1082, 202, 743, 4742, 2145, 33, 394, 2666, 4742, 12, 2472, 1769, 25083, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 22426, 30, 202, 202, 95, 1082, 2 ]
public char peekChar(){ if(numChars() > 0){ return(characterBuffer[characterBufferHead]);
public double peekChar(){ if(bufferOverflowFlag) return(-1.0); else if(numCharsLocal() > 0){ return((double)characterBuffer[characterBufferTail]);
public char peekChar(){ if(numChars() > 0){ return(characterBuffer[characterBufferHead]); }else{ return(emptyChar); } }
12211 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12211/9f6c9d532c0736a47678e9e76fd49874c6c9babd/GetCharJava.java/clean/trunk/Psychtoolbox/PsychJava/GetCharJava.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1149, 8032, 2156, 1435, 95, 202, 202, 430, 12, 2107, 7803, 1435, 405, 374, 15329, 1082, 202, 2463, 12, 11560, 1892, 63, 11560, 1892, 1414, 19226, 202, 202, 97, 12107, 95, 1082, 202,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1149, 8032, 2156, 1435, 95, 202, 202, 430, 12, 2107, 7803, 1435, 405, 374, 15329, 1082, 202, 2463, 12, 11560, 1892, 63, 11560, 1892, 1414, 19226, 202, 202, 97, 12107, 95, 1082, 202, 2463, 12, 5531, 2156, 1769, 9506, 202, 97, 202, 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 ]
"OID MUST have at least 2 subidentifiers");
Messages.getString("security.99"));
public static int[] toIntArray(String str) { if (str == null) { throw new IllegalArgumentException( "ObjectIdentifier string is null"); } int length = str.length(); if (length == 0) { throw new IllegalArgumentException("Incorrect syntax"); } int count = 1; // number of subidentifiers boolean wasDot = true; // indicates whether char before was dot or not. char c; // current char for (int i = 0; i < length; i++) { c = str.charAt(i); if (c == '.') { if (wasDot) { throw new IllegalArgumentException("Incorrect syntax"); } wasDot = true; count++; } else if (c >= '0' && c <= '9') { wasDot = false; } else { throw new IllegalArgumentException("Incorrect syntax"); } } if (wasDot) { // the last char is dot throw new IllegalArgumentException("Incorrect syntax"); } if (count < 2) { throw new IllegalArgumentException( "OID MUST have at least 2 subidentifiers"); } int[] oid = new int[count]; for (int i = 0, j = 0; i < length; i++) { c = str.charAt(i); if (c == '.') { j++; } else { oid[j] = oid[j] * 10 + c - 48; // '0' = 48 } } if (oid[0] > 2) { throw new IllegalArgumentException( "Valid values for first subidentifier are 0, 1 and 2"); } else if (oid[0] != 2 && oid[1] > 39) { throw new IllegalArgumentException( "If the first subidentifier has 0 or 1 value the second " + "subidentifier value MUST be less then 40."); } return oid; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/c7fdc88348ff6da63262b6309c2810876f42c6d8/ObjectIdentifier.java/buggy/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ObjectIdentifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 8526, 20771, 1076, 12, 780, 609, 13, 288, 3639, 309, 261, 701, 422, 446, 13, 288, 5411, 604, 394, 2754, 12, 10792, 315, 921, 3004, 533, 353, 446, 8863, 3639, 289, 3639, 509, 769, 273, 609, 18, 2469, 5621, 3639, 309, 261, 2469, 422, 374, 13, 288, 5411, 604, 394, 2754, 2932, 16268, 6279, 8863, 3639, 289, 3639, 509, 1056, 273, 404, 31, 368, 1300, 434, 720, 20218, 3639, 1250, 1703, 10412, 273, 638, 31, 368, 8527, 2856, 1149, 1865, 1703, 3928, 578, 486, 18, 3639, 1149, 276, 31, 368, 783, 1149, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 288, 5411, 276, 273, 609, 18, 3001, 861, 12, 77, 1769, 5411, 309, 261, 71, 422, 2611, 13, 288, 7734, 309, 261, 17416, 10412, 13, 288, 10792, 604, 394, 2754, 2932, 16268, 6279, 8863, 7734, 289, 7734, 1703, 10412, 273, 638, 31, 7734, 1056, 9904, 31, 5411, 289, 469, 309, 261, 71, 1545, 296, 20, 11, 597, 276, 1648, 296, 29, 6134, 288, 7734, 1703, 10412, 273, 629, 31, 5411, 289, 469, 288, 7734, 604, 394, 2754, 2932, 16268, 6279, 8863, 5411, 289, 3639, 289, 3639, 309, 261, 17416, 10412, 13, 288, 5411, 368, 326, 1142, 1149, 353, 3928, 5411, 604, 394, 2754, 2932, 16268, 6279, 8863, 3639, 289, 3639, 309, 261, 1883, 411, 576, 13, 288, 5411, 604, 394, 2754, 12, 10792, 4838, 18, 588, 780, 2932, 7462, 18, 2733, 7923, 1769, 3639, 289, 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, 509, 8526, 20771, 1076, 12, 780, 609, 13, 288, 3639, 309, 261, 701, 422, 446, 13, 288, 5411, 604, 394, 2754, 12, 10792, 315, 921, 3004, 533, 353, 446, 8863, 3639, 289, 3639, 509, 769, 273, 609, 18, 2469, 5621, 3639, 309, 261, 2469, 422, 374, 13, 288, 5411, 604, 394, 2754, 2932, 16268, 6279, 8863, 3639, 289, 3639, 509, 1056, 273, 404, 31, 368, 1300, 434, 720, 20218, 3639, 1250, 1703, 10412, 273, 638, 31, 368, 8527, 2856, 1149, 1865, 1703, 3928, 578, 486, 18, 3639, 1149, 276, 31, 368, 783, 1149, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 288, 5411, 276, 273, 609, 18, 3001, 861, 12, 2 ]
Context.reportWarning( Context.getMessage("msg.bad.octal.literal", errArgs), getSourceName(), in.getLineno(), getLine(), getOffset());
reportSyntaxWarning("msg.bad.octal.literal", errArgs);
public int getToken() throws IOException { int c; tokenno++; // Check for pushed-back token if (this.pushbackToken != EOF) { int result = this.pushbackToken; this.pushbackToken = EOF; return result; } // Eat whitespace, possibly sensitive to newlines. do { c = in.read(); if (c == '\n') if ((flags & TSF_NEWLINES) != 0) break; } while (isJSSpace(c) || c == '\n'); if (c == EOF_CHAR) return EOF; // identifier/keyword/instanceof? // watch out for starting with a <backslash> boolean isUnicodeEscapeStart = false; if (c == '\\') { c = in.read(); if (c == 'u') isUnicodeEscapeStart = true; else c = '\\'; // always unread the 'u' or whatever, we need // to start the string below at the <backslash>. in.unread(); } if (isUnicodeEscapeStart || Character.isJavaIdentifierStart((char)c)) { in.startString(); boolean containsEscape = isUnicodeEscapeStart; do { c = in.read(); if (c == '\\') { c = in.read(); containsEscape = (c == 'u'); } } while (Character.isJavaIdentifierPart((char)c)); in.unread(); int result; String str = in.getString(); // OPT we shouldn't have to make a string (object!) to // check if it's a keyword. // strictly speaking we should probably push-back // all the bad characters if the <backslash>uXXXX // sequence is malformed. But since there isn't a // correct context(is there?) for a bad Unicode // escape sequence after an identifier, we can report // an error here. if (containsEscape) { char ca[] = str.toCharArray(); int L = str.length(); int destination = 0; for (int i = 0; i != L;) { c = ca[i]; ++i; if (c == '\\' && i != L && ca[i] == 'u') { boolean goodEscape = false; if (i + 4 < L) { int val = xDigitToInt(ca[i + 1]); if (val >= 0) { val = (val << 4) | xDigitToInt(ca[i + 2]); if (val >= 0) { val = (val << 4) | xDigitToInt(ca[i + 3]); if (val >= 0) { val = (val << 4) | xDigitToInt(ca[i + 4]); if (val >= 0) { c = (char)val; i += 5; goodEscape = true; } } } } } if (!goodEscape) { reportSyntaxError("msg.invalid.escape", null); return ERROR; } } ca[destination] = (char)c; ++destination; } str = new String(ca, 0, destination); } else // Return the corresponding token if it's a keyword if ((result = stringToKeyword(str)) != EOF) { return result; } this.string = str; return NAME; } // is it a number? if (isDigit(c) || (c == '.' && isDigit(in.peek()))) { int base = 10; in.startString(); if (c == '0') { c = in.read(); if (c == 'x' || c == 'X') { c = in.read(); base = 16; // restart the string, losing leading 0x in.startString(); } else if (isDigit(c)) { base = 8; } } while (0 <= xDigitToInt(c)) { if (base < 16) { if (isAlpha(c)) break; /* * We permit 08 and 09 as decimal numbers, which * makes our behavior a superset of the ECMA * numeric grammar. We might not always be so * permissive, so we warn about it. */ if (base == 8 && c >= '8') { Object[] errArgs = { c == '8' ? "8" : "9" }; Context.reportWarning( Context.getMessage("msg.bad.octal.literal", errArgs), getSourceName(), in.getLineno(), getLine(), getOffset()); base = 10; } } c = in.read(); } boolean isInteger = true; if (base == 10 && (c == '.' || c == 'e' || c == 'E')) { isInteger = false; if (c == '.') { do { c = in.read(); } while (isDigit(c)); } if (c == 'e' || c == 'E') { c = in.read(); if (c == '+' || c == '-') { c = in.read(); } if (!isDigit(c)) { in.getString(); // throw away string in progress reportSyntaxError("msg.missing.exponent", null); return ERROR; } do { c = in.read(); } while (isDigit(c)); } } in.unread(); String numString = in.getString(); double dval; if (base == 10 && !isInteger) { try { // Use Java conversion to number from string... dval = (Double.valueOf(numString)).doubleValue(); } catch (NumberFormatException ex) { Object[] errArgs = { ex.getMessage() }; reportSyntaxError("msg.caught.nfe", errArgs); return ERROR; } } else { dval = ScriptRuntime.stringToNumber(numString, 0, base); } this.number = dval; return NUMBER; } // is it a string? if (c == '"' || c == '\'') { // We attempt to accumulate a string the fast way, by // building it directly out of the reader. But if there // are any escaped characters in the string, we revert to // building it out of a StringBuffer. StringBuffer stringBuf = null; int quoteChar = c; int val = 0; c = in.read(); in.startString(); // start after the first " while(c != quoteChar) { if (c == '\n' || c == EOF_CHAR) { in.unread(); in.getString(); // throw away the string in progress reportSyntaxError("msg.unterminated.string.lit", null); return ERROR; } if (c == '\\') { // We've hit an escaped character; revert to the // slow method of building a string. if (stringBuf == null) { // Don't include the backslash in.unread(); stringBuf = new StringBuffer(in.getString()); in.read(); } switch (c = in.read()) { case 'b': c = '\b'; break; case 'f': c = '\f'; break; case 'n': c = '\n'; break; case 'r': c = '\r'; break; case 't': c = '\t'; break; case 'v': c = '\u000B'; break; // \v a late addition to the ECMA spec. // '\v' doesn't seem to be valid Java. default: if (isDigit(c) && c < '8') { val = c - '0'; c = in.read(); if (isDigit(c) && c < '8') { val = 8 * val + c - '0'; c = in.read(); if (isDigit(c) && c < '8') { val = 8 * val + c - '0'; c = in.read(); } } in.unread(); if (val > 0377) { reportSyntaxError("msg.oct.esc.too.large", null); return ERROR; } c = val; } else if (c == 'u') { /* * Get 4 hex digits; if the u escape is not * followed by 4 hex digits, use 'u' + the literal * character sequence that follows. Do some manual * match (OK because we're in a string) to avoid * multi-char match on the underlying stream. */ int c1 = in.read(); c = xDigitToInt(c1); if (c < 0) { in.unread(); c = 'u'; } else { int c2 = in.read(); c = (c << 4) | xDigitToInt(c2); if (c < 0) { in.unread(); stringBuf.append('u'); c = c1; } else { int c3 = in.read(); c = (c << 4) | xDigitToInt(c3); if (c < 0) { in.unread(); stringBuf.append('u'); stringBuf.append((char)c1); c = c2; } else { int c4 = in.read(); c = (c << 4) | xDigitToInt(c4); if (c < 0) { in.unread(); stringBuf.append('u'); stringBuf.append((char)c1); stringBuf.append((char)c2); c = c3; } else { // got 4 hex digits! Woo Hoo! } } } } } else if (c == 'x') { /* Get 2 hex digits, defaulting to 'x' + literal * sequence, as above. */ int c1 = in.read(); c = xDigitToInt(c1); if (c < 0) { in.unread(); c = 'x'; } else { int c2 = in.read(); c = (c << 4) | xDigitToInt(c2); if (c < 0) { in.unread(); stringBuf.append('x'); c = c1; } else { // got 2 hex digits } } } } } if (stringBuf != null) stringBuf.append((char) c); c = in.read(); } if (stringBuf != null) this.string = stringBuf.toString(); else { in.unread(); // miss the trailing " this.string = in.getString(); in.read(); } return STRING; } switch (c) { case '\n': return EOL; case ';': return SEMI; case '[': return LB; case ']': return RB; case '{': return LC; case '}': return RC; case '(': return LP; case ')': return RP; case ',': return COMMA; case '?': return HOOK; case ':': return COLON; case '.': return DOT; case '|': if (in.match('|')) { return OR; } else if (in.match('=')) { this.op = BITOR; return ASSIGN; } else { return BITOR; } case '^': if (in.match('=')) { this.op = BITXOR; return ASSIGN; } else { return BITXOR; } case '&': if (in.match('&')) { return AND; } else if (in.match('=')) { this.op = BITAND; return ASSIGN; } else { return BITAND; } case '=': if (in.match('=')) { if (in.match('=')) this.op = SHEQ; else this.op = EQ; return EQOP; } else { this.op = NOP; return ASSIGN; } case '!': if (in.match('=')) { if (in.match('=')) this.op = SHNE; else this.op = NE; return EQOP; } else { this.op = NOT; return UNARYOP; } case '<': /* NB:treat HTML begin-comment as comment-till-eol */ if (in.match('!')) { if (in.match('-')) { if (in.match('-')) { while ((c = in.read()) != EOF_CHAR && c != '\n') /* skip to end of line */; in.unread(); return getToken(); // in place of 'goto retry' } in.unread(); } in.unread(); } if (in.match('<')) { if (in.match('=')) { this.op = LSH; return ASSIGN; } else { this.op = LSH; return SHOP; } } else { if (in.match('=')) { this.op = LE; return RELOP; } else { this.op = LT; return RELOP; } } case '>': if (in.match('>')) { if (in.match('>')) { if (in.match('=')) { this.op = URSH; return ASSIGN; } else { this.op = URSH; return SHOP; } } else { if (in.match('=')) { this.op = RSH; return ASSIGN; } else { this.op = RSH; return SHOP; } } } else { if (in.match('=')) { this.op = GE; return RELOP; } else { this.op = GT; return RELOP; } } case '*': if (in.match('=')) { this.op = MUL; return ASSIGN; } else { return MUL; } case '/': // is it a // comment? if (in.match('/')) { while ((c = in.read()) != EOF_CHAR && c != '\n') /* skip to end of line */; in.unread(); return getToken(); } if (in.match('*')) { while ((c = in.read()) != -1 && !(c == '*' && in.match('/'))) { ; // empty loop body } if (c == EOF_CHAR) { reportSyntaxError("msg.unterminated.comment", null); return ERROR; } return getToken(); // `goto retry' } // is it a regexp? if ((flags & TSF_REGEXP) != 0) { // We don't try to use the in.startString/in.getString // approach, because escaped characters (which break it) // seem likely to be common. StringBuffer re = new StringBuffer(); while ((c = in.read()) != '/') { if (c == '\n' || c == EOF_CHAR) { in.unread(); reportSyntaxError("msg.unterminated.re.lit", null); return ERROR; } if (c == '\\') { re.append((char) c); c = in.read(); } re.append((char) c); } StringBuffer flagsBuf = new StringBuffer(); while (true) { if (in.match('g')) flagsBuf.append('g'); else if (in.match('i')) flagsBuf.append('i'); else if (in.match('m')) flagsBuf.append('m'); else break; } if (isAlpha(in.peek())) { reportSyntaxError("msg.invalid.re.flag", null); return ERROR; } this.string = re.toString(); this.regExpFlags = flagsBuf.toString(); return OBJECT; } if (in.match('=')) { this.op = DIV; return ASSIGN; } else { return DIV; } case '%': this.op = MOD; if (in.match('=')) { return ASSIGN; } else { return MOD; } case '~': this.op = BITNOT; return UNARYOP; case '+': case '-': if (in.match('=')) { if (c == '+') { this.op = ADD; return ASSIGN; } else { this.op = SUB; return ASSIGN; } } else if (in.match((char) c)) { if (c == '+') { return INC; } else { return DEC; } } else if (c == '-') { return SUB; } else { return ADD; } default: reportSyntaxError("msg.illegal.character", null); return ERROR; } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/b52f96cd91e9b993568b0e31af354a96b33649a8/TokenStream.java/buggy/js/rhino/src/org/mozilla/javascript/TokenStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 9162, 1435, 1216, 1860, 288, 3639, 509, 276, 31, 3639, 1147, 2135, 9904, 31, 3639, 368, 2073, 364, 18543, 17, 823, 1147, 3639, 309, 261, 2211, 18, 6206, 823, 1345, 480, 6431, 13, 288, 5411, 509, 563, 273, 333, 18, 6206, 823, 1345, 31, 5411, 333, 18, 6206, 823, 1345, 273, 6431, 31, 5411, 327, 563, 31, 3639, 289, 3639, 368, 512, 270, 7983, 16, 10016, 16692, 358, 19181, 18, 3639, 741, 288, 5411, 276, 273, 316, 18, 896, 5621, 5411, 309, 261, 71, 422, 2337, 82, 6134, 7734, 309, 14015, 7133, 473, 15508, 42, 67, 12917, 5997, 55, 13, 480, 374, 13, 10792, 898, 31, 3639, 289, 1323, 261, 291, 46, 1260, 909, 12, 71, 13, 747, 276, 422, 2337, 82, 8284, 3639, 309, 261, 71, 422, 6431, 67, 7305, 13, 5411, 327, 6431, 31, 3639, 368, 2756, 19, 11041, 19, 1336, 792, 35, 3639, 368, 4267, 596, 364, 5023, 598, 279, 411, 823, 12877, 34, 3639, 1250, 353, 16532, 8448, 1685, 273, 629, 31, 3639, 309, 261, 71, 422, 5282, 13, 288, 5411, 276, 273, 316, 18, 896, 5621, 5411, 309, 261, 71, 422, 296, 89, 6134, 7734, 353, 16532, 8448, 1685, 273, 638, 31, 5411, 469, 7734, 276, 273, 5282, 31, 5411, 368, 3712, 19541, 326, 296, 89, 11, 578, 15098, 16, 732, 1608, 2398, 368, 358, 787, 326, 533, 5712, 622, 326, 411, 823, 12877, 18652, 5411, 316, 18, 318, 896, 5621, 3639, 289, 3639, 309, 261, 291, 16532, 8448, 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, 509, 9162, 1435, 1216, 1860, 288, 3639, 509, 276, 31, 3639, 1147, 2135, 9904, 31, 3639, 368, 2073, 364, 18543, 17, 823, 1147, 3639, 309, 261, 2211, 18, 6206, 823, 1345, 480, 6431, 13, 288, 5411, 509, 563, 273, 333, 18, 6206, 823, 1345, 31, 5411, 333, 18, 6206, 823, 1345, 273, 6431, 31, 5411, 327, 563, 31, 3639, 289, 3639, 368, 512, 270, 7983, 16, 10016, 16692, 358, 19181, 18, 3639, 741, 288, 5411, 276, 273, 316, 18, 896, 5621, 5411, 309, 261, 71, 422, 2337, 82, 6134, 7734, 309, 14015, 7133, 473, 15508, 42, 67, 12917, 5997, 55, 13, 480, 374, 13, 10792, 898, 31, 3639, 289, 1323, 261, 291, 46, 1260, 909, 12, 71, 2 ]
else typeNameIndex = traverseComplexTypeDecl(child); if (typeNameIndex != -1 ) { typeInfo = (ComplexTypeInfo) fComplexTypeRegistry.get(fStringPool.toString(typeNameIndex)); }
private QName traverseElementDecl(Element elementDecl) throws Exception { int contentSpecType = -1; int contentSpecNodeIndex = -1; int typeNameIndex = -1; int scopeDefined = -2; //signal a error if -2 gets gets through //cause scope can never be -2. DatatypeValidator dv = null; String name = elementDecl.getAttribute(SchemaSymbols.ATT_NAME); if ( DEBUGGING ) System.out.println("traversing element decl : " + name ); String ref = elementDecl.getAttribute(SchemaSymbols.ATT_REF); String type = elementDecl.getAttribute(SchemaSymbols.ATT_TYPE); String minOccurs = elementDecl.getAttribute(SchemaSymbols.ATT_MINOCCURS); String maxOccurs = elementDecl.getAttribute(SchemaSymbols.ATT_MAXOCCURS); String dflt = elementDecl.getAttribute(SchemaSymbols.ATT_DEFAULT); String fixed = elementDecl.getAttribute(SchemaSymbols.ATT_FIXED); if(!(dflt.equals("") || fixed.equals(""))) // REVISIT: localize reportGenericSchemaError("an element cannot have both \"fixed\" and \"default\" present at the same time"); String substitutionGroup = elementDecl.getAttribute(SchemaSymbols.ATT_SUBSTITUTIONGROUP); // form attribute String isQName = elementDecl.getAttribute(SchemaSymbols.ATT_FORM); String fromAnotherSchema = null; if (isTopLevel(elementDecl)) { if(name.equals("")) // REVISIT: localize reportGenericSchemaError("globally-declared element must have a name"); else if (!ref.equals("")) // REVISIT: localize reportGenericSchemaError("globally-declared element " + name + " cannot have a ref attribute"); int nameIndex = fStringPool.addSymbol(name); int eltKey = fSchemaGrammar.getElementDeclIndex(fTargetNSURI, nameIndex,TOP_LEVEL_SCOPE); if (eltKey > -1 ) { return new QName(-1,nameIndex,nameIndex,fTargetNSURI); } } // parse out 'block', 'final', 'nullable', 'abstract' int blockSet = parseBlockSet(elementDecl.getAttribute(SchemaSymbols.ATT_BLOCK)); int finalSet = parseFinalSet(elementDecl.getAttribute(SchemaSymbols.ATT_FINAL)); boolean isNullable = elementDecl.getAttribute (SchemaSymbols.ATT_NULLABLE).equals(SchemaSymbols.ATTVAL_TRUE)? true:false; boolean isAbstract = elementDecl.getAttribute (SchemaSymbols.ATT_ABSTRACT).equals(SchemaSymbols.ATTVAL_TRUE)? true:false; int elementMiscFlags = 0; if (isNullable) { elementMiscFlags += SchemaSymbols.NULLABLE; } if (isAbstract) { elementMiscFlags += SchemaSymbols.ABSTRACT; } //if this is a reference to a global element if (!ref.equals("")) { //REVISIT top level check for ref if (!type.equals("") || (elementMiscFlags > 0) || (finalSet > 0) || (blockSet > 0) || !dflt.equals("") || !fixed.equals("")) reportSchemaError(SchemaMessageProvider.BadAttWithRef, null); if (!name.equals("")) // REVISIT: Localize reportGenericSchemaError("element " + name + " cannot also have a ref attribute"); Element child = XUtil.getFirstChildElement(elementDecl); if(child != null && child.getLocalName().equals(SchemaSymbols.ELT_ANNOTATION)) { if (XUtil.getNextSiblingElement(child) != null) reportSchemaError(SchemaMessageProvider.NoContentForRef, null); else traverseAnnotationDecl(child); } else if (child != null) reportSchemaError(SchemaMessageProvider.NoContentForRef, null); String prefix = ""; String localpart = ref; int colonptr = ref.indexOf(":"); if ( colonptr > 0) { prefix = ref.substring(0,colonptr); localpart = ref.substring(colonptr+1); } int localpartIndex = fStringPool.addSymbol(localpart); String uriString = resolvePrefixToURI(prefix); QName eltName = new QName(prefix != null ? fStringPool.addSymbol(prefix) : -1, localpartIndex, fStringPool.addSymbol(ref), uriString != null ? fStringPool.addSymbol(uriString) : StringPool.EMPTY_STRING); //if from another schema, just return the element QName if (! uriString.equals(fTargetNSURIString) ) { return eltName; } int elementIndex = fSchemaGrammar.getElementDeclIndex(eltName, TOP_LEVEL_SCOPE); //if not found, traverse the top level element that if referenced if (elementIndex == -1 ) { Element targetElement = getTopLevelComponentByName(SchemaSymbols.ELT_ELEMENT,localpart); if (targetElement == null ) { // REVISIT: Localize reportGenericSchemaError("Element " + localpart + " not found in the Schema"); //REVISIT, for now, the QName anyway return eltName; //return new QName(-1,fStringPool.addSymbol(localpart), -1, fStringPool.addSymbol(uriString)); } else { // do nothing here, other wise would cause infinite loop for // <element name="recur"><complexType><element ref="recur"> ... //eltName= traverseElementDecl(targetElement); } } return eltName; } // Handle the substitutionGroup Element substitutionGroupElementDecl = null; int substitutionGroupElementDeclIndex = -1; boolean noErrorSoFar = true; String substitutionGroupUri = null; String substitutionGroupLocalpart = null; String substitutionGroupFullName = null; ComplexTypeInfo substitutionGroupEltTypeInfo = null; DatatypeValidator substitutionGroupEltDV = null; if ( substitutionGroup.length() > 0 ) { substitutionGroupUri = resolvePrefixToURI(getPrefix(substitutionGroup)); substitutionGroupLocalpart = getLocalPart(substitutionGroup); substitutionGroupFullName = substitutionGroupUri+","+substitutionGroupLocalpart; if ( !substitutionGroupUri.equals(fTargetNSURIString) ) { substitutionGroupEltTypeInfo = getElementDeclTypeInfoFromNS(substitutionGroupUri, substitutionGroupLocalpart); if (substitutionGroupEltTypeInfo == null) { substitutionGroupEltDV = getElementDeclTypeValidatorFromNS(substitutionGroupUri, substitutionGroupLocalpart); if (substitutionGroupEltDV == null) { //TO DO: report error here; noErrorSoFar = false; reportGenericSchemaError("Could not find type for element '" +substitutionGroupLocalpart + "' in schema '" + substitutionGroupUri+"'"); } } } else { substitutionGroupElementDecl = getTopLevelComponentByName(SchemaSymbols.ELT_ELEMENT, substitutionGroupLocalpart); if (substitutionGroupElementDecl == null) { substitutionGroupElementDeclIndex = fSchemaGrammar.getElementDeclIndex(fTargetNSURI, getLocalPartIndex(substitutionGroup),TOP_LEVEL_SCOPE); if ( substitutionGroupElementDeclIndex == -1) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("substitutionGroup affiliation element " +substitutionGroup +" in element declaration " +name); } } else { substitutionGroupElementDeclIndex = fSchemaGrammar.getElementDeclIndex(fTargetNSURI, getLocalPartIndex(substitutionGroup),TOP_LEVEL_SCOPE); if ( substitutionGroupElementDeclIndex == -1) { traverseElementDecl(substitutionGroupElementDecl); substitutionGroupElementDeclIndex = fSchemaGrammar.getElementDeclIndex(fTargetNSURI, getLocalPartIndex(substitutionGroup),TOP_LEVEL_SCOPE); } } if (substitutionGroupElementDeclIndex != -1) { substitutionGroupEltTypeInfo = fSchemaGrammar.getElementComplexTypeInfo( substitutionGroupElementDeclIndex ); if (substitutionGroupEltTypeInfo == null) { fSchemaGrammar.getElementDecl(substitutionGroupElementDeclIndex, fTempElementDecl); substitutionGroupEltDV = fTempElementDecl.datatypeValidator; if (substitutionGroupEltDV == null) { //TO DO: report error here; noErrorSoFar = false; reportGenericSchemaError("Could not find type for element '" +substitutionGroupLocalpart + "' in schema '" + substitutionGroupUri+"'"); } } } } } // // resolving the type for this element right here // ComplexTypeInfo typeInfo = null; // element has a single child element, either a datatype or a type, null if primitive Element child = XUtil.getFirstChildElement(elementDecl); if(child != null && child.getLocalName().equals(SchemaSymbols.ELT_ANNOTATION)) { traverseAnnotationDecl(child); child = XUtil.getNextSiblingElement(child); } if(child != null && child.getLocalName().equals(SchemaSymbols.ELT_ANNOTATION)) // REVISIT: Localize reportGenericSchemaError("element declarations can contain at most one annotation Element Information Item"); boolean haveAnonType = false; // Handle Anonymous type if there is one if (child != null) { String childName = child.getLocalName(); if (childName.equals(SchemaSymbols.ELT_COMPLEXTYPE)) { if (child.getAttribute(SchemaSymbols.ATT_NAME).length() > 0) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("anonymous complexType in element '" + name +"' has a name attribute"); } else typeNameIndex = traverseComplexTypeDecl(child); if (typeNameIndex != -1 ) { typeInfo = (ComplexTypeInfo) fComplexTypeRegistry.get(fStringPool.toString(typeNameIndex)); } else { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("traverse complexType error in element '" + name +"'"); } haveAnonType = true; child = XUtil.getNextSiblingElement(child); } else if (childName.equals(SchemaSymbols.ELT_SIMPLETYPE)) { // TO DO: the Default and fixed attribute handling should be here. if (child.getAttribute(SchemaSymbols.ATT_NAME).length() > 0) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("anonymous simpleType in element '" + name +"' has a name attribute"); } else typeNameIndex = traverseSimpleTypeDecl(child); if (typeNameIndex != -1) { dv = fDatatypeRegistry.getDatatypeValidator(fStringPool.toString(typeNameIndex)); } else { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("traverse simpleType error in element '" + name +"'"); } contentSpecType = XMLElementDecl.TYPE_SIMPLE; haveAnonType = true; child = XUtil.getNextSiblingElement(child); } else if (type.equals("")) { // "ur-typed" leaf contentSpecType = XMLElementDecl.TYPE_ANY; //REVISIT: is this right? //contentSpecType = fStringPool.addSymbol("UR_TYPE"); // set occurrence count contentSpecNodeIndex = -1; } // see if there's something here; it had better be key, keyref or unique. if (child != null) childName = child.getLocalName(); while ((child != null) && ((childName.equals(SchemaSymbols.ELT_KEY)) || (childName.equals(SchemaSymbols.ELT_KEYREF)) || (childName.equals(SchemaSymbols.ELT_UNIQUE)))) { child = XUtil.getNextSiblingElement(child); if (child != null) { childName = child.getLocalName(); } } if (child != null) { // REVISIT: Localize noErrorSoFar = false; reportGenericSchemaError("only annotation, simpleType, complexType, key, keyref and unique Element Information Items are allowed in element declarations"); } } // handle type="" here if (haveAnonType && (type.length()>0)) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError( "Element '"+ name + "' have both a type attribute and a annoymous type child" ); } // type specified as an attribute and no child is type decl. else if (!type.equals("")) { if (substitutionGroupElementDecl != null) { checkSubstitutionGroupOK(elementDecl, substitutionGroupElementDecl); } String prefix = ""; String localpart = type; int colonptr = type.indexOf(":"); if ( colonptr > 0) { prefix = type.substring(0,colonptr); localpart = type.substring(colonptr+1); } String typeURI = resolvePrefixToURI(prefix); // check if the type is from the same Schema if ( !typeURI.equals(fTargetNSURIString) && !typeURI.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA) && typeURI.length() != 0) { // REVISIT, only needed because of resolvePrifixToURI. fromAnotherSchema = typeURI; typeInfo = getTypeInfoFromNS(typeURI, localpart); if (typeInfo == null) { dv = getTypeValidatorFromNS(typeURI, localpart); if (dv == null) { //TO DO: report error here; noErrorSoFar = false; reportGenericSchemaError("Could not find type " +localpart + " in schema " + typeURI); } } } else { typeInfo = (ComplexTypeInfo) fComplexTypeRegistry.get(typeURI+","+localpart); if (typeInfo == null) { dv = getDatatypeValidator(typeURI, localpart); if (dv == null ) if (typeURI.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA) && !fTargetNSURIString.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA)) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("type not found : " + typeURI+":"+localpart); } else { Element topleveltype = getTopLevelComponentByName(SchemaSymbols.ELT_COMPLEXTYPE,localpart); if (topleveltype != null) { if (fCurrentTypeNameStack.search((Object)localpart) > - 1) { //then we found a recursive element using complexType. // REVISIT: this will be broken when recursing happens between 2 schemas int uriInd = StringPool.EMPTY_STRING; if ( isQName.equals(SchemaSymbols.ATTVAL_QUALIFIED)|| fElementDefaultQualified) { uriInd = fTargetNSURI; } int nameIndex = fStringPool.addSymbol(name); QName tempQName = new QName(fCurrentScope, nameIndex, nameIndex, uriInd); fElementRecurseComplex.put(tempQName, localpart); return new QName(-1, nameIndex, nameIndex, uriInd); } else { typeNameIndex = traverseComplexTypeDecl( topleveltype ); typeInfo = (ComplexTypeInfo) fComplexTypeRegistry.get(fStringPool.toString(typeNameIndex)); } } else { topleveltype = getTopLevelComponentByName(SchemaSymbols.ELT_SIMPLETYPE, localpart); if (topleveltype != null) { typeNameIndex = traverseSimpleTypeDecl( topleveltype ); dv = getDatatypeValidator(typeURI, localpart); // TO DO: the Default and fixed attribute handling should be here. } else { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("type not found : " + typeURI+":"+localpart); } } } } } } else if (haveAnonType){ if (substitutionGroupElementDecl != null ) { checkSubstitutionGroupOK(elementDecl, substitutionGroupElementDecl); } } // this element is ur-type, check its substitutionGroup afficliation. else { // if there is substitutionGroup affiliation and not type defition found for this element, // then grab substitutionGroup affiliation's type and give it to this element if ( typeInfo == null && dv == null ) { typeInfo = substitutionGroupEltTypeInfo; dv = substitutionGroupEltDV; } } if (typeInfo == null && dv==null) { if (noErrorSoFar) { // Actually this Element's type definition is ur-type; contentSpecType = XMLElementDecl.TYPE_ANY; // REVISIT, need to wait till we have wildcards implementation. // ADD attribute wildcards here } else { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError ("untyped element : " + name ); } } // if element belongs to a compelx type if (typeInfo!=null) { contentSpecNodeIndex = typeInfo.contentSpecHandle; contentSpecType = typeInfo.contentType; scopeDefined = typeInfo.scopeDefined; dv = typeInfo.datatypeValidator; } // if element belongs to a simple type if (dv!=null) { contentSpecType = XMLElementDecl.TYPE_SIMPLE; if (typeInfo == null) { fromAnotherSchema = null; // not to switch schema in this case } } // // Create element decl // int elementNameIndex = fStringPool.addSymbol(name); int localpartIndex = elementNameIndex; int uriIndex = StringPool.EMPTY_STRING; int enclosingScope = fCurrentScope; //refer to 4.3.2 in "XML Schema Part 1: Structures" if ( isTopLevel(elementDecl)) { uriIndex = fTargetNSURI; enclosingScope = TOP_LEVEL_SCOPE; } else if ( !isQName.equals(SchemaSymbols.ATTVAL_UNQUALIFIED) && (( isQName.equals(SchemaSymbols.ATTVAL_QUALIFIED)|| fElementDefaultQualified ))) { uriIndex = fTargetNSURI; } //There can never be two elements with the same name and different type in the same scope. int existSuchElementIndex = fSchemaGrammar.getElementDeclIndex(uriIndex, localpartIndex, enclosingScope); if ( existSuchElementIndex > -1) { fSchemaGrammar.getElementDecl(existSuchElementIndex, fTempElementDecl); DatatypeValidator edv = fTempElementDecl.datatypeValidator; ComplexTypeInfo eTypeInfo = fSchemaGrammar.getElementComplexTypeInfo(existSuchElementIndex); if ( ((eTypeInfo != null)&&(eTypeInfo!=typeInfo)) || ((edv != null)&&(edv != dv)) ) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("duplicate element decl in the same scope : " + fStringPool.toString(localpartIndex)); } } QName eltQName = new QName(-1,localpartIndex,elementNameIndex,uriIndex); // add element decl to pool int attrListHead = -1 ; // copy up attribute decls from type object if (typeInfo != null) { attrListHead = typeInfo.attlistHead; } int elementIndex = fSchemaGrammar.addElementDecl(eltQName, enclosingScope, scopeDefined, contentSpecType, contentSpecNodeIndex, attrListHead, dv); if ( DEBUGGING ) { /***/ System.out.println("########elementIndex:"+elementIndex+" ("+fStringPool.toString(eltQName.uri)+"," + fStringPool.toString(eltQName.localpart) + ")"+ " eltType:"+type+" contentSpecType:"+contentSpecType+ " SpecNodeIndex:"+ contentSpecNodeIndex +" enclosingScope: " +enclosingScope + " scopeDefined: " +scopeDefined+"\n"); /***/ } fSchemaGrammar.setElementComplexTypeInfo(elementIndex, typeInfo); // REVISIT: should we report error if typeInfo was null? // mark element if its type belongs to different Schema. fSchemaGrammar.setElementFromAnotherSchemaURI(elementIndex, fromAnotherSchema); // set BlockSet, FinalSet, Nullable and Abstract for this element decl fSchemaGrammar.setElementDeclBlockSet(elementIndex, blockSet); fSchemaGrammar.setElementDeclFinalSet(elementIndex, finalSet); fSchemaGrammar.setElementDeclMiscFlags(elementIndex, elementMiscFlags); // setSubstitutionGroupElementFullName fSchemaGrammar.setElementDeclSubstitutionGroupElementFullName(elementIndex, substitutionGroupFullName); // // key/keyref/unique processing // Element ic = XUtil.getFirstChildElement(elementDecl, IDENTITY_CONSTRAINTS); if (ic != null) { Integer elementIndexObj = new Integer(elementIndex); Vector identityConstraints = (Vector)fIdentityConstraints.get(elementIndexObj); if (identityConstraints == null) { identityConstraints = new Vector(); fIdentityConstraints.put(elementIndexObj, identityConstraints); } while (ic != null) { if (DEBUG_IC_DATATYPES) { System.out.println("<ICD>: adding ic for later traversal: "+ic); } identityConstraints.addElement(ic); ic = XUtil.getNextSiblingElement(ic, IDENTITY_CONSTRAINTS); } } return eltQName; }// end of method traverseElementDecl(Element)
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/ecaa8044a2d518d7e1aecc2a359d853fd3d96173/TraverseSchema.java/buggy/src/org/apache/xerces/validators/schema/TraverseSchema.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 16723, 10080, 1046, 3456, 12, 1046, 930, 3456, 13, 1216, 1185, 288, 3639, 509, 29617, 559, 1377, 273, 300, 21, 31, 3639, 509, 29617, 907, 1016, 273, 300, 21, 31, 3639, 509, 8173, 1016, 273, 300, 21, 31, 3639, 509, 2146, 8116, 273, 300, 22, 31, 368, 10420, 279, 555, 309, 300, 22, 5571, 5571, 3059, 4766, 368, 2700, 2146, 848, 5903, 506, 300, 22, 18, 3639, 21168, 5126, 12494, 273, 446, 31, 3639, 514, 508, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 1985, 1769, 3639, 309, 261, 6369, 19066, 262, 5411, 2332, 18, 659, 18, 8222, 2932, 31750, 310, 930, 3496, 294, 315, 397, 508, 11272, 3639, 514, 1278, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 10771, 1769, 3639, 514, 618, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 2399, 1769, 3639, 514, 1131, 31084, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 6236, 51, 6743, 1099, 55, 1769, 3639, 514, 943, 31084, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 6694, 51, 6743, 1099, 55, 1769, 3639, 514, 302, 31864, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 5280, 1769, 3639, 514, 5499, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 30406, 1769, 202, 202, 430, 12, 5, 12, 2180, 5618, 18, 14963, 2932, 7923, 747, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 16723, 10080, 1046, 3456, 12, 1046, 930, 3456, 13, 1216, 1185, 288, 3639, 509, 29617, 559, 1377, 273, 300, 21, 31, 3639, 509, 29617, 907, 1016, 273, 300, 21, 31, 3639, 509, 8173, 1016, 273, 300, 21, 31, 3639, 509, 2146, 8116, 273, 300, 22, 31, 368, 10420, 279, 555, 309, 300, 22, 5571, 5571, 3059, 4766, 368, 2700, 2146, 848, 5903, 506, 300, 22, 18, 3639, 21168, 5126, 12494, 273, 446, 31, 3639, 514, 508, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 1985, 1769, 3639, 309, 261, 6369, 19066, 262, 5411, 2332, 18, 659, 18, 8222, 2932, 31750, 310, 930, 3496, 294, 315, 397, 508, 11272, 3639, 514, 1278, 273, 2 ]
return RubyString.newString(getRuntime(), symbol);
return getRuntime().newString(symbol);
public RubyString to_s() { return RubyString.newString(getRuntime(), symbol); }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubySymbol.java/buggy/src/org/jruby/RubySymbol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 358, 67, 87, 1435, 288, 3639, 327, 18814, 7675, 2704, 780, 12, 7175, 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,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316, 326, 981, 30, 377, 1071, 19817, 780, 358, 67, 87, 1435, 288, 3639, 327, 18814, 7675, 2704, 780, 12, 7175, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
loadService.addAutoload(symbol.asSymbol(), new IAutoloadMethod() {
final String baseName = symbol.asSymbol(); String nm = baseName; if(recv instanceof RubyModule) { nm = ((RubyModule)recv).getName() + "::" + nm; } loadService.addAutoload(nm, new IAutoloadMethod() { public String file() { return file.toString(); }
public static IRubyObject autoload(final IRubyObject recv, IRubyObject symbol, final IRubyObject file) { final LoadService loadService = recv.getRuntime().getLoadService(); loadService.addAutoload(symbol.asSymbol(), new IAutoloadMethod() { /** * @see org.jruby.runtime.load.IAutoloadMethod#load(IRuby, String) */ public IRubyObject load(IRuby runtime, String name) { loadService.require(file.toString()); return ((RubyModule)recv).getConstant(name); } }); return recv; }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/3cd87a03d9ff599871bd14f49c218d1045bca20b/RubyKernel.java/buggy/src/org/jruby/RubyKernel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 16674, 12, 6385, 15908, 10340, 921, 10665, 16, 15908, 10340, 921, 3273, 16, 727, 15908, 10340, 921, 585, 13, 288, 3639, 727, 4444, 1179, 1262, 1179, 273, 10665, 18, 588, 5576, 7675, 588, 2563, 1179, 5621, 3639, 727, 514, 16162, 273, 3273, 18, 345, 5335, 5621, 514, 8442, 273, 16162, 31, 309, 12, 18334, 1276, 19817, 3120, 13, 288, 8442, 273, 14015, 54, 10340, 3120, 13, 18334, 2934, 17994, 1435, 397, 31120, 397, 8442, 31, 289, 1262, 1179, 18, 1289, 7150, 10565, 12, 15094, 16, 394, 467, 7150, 10565, 1305, 1435, 288, 1071, 514, 585, 1435, 288, 327, 585, 18, 10492, 5621, 289, 5411, 1783, 2398, 380, 632, 5946, 2358, 18, 78, 27768, 18, 9448, 18, 945, 18, 45, 7150, 10565, 1305, 7, 945, 12, 7937, 10340, 16, 514, 13, 2398, 1195, 5411, 1071, 15908, 10340, 921, 1262, 12, 7937, 10340, 3099, 16, 514, 508, 13, 288, 7734, 1262, 1179, 18, 6528, 12, 768, 18, 10492, 10663, 7734, 327, 14015, 54, 10340, 3120, 13, 18334, 2934, 588, 6902, 12, 529, 1769, 5411, 289, 3639, 15549, 3639, 327, 10665, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 16674, 12, 6385, 15908, 10340, 921, 10665, 16, 15908, 10340, 921, 3273, 16, 727, 15908, 10340, 921, 585, 13, 288, 3639, 727, 4444, 1179, 1262, 1179, 273, 10665, 18, 588, 5576, 7675, 588, 2563, 1179, 5621, 3639, 727, 514, 16162, 273, 3273, 18, 345, 5335, 5621, 514, 8442, 273, 16162, 31, 309, 12, 18334, 1276, 19817, 3120, 13, 288, 8442, 273, 14015, 54, 10340, 3120, 13, 18334, 2934, 17994, 1435, 397, 31120, 397, 8442, 31, 289, 1262, 1179, 18, 1289, 7150, 10565, 12, 15094, 16, 394, 467, 7150, 10565, 1305, 1435, 288, 1071, 514, 585, 1435, 288, 327, 585, 18, 10492, 5621, 289, 5411, 1783, 2398, 380, 632, 5946, 2358, 18, 78, 27768, 2 ]
assertEquals(new Integer(State.RUNNING.toInt()), mbServer.getAttribute(configName, "state"));
assertEquals(new Integer(State.RUNNING_INDEX), mbServer.getAttribute(configName, "state"));
public void testOnlineConfig() throws Exception { GBeanMBean config = new GBeanMBean(Configuration.GBEAN_INFO); config.setAttribute("ID", new URI("test")); config.setEndpointPatterns("Parent", null); config.setAttribute("ClassPath", Collections.EMPTY_LIST); config.setAttribute("GBeanState", state); ObjectName configName = (ObjectName) mbServer.invoke(Kernel.KERNEL, "load", new Object[]{config, null}, new String[]{GBeanMBean.class.getName(), URL.class.getName()}); mbServer.invoke(configName, "startRecursive", null, null); assertEquals(new Integer(State.RUNNING.toInt()), mbServer.getAttribute(configName, "state")); assertNotNull(mbServer.getAttribute(configName, "ClassLoader")); assertEquals(new Integer(State.RUNNING.toInt()), mbServer.getAttribute(gbeanName1, "state")); assertEquals("1234", mbServer.getAttribute(gbeanName1, "Value")); assertEquals("no endpoint", mbServer.invoke(gbeanName1, "checkEndpoint", null, null)); //assertEquals("endpointCheck", mbServer.invoke(gbeanName2, "checkEndpoint", null, null)); mbServer.invoke(configName, "stop", null, null); try { mbServer.getAttribute(gbeanName1, "Value"); fail(); } catch (InstanceNotFoundException e) { // ok } assertEquals(new Integer(State.STOPPED.toInt()), mbServer.getAttribute(configName, "state")); mbServer.invoke(Kernel.KERNEL, "unload", new Object[]{configName}, new String[]{ObjectName.class.getName()}); assertFalse(mbServer.isRegistered(configName)); }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/9661999f1e8fc5027062189f0d40fe70d74c4d29/ConfigTest.java/clean/modules/kernel/src/test/org/apache/geronimo/kernel/ConfigTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 16860, 809, 1435, 1216, 1185, 288, 3639, 611, 3381, 18089, 642, 273, 394, 611, 3381, 18089, 12, 1750, 18, 5887, 41, 1258, 67, 5923, 1769, 3639, 642, 18, 542, 1499, 2932, 734, 3113, 394, 3699, 2932, 3813, 7923, 1769, 3639, 642, 18, 542, 3293, 11268, 2932, 3054, 3113, 446, 1769, 3639, 642, 18, 542, 1499, 2932, 22158, 3113, 5737, 18, 13625, 67, 7085, 1769, 3639, 642, 18, 542, 1499, 2932, 43, 3381, 1119, 3113, 919, 1769, 3639, 21013, 24710, 273, 261, 16707, 13, 4903, 2081, 18, 14407, 12, 11286, 18, 27221, 50, 2247, 16, 315, 945, 3113, 394, 1033, 63, 7073, 1425, 16, 446, 5779, 394, 514, 63, 7073, 43, 3381, 18089, 18, 1106, 18, 17994, 9334, 1976, 18, 1106, 18, 17994, 17767, 1769, 3639, 4903, 2081, 18, 14407, 12, 1425, 461, 16, 315, 1937, 10483, 3113, 446, 16, 446, 1769, 3639, 1815, 8867, 12, 2704, 2144, 12, 1119, 18, 29358, 67, 9199, 3631, 4903, 2081, 18, 588, 1499, 12, 1425, 461, 16, 315, 2019, 7923, 1769, 3639, 25395, 12, 1627, 2081, 18, 588, 1499, 12, 1425, 461, 16, 315, 7805, 7923, 1769, 3639, 1815, 8867, 12, 2704, 2144, 12, 1119, 18, 29358, 18, 869, 1702, 1435, 3631, 4903, 2081, 18, 588, 1499, 12, 75, 14496, 461, 21, 16, 315, 2019, 7923, 1769, 3639, 1815, 8867, 2932, 28462, 3113, 4903, 2081, 18, 588, 1499, 12, 75, 14496, 461, 21, 16, 315, 620, 7923, 1769, 3639, 1815, 8867, 2932, 2135, 2494, 3113, 4903, 2081, 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, 16860, 809, 1435, 1216, 1185, 288, 3639, 611, 3381, 18089, 642, 273, 394, 611, 3381, 18089, 12, 1750, 18, 5887, 41, 1258, 67, 5923, 1769, 3639, 642, 18, 542, 1499, 2932, 734, 3113, 394, 3699, 2932, 3813, 7923, 1769, 3639, 642, 18, 542, 3293, 11268, 2932, 3054, 3113, 446, 1769, 3639, 642, 18, 542, 1499, 2932, 22158, 3113, 5737, 18, 13625, 67, 7085, 1769, 3639, 642, 18, 542, 1499, 2932, 43, 3381, 1119, 3113, 919, 1769, 3639, 21013, 24710, 273, 261, 16707, 13, 4903, 2081, 18, 14407, 12, 11286, 18, 27221, 50, 2247, 16, 315, 945, 3113, 394, 1033, 63, 7073, 1425, 16, 446, 5779, 394, 514, 63, 7073, 43, 3381, 18089, 18, 1106, 18, 2 ]
"Failed to render " + handle.getExtensionName( ) + ( elementName != null ? " " + elementName : "" ), ex ) );
MessageConstants.EXTENDED_ITEM_RENDERING_ERROR, new String[]{handle.getExtensionName( ), ( name != null ? " " + name : "" )}, ex ) );
public void execute( ReportItemDesign item1, IReportEmitter emitter ) { assert item1 instanceof ExtendedItemDesign; ExtendedItemDesign item = (ExtendedItemDesign) item1; IExtendedItemContent content = ContentFactory .createExtendedItemContent( (ExtendedItemDesign) item , context.getContentObject( )); // handle common properties, such as // //1) style (Not supported now as we only support image extension) //2) highlight (Not supported now as we only support image extension) //3) x,y //4) actions // // other report item-supported features. //create user-defined generation-time helper object ExtendedItemHandle handle = (ExtendedItemHandle) item.getHandle( ); String tagName = handle.getExtensionName( ); IReportItemGeneration itemGeneration = ExtensionManager.getInstance( ) .createGenerationItem( tagName ); byte[] generationStatus = null; if ( itemGeneration != null ) { itemGeneration.setModelObject( handle ); itemGeneration.setReportQueries(((ExtendedItemDesign)item).getQueries()); IRowSet[] rowSets = null; try { rowSets = executeQueries( item ); if ( rowSets != null ) { try { itemGeneration.onRowSets( rowSets ); } catch ( BirtException ex ) { logger.log( Level.SEVERE, ex.getMessage( ), ex ); context.addException( new EngineException( "Failed to render " + handle.getExtensionName( ) + ( item.getName( ) != null ? " " + item.getName( ) : "" ), ex ) );//$NON-NLS-1$ } } if ( itemGeneration.needSerialization( ) ) { try { ByteArrayOutputStream out = new ByteArrayOutputStream( ); itemGeneration.serialize( out ); generationStatus = out.toByteArray( ); } catch ( BirtException ex ) { logger.log( Level.SEVERE, ex.getMessage( ), ex ); context.addException( new EngineException( "Failed to render " + handle.getExtensionName( ) + ( item.getName( ) != null ? " " + item.getName( ) : "" ), ex ) );//$NON-NLS-1$ } itemGeneration.finish( ); } } catch ( Throwable t ) { logger.log( Level.SEVERE, "Error:", t );//$NON-NLS-1$ context.addException( new EngineException( "Failed to render " + handle.getExtensionName( ) + ( item.getName( ) != null ? " " + item.getName( ) : "" ), t ) );//$NON-NLS-1$ } finally { closeQueries( rowSets ); } } //call the presentation peer to create the content object IReportItemPresentation itemPresentation = ExtensionManager .getInstance( ).createPresentationItem( tagName ); if ( itemPresentation != null ) { itemPresentation.setModelObject( handle ); itemPresentation.setReportQueries(((ExtendedItemDesign)item).getQueries()); //itemPresentation.setResolution(); itemPresentation.setLocale(context.getLocale()); itemPresentation.setSupportedImageFormats( "GIF;PNG;JPG;BMP" ); itemPresentation.setOutputFormat( emitter.getOutputFormat( ) ); if ( generationStatus != null ) { itemPresentation.deserialize( new ByteArrayInputStream( generationStatus ) ); } Object output = null; IRowSet[] rowSets = null; try { rowSets = executeQueries( item ); if ( rowSets != null ) { try { output = itemPresentation.onRowSets( rowSets ); } catch ( BirtException ex ) { logger.log( Level.SEVERE, ex.getMessage( ), ex ); String elementName = handle.getName( ); context.addException( new EngineException( "Failed to render " + handle.getExtensionName( ) + ( elementName != null ? " " + elementName : "" ), ex ) );//$NON-NLS-1$ } } if ( output != null ) { int type = itemPresentation.getOutputType( ); handleItemContent( item, emitter, content, type, output ); } itemPresentation.finish( ); } catch ( Throwable t ) { logger.log( Level.SEVERE, "Error:", t );//$NON-NLS-1$ context.addException( new EngineException( "Failed to render " + handle.getExtensionName( ) + ( item.getName( ) != null ? " " + item.getName( ) : "" ), t ) );//$NON-NLS-1$ } finally { closeQueries( rowSets ); } } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/8014737602f11534e33f244d143a691a3608218e/ExtendedItemExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExtendedItemExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 12, 8706, 1180, 15478, 761, 21, 16, 467, 4820, 13476, 11520, 262, 202, 95, 202, 202, 11231, 761, 21, 1276, 14094, 1180, 15478, 31, 202, 202, 11456, 1180, 15478, 761, 273, 261, 11456, 1180, 15478, 13, 761, 21, 31, 202, 202, 45, 11456, 1180, 1350, 913, 273, 3697, 1733, 9506, 202, 18, 2640, 11456, 1180, 1350, 12, 261, 11456, 1180, 15478, 13, 761, 269, 819, 18, 588, 1350, 921, 12, 262, 1769, 9506, 202, 759, 1640, 2975, 1790, 16, 4123, 487, 202, 202, 759, 202, 202, 759, 21, 13, 2154, 261, 1248, 3260, 2037, 487, 732, 1338, 2865, 1316, 2710, 13, 202, 202, 759, 22, 13, 8839, 261, 1248, 3260, 2037, 487, 732, 1338, 2865, 1316, 2710, 13, 202, 202, 759, 23, 13, 619, 16, 93, 202, 202, 759, 24, 13, 4209, 202, 202, 759, 202, 202, 759, 1308, 2605, 761, 17, 4127, 4467, 18, 202, 202, 759, 2640, 729, 17, 2178, 9377, 17, 957, 4222, 733, 202, 202, 11456, 1180, 3259, 1640, 273, 261, 11456, 1180, 3259, 13, 761, 18, 588, 3259, 12, 11272, 202, 202, 780, 7196, 273, 1640, 18, 588, 3625, 461, 12, 11272, 202, 202, 45, 4820, 1180, 13842, 761, 13842, 273, 10021, 1318, 18, 588, 1442, 12, 262, 9506, 202, 18, 2640, 13842, 1180, 12, 7196, 11272, 202, 202, 7229, 8526, 9377, 1482, 273, 446, 31, 202, 202, 430, 261, 761, 13842, 480, 446, 262, 202, 202, 95, 1082, 202, 1726, 13842, 18, 542, 1488, 921, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 12, 8706, 1180, 15478, 761, 21, 16, 467, 4820, 13476, 11520, 262, 202, 95, 202, 202, 11231, 761, 21, 1276, 14094, 1180, 15478, 31, 202, 202, 11456, 1180, 15478, 761, 273, 261, 11456, 1180, 15478, 13, 761, 21, 31, 202, 202, 45, 11456, 1180, 1350, 913, 273, 3697, 1733, 9506, 202, 18, 2640, 11456, 1180, 1350, 12, 261, 11456, 1180, 15478, 13, 761, 269, 819, 18, 588, 1350, 921, 12, 262, 1769, 9506, 202, 759, 1640, 2975, 1790, 16, 4123, 487, 202, 202, 759, 202, 202, 759, 21, 13, 2154, 261, 1248, 3260, 2037, 487, 732, 1338, 2865, 1316, 2710, 13, 202, 202, 759, 22, 13, 8839, 261, 1248, 3260, 2037, 487, 732, 1338, 2 ]
{ "archived_datetime", makeSqlStringFromDate(document.getArchivedDatetime())},
{ "archived_datetime", Utility.makeSqlStringFromDate(document.getArchivedDatetime())},
private int sqlInsertIntoMeta(DocumentDomainObject document) { final Number documentId = (Number) database.executeCommand(new InsertIntoTableDatabaseCommand("meta", new String[][]{ { "doc_type", document.getDocumentTypeId() + ""}, { "meta_headline", document.getHeadline()}, { "meta_text", document.getMenuText()}, { "meta_image", document.getMenuImage()}, { "owner_id", document.getCreator().getId() + ""}, { "permissions", makeSqlStringFromBoolean(document.isRestrictedOneMorePrivilegedThanRestrictedTwo())}, { "shared", makeSqlStringFromBoolean(document.isLinkableByOtherUsers())}, { "show_meta", makeSqlStringFromBoolean(document.isVisibleInMenusForUnauthorizedUsers())}, { "lang_prefix", document.getLanguageIso639_2()}, { "date_created", makeSqlStringFromDate(document.getCreatedDatetime()) }, { "date_modified", makeSqlStringFromDate(document.getModifiedDatetime())}, { "disable_search", makeSqlStringFromBoolean(document.isSearchDisabled())}, { "target", document.getTarget()}, { "activate", "1"}, { "archived_datetime", makeSqlStringFromDate(document.getArchivedDatetime())}, { "publisher_id", null != document.getPublisher() ? document.getPublisher().getId() + "" : null}, { "status", "" + document.getStatus()}, { "publication_start_datetime", makeSqlStringFromDate(document.getPublicationStartDatetime())}, { "publication_end_datetime", makeSqlStringFromDate(document.getPublicationEndDatetime())} })); return documentId.intValue(); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/e81260ba4ea5006ddc86c24938cbb4a791b0cc3b/DocumentMapper.java/clean/server/src/imcode/server/document/DocumentMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1847, 4600, 5952, 2781, 12, 2519, 3748, 921, 1668, 13, 288, 3639, 727, 3588, 28573, 273, 261, 1854, 13, 2063, 18, 8837, 2189, 12, 2704, 8040, 5952, 1388, 4254, 2189, 2932, 3901, 3113, 394, 514, 63, 6362, 7073, 5411, 288, 315, 2434, 67, 723, 3113, 1668, 18, 588, 2519, 11731, 1435, 397, 1408, 5779, 5411, 288, 315, 3901, 67, 1978, 1369, 3113, 1668, 18, 588, 1414, 1369, 1435, 5779, 5411, 288, 315, 3901, 67, 955, 3113, 1668, 18, 588, 4599, 1528, 1435, 5779, 5411, 288, 315, 3901, 67, 2730, 3113, 1668, 18, 588, 4599, 2040, 1435, 5779, 5411, 288, 315, 8443, 67, 350, 3113, 1668, 18, 588, 10636, 7675, 26321, 1435, 397, 1408, 5779, 5411, 288, 315, 9612, 3113, 1221, 5101, 780, 1265, 5507, 12, 5457, 18, 291, 18784, 3335, 7417, 18845, 9516, 18784, 11710, 10756, 5779, 5411, 288, 315, 11574, 3113, 1221, 5101, 780, 1265, 5507, 12, 5457, 18, 291, 2098, 429, 858, 8290, 6588, 10756, 5779, 5411, 288, 315, 4500, 67, 3901, 3113, 1221, 5101, 780, 1265, 5507, 12, 5457, 18, 291, 6207, 382, 29755, 1290, 13981, 6588, 10756, 5779, 5411, 288, 315, 4936, 67, 3239, 3113, 1668, 18, 588, 3779, 18516, 21607, 67, 22, 1435, 5779, 5411, 288, 315, 712, 67, 4824, 3113, 1221, 5101, 780, 1265, 1626, 12, 5457, 18, 588, 6119, 16103, 10756, 19879, 5411, 288, 315, 712, 67, 7342, 3113, 1221, 5101, 780, 1265, 1626, 12, 5457, 18, 588, 4575, 16103, 10756, 5779, 5411, 288, 315, 8394, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1847, 4600, 5952, 2781, 12, 2519, 3748, 921, 1668, 13, 288, 3639, 727, 3588, 28573, 273, 261, 1854, 13, 2063, 18, 8837, 2189, 12, 2704, 8040, 5952, 1388, 4254, 2189, 2932, 3901, 3113, 394, 514, 63, 6362, 7073, 5411, 288, 315, 2434, 67, 723, 3113, 1668, 18, 588, 2519, 11731, 1435, 397, 1408, 5779, 5411, 288, 315, 3901, 67, 1978, 1369, 3113, 1668, 18, 588, 1414, 1369, 1435, 5779, 5411, 288, 315, 3901, 67, 955, 3113, 1668, 18, 588, 4599, 1528, 1435, 5779, 5411, 288, 315, 3901, 67, 2730, 3113, 1668, 18, 588, 4599, 2040, 1435, 5779, 5411, 288, 315, 8443, 67, 350, 3113, 1668, 18, 588, 10636, 7675, 26321, 1435, 397, 1408, 5779, 5411, 288, 2 ]
return null;
long Whole = (long)f; f -= Whole; long Num = Math.round(f * units); return new StringBuffer().append(Whole).append(" ").append(Num).append("/").append(units).toString();
private String formatUnit(double f, int units) { //JMH TBD return null; }
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/3c8d54e6ffd9607b81c1f5580f00f4d69994af5a/SVFractionalFormat.java/clean/src/contrib/src/org/apache/poi/hssf/contrib/view/SVFractionalFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 740, 2802, 12, 9056, 284, 16, 509, 4971, 13, 288, 565, 368, 46, 49, 44, 399, 18096, 282, 1525, 3497, 790, 273, 261, 5748, 13, 74, 31, 284, 3947, 3497, 790, 31, 1525, 6805, 273, 2361, 18, 2260, 12, 74, 380, 4971, 1769, 225, 327, 394, 6674, 7675, 6923, 12, 2888, 790, 2934, 6923, 2932, 315, 2934, 6923, 12, 2578, 2934, 6923, 2932, 4898,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 740, 2802, 12, 9056, 284, 16, 509, 4971, 13, 288, 565, 368, 46, 49, 44, 399, 18096, 282, 1525, 3497, 790, 273, 261, 5748, 13, 74, 31, 284, 3947, 3497, 790, 31, 1525, 6805, 273, 2361, 18, 2260, 12, 74, 380, 4971, 1769, 225, 327, 394, 6674, 7675, 6923, 12, 2888, 790, 2934, 6923, 2932, 315, 2934, 6923, 12, 2578, 2934, 6923, 2932, 4898, 2934, 6923, 12, 7705, 2934, 10492, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void addLayoutComponent(Component component, Object contraint);
void addLayoutComponent(Component component, Object contraints);
void addLayoutComponent(Component component, Object contraint);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/LayoutManager2.java/buggy/core/src/classpath/java/java/awt/LayoutManager2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 527, 3744, 1841, 12, 1841, 1794, 16, 1033, 16252, 1598, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 918, 527, 3744, 1841, 12, 1841, 1794, 16, 1033, 16252, 1598, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]