rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
updatechecks.add (uc); }
|
updatechecks.add(uc); }
|
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = packs.size(); handler.startAction ("Unpacking", npacks); udata = UninstallData.getInstance(); // Specific to the web installers if (idata.kind.equalsIgnoreCase("web") || idata.kind.equalsIgnoreCase("web-kunststoff")) { InputStream kin = getClass().getResourceAsStream("/res/WebInstallers.url"); BufferedReader kreader = new BufferedReader(new InputStreamReader(kin)); jarLocation = kreader.readLine(); } // We unpack the selected packs for (int i = 0; i < npacks; i++) { // We get the pack stream int n = idata.allPacks.indexOf(packs.get(i)); ObjectInputStream objIn = new ObjectInputStream(getPackAsStream(n)); // We unpack the files int nfiles = objIn.readInt(); handler.nextStep (((Pack) packs.get(i)).name, i+1, nfiles); for (int j = 0; j < nfiles; j++) { // We read the header PackFile pf = (PackFile) objIn.readObject(); if (OsConstraint.oneMatchesCurrentSystem(pf.osConstraints)) { // We translate & build the path String path = translatePath(pf.targetPath); File pathFile = new File(path); File dest = pathFile.getParentFile(); if (!dest.exists()) { if (! dest.mkdirs()) { handler.emitError("Error creating directories", "Could not create directory\n"+dest.getPath()); handler.stopAction (); return; } } // We add the path to the log, udata.addFile(path); handler.progress (j, path); //if this file exists and should not be overwritten, check //what to do if ((pathFile.exists ()) && (pf.override != PackFile.OVERRIDE_TRUE)) { boolean overwritefile = false; // don't overwrite file if the user said so if (pf.override != PackFile.OVERRIDE_FALSE) { if (pf.override == PackFile.OVERRIDE_TRUE) { overwritefile = true; } else if (pf.override == PackFile.OVERRIDE_UPDATE) { // check mtime of involved files // (this is not 100% perfect, because the already existing file might // still be modified but the new installed is just a bit newer; we would // need the creation time of the existing file or record with which mtime // it was installed...) overwritefile = (pathFile.lastModified() < pf.mtime); } else { int def_choice = -1; if (pf.override == PackFile.OVERRIDE_ASK_FALSE) def_choice = AbstractUIHandler.ANSWER_NO; if (pf.override == PackFile.OVERRIDE_ASK_TRUE) def_choice = AbstractUIHandler.ANSWER_YES; int answer = handler.askQuestion ( idata.langpack.getString ("InstallPanel.overwrite.title") + pathFile.getName (), idata.langpack.getString ("InstallPanel.overwrite.question") + pathFile.getAbsolutePath(), AbstractUIHandler.CHOICES_YES_NO, def_choice); overwritefile = (answer == AbstractUIHandler.ANSWER_YES); } } if (! overwritefile) { if (!pf.isBackReference()) objIn.skip(pf.length); continue; } } // We copy the file out = new FileOutputStream(pathFile); byte[] buffer = new byte[5120]; long bytesCopied = 0; ObjectInputStream pis = objIn; if (pf.isBackReference()) { InputStream is = getPackAsStream(pf.previousPackNumber); pis = new ObjectInputStream(is);//must wrap for blockdata use by objectstream (otherwise strange result) //skip on underlaying stream (for some reason not possible on ObjectStream) is.skip(pf.offsetInPreviousPack - 4); //but the stream header is now already read (== 4 bytes) } while (bytesCopied < pf.length) { int maxBytes = (pf.length - bytesCopied < buffer.length ? (int) (pf.length - bytesCopied) : buffer.length); int bytesInBuffer = pis.read(buffer, 0, maxBytes); if (bytesInBuffer == -1) throw new IOException("Unexpected end of stream"); out.write(buffer, 0, bytesInBuffer); bytesCopied += bytesInBuffer; } // Cleanings out.close(); if (pis != objIn) pis.close(); // Set file modification time if specified if (pf.mtime >= 0) pathFile.setLastModified (pf.mtime); // Empty dirs restoring String _n = pathFile.getName(); if (_n.startsWith("izpack-keepme") && _n.endsWith(".tmp")) pathFile.delete(); } else { if (!pf.isBackReference()) objIn.skip(pf.length); } } // Load information about parsable files int numParsables = objIn.readInt(); for (int k = 0; k < numParsables; k++) { ParsableFile pf = (ParsableFile) objIn.readObject(); pf.path = translatePath(pf.path); parsables.add(pf); } // Load information about executable files int numExecutables = objIn.readInt(); for (int k = 0; k < numExecutables; k++) { ExecutableFile ef = (ExecutableFile) objIn.readObject(); ef.path = translatePath(ef.path); if (null != ef.argList && !ef.argList.isEmpty()) { String arg = null; for (int j = 0; j < ef.argList.size(); j++) { arg = (String) ef.argList.get(j); arg = translatePath(arg); ef.argList.set(j, arg); } } executables.add(ef); if(ef.executionStage == ExecutableFile.UNINSTALL) { udata.addExecutable(ef); } } // Load information about updatechecks int numUpdateChecks = objIn.readInt(); for (int k = 0; k < numUpdateChecks; k++) { UpdateCheck uc = (UpdateCheck) objIn.readObject(); updatechecks.add (uc); } objIn.close(); } // We use the scripts parser ScriptParser parser = new ScriptParser(parsables, vs); parser.parseFiles(); // We use the file executor FileExecutor executor = new FileExecutor(executables); if (executor.executeFiles(ExecutableFile.POSTINSTALL, handler) != 0) handler.emitError ("File execution failed", "The installation was not completed"); // We put the uninstaller (it's not yet complete...) if (idata.info.getWriteUninstaller()) putUninstaller(); // update checks _after_ uninstaller was put, so we don't delete it performUpdateChecks (updatechecks); // The end :-) handler.stopAction(); } catch (Exception err) { // TODO: finer grained error handling with useful error messages handler.stopAction(); handler.emitError ("An error occured", err.toString()); err.printStackTrace (); } finally { instances.remove(instances.indexOf(this)); } }
|
58440 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58440/47db88bfea6b64e47a33aa3c937b2ce6e8640d56/Unpacker.java/clean/izpack-src/trunk/src/lib/com/izforge/izpack/installer/Unpacker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
1435,
225,
288,
565,
3884,
18,
1289,
12,
2211,
1769,
565,
775,
565,
288,
1377,
368,
1377,
368,
10188,
291,
1012,
1377,
12942,
596,
273,
446,
31,
1377,
2407,
13249,
1538,
273,
394,
2407,
5621,
1377,
2407,
28743,
1538,
273,
394,
2407,
5621,
1377,
2407,
1089,
12366,
273,
394,
2407,
5621,
1377,
987,
2298,
87,
273,
612,
396,
18,
8109,
4420,
87,
31,
1377,
509,
1130,
22098,
273,
2298,
87,
18,
1467,
5621,
1377,
1838,
18,
1937,
1803,
7566,
23649,
310,
3113,
1130,
22098,
1769,
1377,
582,
892,
273,
1351,
5425,
751,
18,
588,
1442,
5621,
1377,
368,
23043,
358,
326,
3311,
3799,
414,
1377,
309,
261,
350,
396,
18,
9224,
18,
14963,
5556,
2932,
4875,
7923,
747,
3639,
612,
396,
18,
9224,
18,
14963,
5556,
2932,
4875,
17,
79,
23412,
334,
3674,
6,
3719,
1377,
288,
3639,
5037,
417,
267,
273,
2900,
7675,
588,
1420,
17052,
2932,
19,
455,
19,
4079,
6410,
414,
18,
718,
8863,
3639,
10633,
417,
10530,
273,
394,
10633,
12,
2704,
15322,
12,
15984,
10019,
3639,
7334,
2735,
273,
417,
10530,
18,
896,
1670,
5621,
1377,
289,
1377,
368,
1660,
6167,
326,
3170,
2298,
87,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1130,
22098,
31,
277,
27245,
1377,
288,
3639,
368,
1660,
336,
326,
2298,
1407,
3639,
509,
290,
273,
612,
396,
18,
454,
4420,
87,
18,
31806,
12,
2920,
87,
18,
588,
12,
77,
10019,
3639,
22726,
1081,
382,
6647,
273,
394,
22726,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
1435,
225,
288,
565,
3884,
18,
1289,
12,
2211,
1769,
565,
775,
565,
288,
1377,
368,
1377,
368,
10188,
291,
1012,
1377,
12942,
596,
273,
446,
31,
1377,
2407,
13249,
1538,
273,
394,
2407,
5621,
1377,
2407,
28743,
1538,
273,
394,
2407,
5621,
1377,
2407,
1089,
12366,
273,
394,
2407,
5621,
1377,
987,
2298,
87,
273,
612,
396,
18,
8109,
4420,
87,
31,
1377,
509,
1130,
22098,
273,
2298,
87,
18,
1467,
5621,
1377,
1838,
18,
1937,
1803,
7566,
23649,
310,
3113,
1130,
22098,
1769,
1377,
582,
892,
273,
1351,
5425,
751,
18,
588,
1442,
5621,
1377,
368,
23043,
358,
326,
3311,
3799,
414,
1377,
309,
261,
350,
396,
18,
9224,
18,
14963,
5556,
2932,
2
] |
public org.quickfix.field.UnderlyingSecurityExchange getUnderlyingSecurityExchange() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityExchange value = new org.quickfix.field.UnderlyingSecurityExchange();
|
public quickfix.field.UnderlyingSecurityExchange getUnderlyingSecurityExchange() throws FieldNotFound { quickfix.field.UnderlyingSecurityExchange value = new quickfix.field.UnderlyingSecurityExchange();
|
public org.quickfix.field.UnderlyingSecurityExchange getUnderlyingSecurityExchange() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityExchange value = new org.quickfix.field.UnderlyingSecurityExchange(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/ExecutionReport.java/buggy/src/java/src/quickfix/fix44/ExecutionReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
11688,
10833,
765,
6291,
4368,
11688,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
11688,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
11688,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
11688,
10833,
765,
6291,
4368,
11688,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
11688,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
11688,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
SVNDebugLog.log(e);
|
SVNDebugLog.logInfo(e);
|
public static void write(OutputStream os, String templateStr, Object[] src) throws SVNException { StringBuffer template = new StringBuffer(templateStr.length()); for (int i = 0; i < templateStr.length(); i++) { char ch = templateStr.charAt(i); if (!Character.isWhitespace(ch)) { template.append(ch); } } int offset = 0; try { for (int i = 0; i < template.length(); i++) { char ch = template.charAt(i); if (ch == '(' || ch == ')') { os.write((byte) ch); os.write(' '); continue; } Object item = src[offset++]; if (item == null) { continue; } if (item instanceof Date) { item = SVNTimeUtil.formatDate((Date) item); } if (ch == 'i') { InputStream is = ((SVNDataSource) item).getInputStream(); long length = ((SVNDataSource) item).lenght(); os.write(Long.toString(length).getBytes("UTF-8")); os.write(':'); byte[] buffer = new byte[Math.min(2048, (int) length)]; while (true) { int read = is.read(buffer); if (read > 0) { os.write(buffer, 0, read); } else { break; } } } if (ch == 'b') { byte[] bytes = (byte[]) item; os.write(Integer.toString(bytes.length).getBytes("UTF-8")); os.write(':'); os.write(bytes); } else if (ch == 'n') { os.write(item.toString().getBytes("UTF-8")); } else if (ch == 'w') { os.write(item.toString().getBytes("UTF-8")); } else if (ch == 's') { os.write(Integer.toString( item.toString().getBytes("UTF-8").length).getBytes( "UTF-8")); os.write(':'); os.write(item.toString().getBytes("UTF-8")); } else if (ch == '*') { ch = template.charAt(i + 1); if (item instanceof Object[]) { Object[] list = (Object[]) item; for (int j = 0; j < list.length; j++) { if (ch == 's') { os.write(Integer .toString( list[j].toString().getBytes( "UTF-8").length) .getBytes("UTF-8")); os.write(':'); os.write(list[j].toString().getBytes("UTF-8")); } else if (ch == 'w') { os.write(list[j].toString().getBytes("UTF-8")); } os.write(' '); } } else if (item instanceof long[] && ch == 'n') { long[] list = (long[]) item; for (int j = 0; j < list.length; j++) { os.write(Long.toString(list[j]).getBytes("UTF-8")); os.write(' '); } } else if (item instanceof Map && ch == 'l') { Map map = (Map) item; for (Iterator paths = map.keySet().iterator(); paths .hasNext();) { String path = (String) paths.next(); String token = (String) map.get(path); os.write('('); os.write(' '); os.write(Integer.toString( path.getBytes("UTF-8").length).getBytes( "UTF-8")); os.write(':'); os.write(path.getBytes("UTF-8")); os.write(' '); os.write(Integer.toString( token.getBytes("UTF-8").length).getBytes( "UTF-8")); os.write(':'); os.write(token.getBytes("UTF-8")); os.write(' '); os.write(')'); os.write(' '); } } i++; } os.write(' '); } } catch (IOException e) { SVNDebugLog.log(e); throw new SVNException("error while sending data", e); } }
|
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/3923f5416342d8fbfe28509bee38b5bd27c711aa/SVNWriter.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/io/svn/SVNWriter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1045,
12,
4632,
1140,
16,
514,
1542,
1585,
16,
1033,
8526,
1705,
13,
5411,
1216,
29537,
50,
503,
288,
3639,
6674,
1542,
273,
394,
6674,
12,
3202,
1585,
18,
2469,
10663,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1542,
1585,
18,
2469,
5621,
277,
27245,
288,
5411,
1149,
462,
273,
1542,
1585,
18,
3001,
861,
12,
77,
1769,
5411,
309,
16051,
7069,
18,
291,
9431,
12,
343,
3719,
288,
7734,
1542,
18,
6923,
12,
343,
1769,
5411,
289,
3639,
289,
3639,
509,
1384,
273,
374,
31,
3639,
775,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1542,
18,
2469,
5621,
277,
27245,
288,
7734,
1149,
462,
273,
1542,
18,
3001,
861,
12,
77,
1769,
7734,
309,
261,
343,
422,
7321,
747,
462,
422,
5777,
13,
288,
10792,
1140,
18,
2626,
12443,
7229,
13,
462,
1769,
10792,
1140,
18,
2626,
2668,
28005,
10792,
1324,
31,
7734,
289,
7734,
1033,
761,
273,
1705,
63,
3348,
9904,
15533,
7734,
309,
261,
1726,
422,
446,
13,
288,
10792,
1324,
31,
7734,
289,
7734,
309,
261,
1726,
1276,
2167,
13,
288,
10792,
761,
273,
29537,
50,
950,
1304,
18,
2139,
1626,
12443,
1626,
13,
761,
1769,
7734,
289,
7734,
309,
261,
343,
422,
296,
77,
6134,
288,
10792,
5037,
353,
273,
14015,
23927,
50,
8597,
13,
761,
2934,
588,
4348,
5621,
10792,
1525,
769,
273,
14015,
23927,
50,
8597,
13,
761,
2934,
1897,
75,
647,
5621,
10792,
1140,
18,
2626,
12,
3708,
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,
1045,
12,
4632,
1140,
16,
514,
1542,
1585,
16,
1033,
8526,
1705,
13,
5411,
1216,
29537,
50,
503,
288,
3639,
6674,
1542,
273,
394,
6674,
12,
3202,
1585,
18,
2469,
10663,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1542,
1585,
18,
2469,
5621,
277,
27245,
288,
5411,
1149,
462,
273,
1542,
1585,
18,
3001,
861,
12,
77,
1769,
5411,
309,
16051,
7069,
18,
291,
9431,
12,
343,
3719,
288,
7734,
1542,
18,
6923,
12,
343,
1769,
5411,
289,
3639,
289,
3639,
509,
1384,
273,
374,
31,
3639,
775,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1542,
18,
2469,
5621,
277,
27245,
288,
7734,
1149,
462,
273,
1542,
18,
2
] |
private static void LIROptimizations(Vector p) {
|
private static void LIROptimizations(ArrayList p) {
|
private static void LIROptimizations(Vector p) { // SSA meta-phase SSAinLIR(p); // Perform local copy propagation for a factored basic block. addComponent(p, new OPT_LocalCopyProp()); // Perform local constant propagation for a factored basic block. addComponent(p, new OPT_LocalConstantProp()); // Perform local common-subexpression elimination for a factored basic block. addComponent(p, new OPT_LocalCSE(false)); // Simple flow-insensitive optimizations addComponent(p, new OPT_Simple(0, false, false)); // Use the LST to estimate basic block frequency addComponent(p, new OPT_OptimizationPlanCompositeElement ("Basic Block Frequency Estimation", new Object[] { new OPT_BuildLST(), new OPT_EstimateBlockFrequencies() })); // Perform basic block reordering addComponent(p, new OPT_ReorderingPhase()); // Perform peephole branch optimizations addComponent(p, new OPT_BranchOptimizations(1, false, true)); //-#if RVM_WITH_ADAPTIVE_SYSTEM // Arnold & Ryder instrumentation sampling framework addComponent(p, new OPT_InstrumentationSamplingFramework()); // Convert high level place holder instructions into actual instrumenation addComponent(p, new OPT_LowerInstrumentation()); //-#endif }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/cd2db47c09a6d25a4da03fe4a90e458c508893d1/OPT_OptimizationPlanner.java/clean/rvm/src/vm/compilers/optimizing/driver/OPT_OptimizationPlanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
8961,
1457,
337,
381,
7089,
12,
19558,
293,
13,
288,
565,
368,
348,
5233,
2191,
17,
13961,
565,
348,
5233,
267,
2053,
54,
12,
84,
1769,
565,
368,
11217,
1191,
1610,
25686,
364,
279,
5410,
7653,
5337,
1203,
18,
565,
15218,
12,
84,
16,
394,
16456,
67,
2042,
2951,
4658,
10663,
565,
368,
11217,
1191,
5381,
25686,
364,
279,
5410,
7653,
5337,
1203,
18,
565,
15218,
12,
84,
16,
394,
16456,
67,
2042,
6902,
4658,
10663,
565,
368,
11217,
1191,
2975,
17,
1717,
8692,
19229,
1735,
364,
279,
5410,
7653,
5337,
1203,
18,
565,
15218,
12,
84,
16,
394,
16456,
67,
2042,
39,
1090,
12,
5743,
10019,
565,
368,
4477,
4693,
17,
31940,
5213,
7089,
565,
15218,
12,
84,
16,
394,
16456,
67,
5784,
12,
20,
16,
629,
16,
629,
10019,
565,
368,
2672,
326,
511,
882,
358,
11108,
5337,
1203,
8670,
565,
15218,
12,
84,
16,
394,
16456,
67,
13930,
1588,
5365,
9400,
1046,
1171,
7566,
8252,
3914,
26598,
17787,
5115,
3113,
394,
1033,
8526,
288,
5375,
394,
16456,
67,
3116,
48,
882,
9334,
5375,
394,
16456,
67,
13638,
1768,
42,
26387,
1435,
289,
10019,
565,
368,
11217,
5337,
1203,
19427,
310,
565,
15218,
12,
84,
16,
394,
16456,
67,
426,
22598,
11406,
10663,
565,
368,
11217,
293,
1340,
844,
790,
3803,
5213,
7089,
565,
15218,
12,
84,
16,
394,
16456,
67,
7108,
13930,
7089,
12,
21,
16,
629,
16,
638,
10019,
565,
368,
17,
7,
430,
534,
7397,
67,
9147,
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,
282,
3238,
760,
918,
8961,
1457,
337,
381,
7089,
12,
19558,
293,
13,
288,
565,
368,
348,
5233,
2191,
17,
13961,
565,
348,
5233,
267,
2053,
54,
12,
84,
1769,
565,
368,
11217,
1191,
1610,
25686,
364,
279,
5410,
7653,
5337,
1203,
18,
565,
15218,
12,
84,
16,
394,
16456,
67,
2042,
2951,
4658,
10663,
565,
368,
11217,
1191,
5381,
25686,
364,
279,
5410,
7653,
5337,
1203,
18,
565,
15218,
12,
84,
16,
394,
16456,
67,
2042,
6902,
4658,
10663,
565,
368,
11217,
1191,
2975,
17,
1717,
8692,
19229,
1735,
364,
279,
5410,
7653,
5337,
1203,
18,
565,
15218,
12,
84,
16,
394,
16456,
67,
2042,
39,
1090,
12,
5743,
10019,
565,
368,
4477,
4693,
17,
31940,
5213,
7089,
2
] |
ButtonBox getButtonBox()
|
JPanel getButtonBox()
|
ButtonBox getButtonBox() { return buttons; } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/3cf31efe2b1f42c624b923f1fdcd1aaaaf431719/PanelWindowContainer.java/buggy/org/gjt/sp/jedit/gui/PanelWindowContainer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3616,
3514,
2882,
2644,
3514,
1435,
202,
95,
202,
202,
2463,
9502,
31,
202,
97,
368,
9090,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3616,
3514,
2882,
2644,
3514,
1435,
202,
95,
202,
202,
2463,
9502,
31,
202,
97,
368,
9090,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new Point(maxWidth, maxHeight);
|
return new Point(maxWidth, maxHeight);
|
private SashForm createSashForm(Composite parent) { m_sashForm = new SashForm(parent, SWT.VERTICAL); ViewForm top = new ViewForm(m_sashForm, SWT.NONE); m_tabFolder = createTestRunTabs(top); m_tabFolder.setLayoutData(new Layout() { protected Point computeSize (Composite composite, int wHint, int hHint, boolean flushCache) { if (wHint != SWT.DEFAULT && hHint != SWT.DEFAULT) return new Point(wHint, hHint); Control [] children = composite.getChildren (); int count = children.length; int maxWidth = 0, maxHeight = 0; for (int i=0; i<count; i++) { Control child = children [i]; Point pt = child.computeSize (SWT.DEFAULT, SWT.DEFAULT, flushCache); maxWidth = Math.max (maxWidth, pt.x); maxHeight = Math.max (maxHeight, pt.y); } if (wHint != SWT.DEFAULT) maxWidth= wHint; if (hHint != SWT.DEFAULT) maxHeight= hHint; return new Point(maxWidth, maxHeight); } protected void layout (Composite composite, boolean flushCache) { Rectangle rect= composite.getClientArea(); Control[] children = composite.getChildren(); for (int i = 0; i < children.length; i++) { children[i].setBounds(rect); } } }); top.setContent(m_tabFolder); ViewForm bottom = new ViewForm(m_sashForm, SWT.NONE); CLabel label = new CLabel(bottom, SWT.NONE); label.setText(ResourceUtil.getString("TestRunnerViewPart.label.failure")); //$NON-NLS-1$ label.setImage(fStackViewIcon); bottom.setTopLeft(label); ToolBar failureToolBar = new ToolBar(bottom, SWT.FLAT | SWT.WRAP); bottom.setTopCenter(failureToolBar); m_failureTraceComponent = new FailureTrace(bottom, this, failureToolBar); bottom.setContent(m_failureTraceComponent.getComposite()); m_sashForm.setWeights(new int[] { 50, 50 }); return m_sashForm; }
|
55140 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55140/939c2626f5ef7c6550d3a506ac6dd14b7667f498/TestRunnerViewPart.java/clean/src/main/org/testng/eclipse/ui/TestRunnerViewPart.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
348,
961,
1204,
752,
55,
961,
1204,
12,
9400,
982,
13,
288,
565,
312,
67,
87,
961,
1204,
273,
394,
348,
961,
1204,
12,
2938,
16,
348,
8588,
18,
21654,
10109,
1769,
565,
4441,
1204,
1760,
273,
394,
4441,
1204,
12,
81,
67,
87,
961,
1204,
16,
348,
8588,
18,
9826,
1769,
565,
312,
67,
7032,
3899,
273,
752,
4709,
1997,
17348,
12,
3669,
1769,
565,
312,
67,
7032,
3899,
18,
542,
3744,
751,
12,
2704,
9995,
1435,
288,
3639,
4750,
4686,
3671,
1225,
261,
9400,
9635,
16,
509,
341,
7002,
16,
509,
366,
7002,
16,
1250,
3663,
1649,
13,
288,
5411,
309,
261,
91,
7002,
480,
348,
8588,
18,
5280,
597,
366,
7002,
480,
348,
8588,
18,
5280,
13,
7734,
327,
394,
4686,
12,
91,
7002,
16,
366,
7002,
1769,
18701,
8888,
5378,
2325,
273,
9635,
18,
588,
4212,
261,
1769,
5411,
509,
1056,
273,
2325,
18,
2469,
31,
5411,
509,
17681,
273,
374,
16,
23185,
273,
374,
31,
5411,
364,
261,
474,
277,
33,
20,
31,
277,
32,
1883,
31,
277,
27245,
288,
7734,
8888,
1151,
273,
2325,
306,
77,
15533,
7734,
4686,
5818,
273,
1151,
18,
9200,
1225,
261,
55,
8588,
18,
5280,
16,
348,
8588,
18,
5280,
16,
3663,
1649,
1769,
7734,
17681,
273,
2361,
18,
1896,
261,
1896,
2384,
16,
5818,
18,
92,
1769,
7734,
23185,
273,
2361,
18,
1896,
261,
1896,
2686,
16,
5818,
18,
93,
1769,
5411,
289,
13491,
309,
261,
91,
7002,
480,
348,
8588,
18,
5280,
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,
348,
961,
1204,
752,
55,
961,
1204,
12,
9400,
982,
13,
288,
565,
312,
67,
87,
961,
1204,
273,
394,
348,
961,
1204,
12,
2938,
16,
348,
8588,
18,
21654,
10109,
1769,
565,
4441,
1204,
1760,
273,
394,
4441,
1204,
12,
81,
67,
87,
961,
1204,
16,
348,
8588,
18,
9826,
1769,
565,
312,
67,
7032,
3899,
273,
752,
4709,
1997,
17348,
12,
3669,
1769,
565,
312,
67,
7032,
3899,
18,
542,
3744,
751,
12,
2704,
9995,
1435,
288,
3639,
4750,
4686,
3671,
1225,
261,
9400,
9635,
16,
509,
341,
7002,
16,
509,
366,
7002,
16,
1250,
3663,
1649,
13,
288,
5411,
309,
261,
91,
7002,
480,
348,
8588,
18,
5280,
597,
366,
7002,
480,
348,
8588,
2
] |
} }
|
private String printSub(BitSet sub) { int i; String s=""; for (int jj=0;jj<m_numAttributes;jj++) if (sub.get(jj)) s += " "+(jj+1); return s; }
|
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/5a67514c4d5c4fc3fa7a8c909b19b0a2e5c0c206/DecisionTable.java/buggy/trunk/weka/classifiers/DecisionTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
289,
289,
289,
289,
3238,
97,
289,
514,
97,
289,
1172,
1676,
12,
5775,
694,
97,
289,
720,
16869,
289,
289,
289,
2618,
289,
289,
289,
289,
289,
289,
289,
509,
97,
289,
277,
31,
97,
289,
289,
289,
289,
289,
289,
289,
514,
97,
289,
272,
1546,
14432,
202,
97,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
364,
97,
289,
261,
474,
97,
289,
10684,
33,
20,
31,
78,
78,
32,
81,
67,
2107,
2498,
31,
78,
78,
27245,
97,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
309,
97,
289,
261,
1717,
18,
588,
12,
78,
78,
3719,
202,
87,
97,
289,
1011,
97,
289,
27342,
289,
13773,
12,
78,
78,
15,
21,
1769,
97,
289,
289,
289,
289,
289,
289,
289,
327,
97,
289,
272,
31,
97,
289,
289,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
289,
289,
289,
289,
3238,
97,
289,
514,
97,
289,
1172,
1676,
12,
5775,
694,
97,
289,
720,
16869,
289,
289,
289,
2618,
289,
289,
289,
289,
289,
289,
289,
509,
97,
289,
277,
31,
97,
289,
289,
289,
289,
289,
289,
289,
514,
97,
289,
272,
1546,
14432,
202,
97,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
364,
97,
289,
261,
474,
97,
289,
10684,
33,
20,
31,
78,
78,
32,
81,
67,
2107,
2498,
31,
78,
78,
27245,
97,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
289,
309,
97,
289,
261,
1717,
18,
588,
12,
78,
78,
3719,
202,
87,
97,
289,
1011,
97,
289,
27342,
2
] |
|
public void completeConfig() throws Exception { VpnSettings newSettings = this.sandbox.completeConfig( this.getTid()); /* Generate new settings */ if ( newSettings.getIsEdgeGuardClient()) { /* Finish the configuration for clients, nothing left to do, * it is all done at download time */ } else { /* Try to cleanup the previous data */ ScriptRunner.getInstance().exec( CLEANUP_SCRIPT ); /* Create the base certificate and parameters */ this.certificateManager.createBase( newSettings ); /* Create clients certificates */ this.certificateManager.createAllClientCertificates( newSettings ); /* Distribute emails */ distributeAllClientFiles( newSettings ); } setVpnSettings( newSettings ); /* No reusing the sanbox */ this.sandbox = null; }
|
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/115e144444f9e3e5b13e66a4e36937ed2f6c876a/VpnTransformImpl.java/buggy/tran/openvpn/main/com/metavize/tran/openvpn/VpnTransformImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3912,
809,
1435,
1216,
1185,
565,
288,
3639,
31531,
2628,
394,
2628,
273,
333,
18,
27004,
18,
6226,
809,
12,
333,
18,
588,
56,
350,
10663,
3639,
1748,
6654,
394,
1947,
1195,
3639,
309,
261,
394,
2628,
18,
588,
2520,
6098,
16709,
1227,
10756,
288,
5411,
1748,
18560,
326,
1664,
364,
7712,
16,
5083,
2002,
358,
741,
16,
2398,
380,
518,
353,
777,
2731,
622,
4224,
813,
1195,
3639,
289,
469,
288,
5411,
1748,
6161,
358,
6686,
326,
2416,
501,
1195,
5411,
7739,
9709,
18,
588,
1442,
7675,
4177,
12,
385,
10439,
3079,
67,
10885,
11272,
13491,
1748,
1788,
326,
1026,
4944,
471,
1472,
1195,
5411,
333,
18,
14108,
1318,
18,
2640,
2171,
12,
394,
2628,
11272,
13491,
1748,
1788,
7712,
12522,
1195,
5411,
333,
18,
14108,
1318,
18,
2640,
1595,
1227,
14133,
12,
394,
2628,
11272,
13491,
1748,
3035,
887,
14255,
1195,
5411,
25722,
1595,
1227,
2697,
12,
394,
2628,
11272,
3639,
289,
7734,
444,
18251,
2628,
12,
394,
2628,
11272,
7734,
1748,
2631,
283,
9940,
326,
272,
304,
2147,
1195,
3639,
333,
18,
27004,
273,
446,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3912,
809,
1435,
1216,
1185,
565,
288,
3639,
31531,
2628,
394,
2628,
273,
333,
18,
27004,
18,
6226,
809,
12,
333,
18,
588,
56,
350,
10663,
3639,
1748,
6654,
394,
1947,
1195,
3639,
309,
261,
394,
2628,
18,
588,
2520,
6098,
16709,
1227,
10756,
288,
5411,
1748,
18560,
326,
1664,
364,
7712,
16,
5083,
2002,
358,
741,
16,
2398,
380,
518,
353,
777,
2731,
622,
4224,
813,
1195,
3639,
289,
469,
288,
5411,
1748,
6161,
358,
6686,
326,
2416,
501,
1195,
5411,
7739,
9709,
18,
588,
1442,
7675,
4177,
12,
385,
10439,
3079,
67,
10885,
11272,
13491,
1748,
1788,
326,
1026,
4944,
471,
1472,
1195,
5411,
333,
18,
14108,
1318,
18,
2640,
2171,
12,
394,
2628,
2
] |
||
clone._isRestartable = false;
|
public NodeIterator cloneIterator() { try { NodeValueIterator clone = (NodeValueIterator)super.clone(); clone._isRestartable = false; clone._source = _source.cloneIterator(); clone._value = _value; clone._op = _op; return clone.reset(); } catch (CloneNotSupportedException e) { BasisLibrary.runTimeError(BasisLibrary.ITERATOR_CLONE_ERR, e.toString()); return null; } }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/93d225fbedb7592509cdc9759acb2a99029890ec/DOMImpl.java/clean/src/org/apache/xalan/xsltc/dom/DOMImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2029,
3198,
3236,
3198,
1435,
288,
202,
565,
775,
288,
202,
202,
907,
620,
3198,
3236,
273,
261,
907,
620,
3198,
13,
9565,
18,
14056,
5621,
202,
202,
14056,
6315,
291,
15057,
429,
273,
629,
31,
202,
202,
14056,
6315,
3168,
273,
389,
3168,
18,
14056,
3198,
5621,
202,
202,
14056,
6315,
1132,
273,
389,
1132,
31,
202,
202,
14056,
6315,
556,
273,
389,
556,
31,
202,
202,
2463,
3236,
18,
6208,
5621,
202,
565,
289,
202,
565,
1044,
261,
10930,
25482,
425,
13,
288,
202,
202,
11494,
291,
9313,
18,
2681,
950,
668,
12,
11494,
291,
9313,
18,
11844,
3575,
67,
5017,
5998,
67,
9712,
16,
25083,
225,
425,
18,
10492,
10663,
202,
202,
2463,
446,
31,
202,
565,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2029,
3198,
3236,
3198,
1435,
288,
202,
565,
775,
288,
202,
202,
907,
620,
3198,
3236,
273,
261,
907,
620,
3198,
13,
9565,
18,
14056,
5621,
202,
202,
14056,
6315,
291,
15057,
429,
273,
629,
31,
202,
202,
14056,
6315,
3168,
273,
389,
3168,
18,
14056,
3198,
5621,
202,
202,
14056,
6315,
1132,
273,
389,
1132,
31,
202,
202,
14056,
6315,
556,
273,
389,
556,
31,
202,
202,
2463,
3236,
18,
6208,
5621,
202,
565,
289,
202,
565,
1044,
261,
10930,
25482,
425,
13,
288,
202,
202,
11494,
291,
9313,
18,
2681,
950,
668,
12,
11494,
291,
9313,
18,
11844,
3575,
67,
5017,
5998,
67,
9712,
16,
25083,
225,
425,
18,
10492,
10663,
202,
202,
2463,
2
] |
|
Member member = getMemberArg(evaluator, args, 0, true); Member parent = member.getParentMember(); final SchemaReader schemaReader = evaluator.getSchemaReader(); Member[] siblings; if (parent == null) { siblings = schemaReader.getHierarchyRootMembers(member.getHierarchy()); } else { siblings = schemaReader.getMemberChildren(parent); } return Arrays.asList(siblings); }
|
Member member = getMemberArg(evaluator, args, 0, true); Member parent = member.getParentMember(); final SchemaReader schemaReader = evaluator.getSchemaReader(); Member[] siblings; if (parent == null) { siblings = schemaReader.getHierarchyRootMembers(member.getHierarchy()); } else { siblings = schemaReader.getMemberChildren(parent); } return Arrays.asList(siblings); }
|
public Object evaluate(Evaluator evaluator, Exp[] args) { Member member = getMemberArg(evaluator, args, 0, true); Member parent = member.getParentMember(); final SchemaReader schemaReader = evaluator.getSchemaReader(); Member[] siblings; if (parent == null) { siblings = schemaReader.getHierarchyRootMembers(member.getHierarchy()); } else { siblings = schemaReader.getMemberChildren(parent); } return Arrays.asList(siblings); }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
9506,
202,
4419,
3140,
273,
18925,
4117,
12,
14168,
639,
16,
833,
16,
374,
16,
638,
1769,
9506,
202,
4419,
982,
273,
3140,
18,
588,
3054,
4419,
5621,
9506,
202,
6385,
4611,
2514,
1963,
2514,
273,
18256,
18,
588,
3078,
2514,
5621,
9506,
202,
4419,
8526,
14692,
31,
9506,
202,
430,
261,
2938,
422,
446,
13,
288,
6862,
202,
6044,
11603,
273,
1963,
2514,
18,
588,
12074,
2375,
6918,
12,
5990,
18,
588,
12074,
10663,
9506,
202,
97,
469,
288,
6862,
202,
6044,
11603,
273,
1963,
2514,
18,
588,
4419,
4212,
12,
2938,
1769,
9506,
202,
97,
9506,
202,
2463,
5647,
18,
345,
682,
12,
6044,
11603,
1769,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
9506,
202,
4419,
3140,
273,
18925,
4117,
12,
14168,
639,
16,
833,
16,
374,
16,
638,
1769,
9506,
202,
4419,
982,
273,
3140,
18,
588,
3054,
4419,
5621,
9506,
202,
6385,
4611,
2514,
1963,
2514,
273,
18256,
18,
588,
3078,
2514,
5621,
9506,
202,
4419,
8526,
14692,
31,
9506,
202,
430,
261,
2938,
422,
446,
13,
288,
6862,
202,
6044,
11603,
273,
1963,
2514,
18,
588,
12074,
2375,
6918,
12,
5990,
18,
588,
12074,
10663,
9506,
202,
97,
469,
288,
6862,
202,
6044,
11603,
273,
1963,
2514,
18,
588,
4419,
4212,
12,
2938,
1769,
9506,
202,
97,
9506,
202,
2463,
5647,
18,
345,
682,
12,
2
] |
setText(s);
|
FontMetrics fm = getToolkit().getFontMetrics(list.getFont()); int strWidth = SwingUtilities.computeStringWidth(fm, s); int cbWidth = getSize().width; if (cbWidth != 0 && strWidth > cbWidth) { char[] str = s.toCharArray(); int currWidth = 0; int i = 0; String postStr = "... "; cbWidth -= SwingUtilities.computeStringWidth(fm, postStr); while (i < str.length && currWidth < cbWidth) { ++i; currWidth = SwingUtilities.computeStringWidth(fm, new String(str, 0, i)); } setText(new String(str, 0, i) + postStr); } else setText(s);
|
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { String s = value.toString(); setText(s); setOpaque(true); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); if (isSelected) { setBackground(list.getSelectionBackground()); setForeground(list.getSelectionForeground()); } else { setBackground(list.getBackground()); setForeground(list.getForeground()); } setEnabled(list.isEnabled()); setFont(list.getFont()); // Use focusCellHighlightBorder when renderer has focus and // noFocusBorder otherwise if (cellHasFocus) setBorder(UIManager.getBorder("List.focusCellHighlightBorder")); else setBorder(noFocusBorder); return this; }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/c965f5399c278d0246d1bb056bae314d17754f97/BasicComboBoxRenderer.java/clean/javax/swing/plaf/basic/BasicComboBoxRenderer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5435,
10033,
4020,
6747,
1841,
12,
46,
682,
666,
16,
1033,
460,
16,
4766,
7734,
509,
770,
16,
1250,
20956,
16,
4766,
7734,
1250,
2484,
5582,
9233,
13,
225,
288,
565,
514,
272,
273,
460,
18,
10492,
5621,
1377,
10063,
5653,
10940,
273,
336,
6364,
8691,
7675,
588,
5711,
5653,
12,
1098,
18,
588,
5711,
10663,
509,
609,
2384,
273,
26145,
11864,
18,
9200,
780,
2384,
12,
25089,
16,
272,
1769,
509,
2875,
2384,
273,
9950,
7675,
2819,
31,
309,
261,
7358,
2384,
480,
374,
597,
609,
2384,
405,
2875,
2384,
13,
288,
1149,
8526,
609,
273,
272,
18,
869,
15936,
5621,
509,
4306,
2384,
273,
374,
31,
509,
277,
273,
374,
31,
514,
1603,
1585,
273,
31305,
13636,
2875,
2384,
3947,
26145,
11864,
18,
9200,
780,
2384,
12,
25089,
16,
1603,
1585,
1769,
1323,
261,
77,
411,
609,
18,
2469,
597,
4306,
2384,
411,
2875,
2384,
13,
288,
965,
77,
31,
4306,
2384,
273,
26145,
11864,
18,
9200,
780,
2384,
12,
25089,
16,
394,
514,
12,
701,
16,
374,
16,
277,
10019,
289,
7883,
12,
2704,
514,
12,
701,
16,
374,
16,
277,
13,
225,
397,
1603,
1585,
1769,
289,
469,
7883,
12,
87,
1769,
377,
444,
3817,
14886,
12,
3767,
1769,
565,
10034,
73,
643,
87,
3467,
273,
6484,
1318,
18,
588,
9794,
1876,
2954,
292,
7019,
5621,
565,
309,
261,
291,
7416,
13,
1377,
288,
202,
542,
8199,
12,
1098,
18,
588,
6233,
8199,
10663,
202,
542,
23206,
12,
1098,
18,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5435,
10033,
4020,
6747,
1841,
12,
46,
682,
666,
16,
1033,
460,
16,
4766,
7734,
509,
770,
16,
1250,
20956,
16,
4766,
7734,
1250,
2484,
5582,
9233,
13,
225,
288,
565,
514,
272,
273,
460,
18,
10492,
5621,
1377,
10063,
5653,
10940,
273,
336,
6364,
8691,
7675,
588,
5711,
5653,
12,
1098,
18,
588,
5711,
10663,
509,
609,
2384,
273,
26145,
11864,
18,
9200,
780,
2384,
12,
25089,
16,
272,
1769,
509,
2875,
2384,
273,
9950,
7675,
2819,
31,
309,
261,
7358,
2384,
480,
374,
597,
609,
2384,
405,
2875,
2384,
13,
288,
1149,
8526,
609,
273,
272,
18,
869,
15936,
5621,
509,
4306,
2384,
273,
374,
31,
509,
277,
273,
374,
31,
514,
1603,
1585,
273,
2
] |
if (attribute.equals("draft")) { if (value.equals("true")) value = "approved"; else if (value.equals("false")) value = "unconfirmed"; } if (attribute.equals("type")) { if (changedTypes.contains(element)) { attribute = "choice"; } } attributeOrder.put(attribute, value); }
|
if (attribute.equals("draft")) { if (value.equals("true")) value = "approved"; else if (value.equals("false")) value = "unconfirmed"; } if (attribute.equals("type")) { if (changedTypes.contains(element)) { attribute = "choice"; } } attributeOrder.put(attribute, value); }
|
private void putAndFixDeprecatedAttribute(String element, String attribute, String value) { if (attribute.equals("draft")) { if (value.equals("true")) value = "approved"; else if (value.equals("false")) value = "unconfirmed"; } if (attribute.equals("type")) { if (changedTypes.contains(element)) { attribute = "choice"; } } attributeOrder.put(attribute, value); }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/4716264464632750d34da5032a0718e1d756a967/CLDRFile.java/buggy/tools/java/org/unicode/cldr/util/CLDRFile.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
1378,
1876,
8585,
13534,
1499,
12,
780,
930,
16,
514,
1566,
16,
514,
460,
13,
288,
1082,
202,
430,
261,
4589,
18,
14963,
2932,
17153,
6,
3719,
288,
9506,
202,
430,
261,
1132,
18,
14963,
2932,
3767,
6,
3719,
460,
273,
315,
25990,
14432,
9506,
202,
12107,
309,
261,
1132,
18,
14963,
2932,
5743,
6,
3719,
460,
273,
315,
551,
265,
74,
11222,
14432,
1082,
202,
97,
1082,
202,
430,
261,
4589,
18,
14963,
2932,
723,
6,
3719,
288,
9506,
202,
430,
261,
6703,
2016,
18,
12298,
12,
2956,
3719,
288,
6862,
202,
4589,
273,
315,
11569,
14432,
9506,
202,
97,
1082,
202,
97,
1082,
202,
4589,
2448,
18,
458,
12,
4589,
16,
460,
1769,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1152,
918,
1378,
1876,
8585,
13534,
1499,
12,
780,
930,
16,
514,
1566,
16,
514,
460,
13,
288,
1082,
202,
430,
261,
4589,
18,
14963,
2932,
17153,
6,
3719,
288,
9506,
202,
430,
261,
1132,
18,
14963,
2932,
3767,
6,
3719,
460,
273,
315,
25990,
14432,
9506,
202,
12107,
309,
261,
1132,
18,
14963,
2932,
5743,
6,
3719,
460,
273,
315,
551,
265,
74,
11222,
14432,
1082,
202,
97,
1082,
202,
430,
261,
4589,
18,
14963,
2932,
723,
6,
3719,
288,
9506,
202,
430,
261,
6703,
2016,
18,
12298,
12,
2956,
3719,
288,
6862,
202,
4589,
273,
315,
11569,
14432,
9506,
202,
97,
1082,
202,
97,
1082,
202,
4589,
2448,
18,
458,
12,
4589,
16,
460,
1769,
2
] |
activeState = isActive; updateGradient(); }
|
activeState = isActive; updateGradient(); }
|
public void setActive(boolean isActive) { activeState = isActive; updateGradient(); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/38085a8072ad4fd21bad0983f8bc31ac736c9f72/R21BasicStackPresentation.java/clean/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/R21BasicStackPresentation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20669,
12,
6494,
15083,
13,
288,
3639,
2695,
1119,
273,
15083,
31,
3639,
1089,
15651,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
20669,
12,
6494,
15083,
13,
288,
3639,
2695,
1119,
273,
15083,
31,
3639,
1089,
15651,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (VM.VerifyAssertions) VM.assert((value & ~0x1) == 0);
|
if (VM.VerifyAssertions) VM._assert((value & ~0x1) == 0);
|
boolean testAndMark(Object object, int value) throws VM_PragmaUninterruptible { if (VM.VerifyAssertions) VM.assert((value & ~0x1) == 0); if (DEBUG) VM.sysWrite("testAndMark ", VM_Magic.objectAsAddress(object)); int word = wordIndex(object); int offset = word << LOG_WORDSIZE; int bitnum = bitIndex(object, word); int bitval = 1 << bitnum; int oldValue; int newValue; do { oldValue = VM_Magic.prepare(marks, offset); int markBit = getBit(oldValue, bitnum); if (markBit == value) { if (DEBUG) VM.sysWriteln(" [false]"); return false; } newValue = oldValue ^ bitval; } while (! VM_Magic.attempt(marks, offset, oldValue, newValue)); if (DEBUG) VM.sysWriteln(" [true]"); return true; }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/a5a05b105574ec4e1a0bacfcc731385b09418803/VM_SideMarkVector.java/buggy/rvm/src/vm/memoryManagers/watson/common/heaps/VM_SideMarkVector.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1250,
1842,
1876,
3882,
12,
921,
733,
16,
509,
460,
13,
1216,
8251,
67,
2050,
9454,
984,
31847,
1523,
288,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
6315,
11231,
12443,
1132,
473,
4871,
20,
92,
21,
13,
422,
374,
1769,
565,
309,
261,
9394,
13,
8251,
18,
9499,
3067,
2932,
3813,
1876,
3882,
3104,
8251,
67,
19289,
18,
1612,
1463,
1887,
12,
1612,
10019,
565,
509,
2076,
282,
273,
2076,
1016,
12,
1612,
1769,
565,
509,
1384,
273,
2076,
2296,
2018,
67,
7952,
4574,
31,
565,
509,
2831,
2107,
273,
2831,
1016,
12,
1612,
16,
2076,
1769,
565,
509,
2831,
1125,
273,
404,
2296,
2831,
2107,
31,
565,
509,
11144,
31,
565,
509,
6129,
31,
565,
741,
288,
1377,
11144,
273,
8251,
67,
19289,
18,
9366,
12,
17439,
16,
1384,
1769,
1377,
509,
2267,
5775,
273,
26234,
12,
1673,
620,
16,
2831,
2107,
1769,
1377,
309,
261,
3355,
5775,
422,
460,
13,
288,
202,
430,
261,
9394,
13,
8251,
18,
9499,
4913,
292,
82,
2932,
306,
5743,
4279,
1769,
202,
2463,
629,
31,
1377,
289,
1377,
6129,
273,
11144,
3602,
2831,
1125,
31,
565,
289,
1323,
16051,
8251,
67,
19289,
18,
11764,
12,
17439,
16,
1384,
16,
11144,
16,
6129,
10019,
565,
309,
261,
9394,
13,
8251,
18,
9499,
4913,
292,
82,
2932,
306,
3767,
4279,
1769,
565,
327,
638,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1250,
1842,
1876,
3882,
12,
921,
733,
16,
509,
460,
13,
1216,
8251,
67,
2050,
9454,
984,
31847,
1523,
288,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
6315,
11231,
12443,
1132,
473,
4871,
20,
92,
21,
13,
422,
374,
1769,
565,
309,
261,
9394,
13,
8251,
18,
9499,
3067,
2932,
3813,
1876,
3882,
3104,
8251,
67,
19289,
18,
1612,
1463,
1887,
12,
1612,
10019,
565,
509,
2076,
282,
273,
2076,
1016,
12,
1612,
1769,
565,
509,
1384,
273,
2076,
2296,
2018,
67,
7952,
4574,
31,
565,
509,
2831,
2107,
273,
2831,
1016,
12,
1612,
16,
2076,
1769,
565,
509,
2831,
1125,
273,
404,
2296,
2831,
2107,
31,
565,
509,
11144,
31,
565,
509,
6129,
31,
2
] |
if ( Style.FONT_SIZE_PROP.equals( getDefn( ).getName( ) ) )
|
if ( IStyleModel.FONT_SIZE_PROP.equals( getDefn( ).getName( ) ) )
|
public DimensionValue getAbsoluteValue( ) { // The original value, which might be relative, absolute or predefined // choice. Object value = getValue( ); if ( value instanceof String ) { // Only font size has string constant, which are relative or // absolute font size constants. if ( Style.FONT_SIZE_PROP.equals( getDefn( ).getName( ) ) ) { FontSizeValueHandler fontSizeValueHandle = new FontSizeValueHandler( this ); return fontSizeValueHandle .convertFontSizeConstant( (String) value ); } } else { assert value instanceof DimensionValue; DimensionValue dimensionValue = (DimensionValue) value; // If the value is absolute value. if ( ComputedValueHandler .isAbsoluteUnit( dimensionValue.getUnits( ) ) ) return dimensionValue; // Only the relative value of CSS property in the non-style // element is handled here. if ( !propDefn.isStyleProperty( ) || getElement( ).isStyle( ) ) return null; // Font size has its specific algorithm for getting absolute value. if ( Style.FONT_SIZE_PROP.equalsIgnoreCase( getPropertyDefn( ) .getName( ) ) ) { FontSizeValueHandler fontSizeValueHandler = new FontSizeValueHandler( this ); return fontSizeValueHandler .getAbsoluteValueForFontSize( dimensionValue ); } ComputedValueHandler computedValueHandle = new ComputedValueHandler( this ); return computedValueHandle .getAbsoluteValueForLength( dimensionValue ); } assert false; return null; }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/d802c33711e0d111551ae23575895cd060f085b6/DimensionHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DimensionHandle.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
13037,
620,
8469,
620,
12,
262,
202,
95,
202,
202,
759,
1021,
2282,
460,
16,
1492,
4825,
506,
3632,
16,
4967,
578,
19555,
202,
202,
759,
6023,
18,
202,
202,
921,
460,
273,
2366,
12,
11272,
202,
202,
430,
261,
460,
1276,
514,
262,
202,
202,
95,
1082,
202,
759,
5098,
3512,
963,
711,
533,
5381,
16,
1492,
854,
3632,
578,
1082,
202,
759,
4967,
3512,
963,
6810,
18,
1082,
202,
430,
261,
9767,
18,
25221,
67,
4574,
67,
15811,
18,
14963,
12,
336,
3262,
82,
12,
262,
18,
17994,
12,
262,
262,
262,
1082,
202,
95,
9506,
202,
22688,
620,
1503,
16746,
620,
3259,
273,
394,
10063,
1225,
620,
1503,
12,
25083,
202,
2211,
11272,
9506,
202,
2463,
16746,
620,
3259,
25083,
202,
18,
6283,
22688,
6902,
12,
261,
780,
13,
460,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
11231,
460,
1276,
13037,
620,
31,
1082,
202,
8611,
620,
4968,
620,
273,
261,
8611,
620,
13,
460,
31,
1082,
202,
759,
971,
326,
460,
353,
4967,
460,
18,
1082,
202,
430,
261,
14169,
329,
620,
1503,
6862,
202,
18,
291,
10368,
2802,
12,
4968,
620,
18,
588,
7537,
12,
262,
262,
262,
9506,
202,
2463,
4968,
620,
31,
1082,
202,
759,
5098,
326,
3632,
460,
434,
6765,
1272,
316,
326,
1661,
17,
4060,
1082,
202,
759,
930,
353,
7681,
2674,
18,
1082,
202,
430,
261,
401,
5986,
3262,
82,
18,
291,
2885,
1396,
12,
262,
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,
13037,
620,
8469,
620,
12,
262,
202,
95,
202,
202,
759,
1021,
2282,
460,
16,
1492,
4825,
506,
3632,
16,
4967,
578,
19555,
202,
202,
759,
6023,
18,
202,
202,
921,
460,
273,
2366,
12,
11272,
202,
202,
430,
261,
460,
1276,
514,
262,
202,
202,
95,
1082,
202,
759,
5098,
3512,
963,
711,
533,
5381,
16,
1492,
854,
3632,
578,
1082,
202,
759,
4967,
3512,
963,
6810,
18,
1082,
202,
430,
261,
9767,
18,
25221,
67,
4574,
67,
15811,
18,
14963,
12,
336,
3262,
82,
12,
262,
18,
17994,
12,
262,
262,
262,
1082,
202,
95,
9506,
202,
22688,
620,
1503,
16746,
620,
3259,
273,
394,
10063,
1225,
620,
1503,
12,
25083,
202,
2211,
11272,
2
] |
msgs = ((InternalEObject)newColor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AttributePackage.LINE_ATTRIBUTES__COLOR, null, msgs);
|
msgs = ((InternalEObject) newColor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AttributePackage.LINE_ATTRIBUTES__COLOR, null, msgs);
|
public void setColor(ColorDefinition newColor) { if (newColor != color) { NotificationChain msgs = null; if (color != null) msgs = ((InternalEObject)color).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AttributePackage.LINE_ATTRIBUTES__COLOR, null, msgs); if (newColor != null) msgs = ((InternalEObject)newColor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AttributePackage.LINE_ATTRIBUTES__COLOR, null, msgs); msgs = basicSetColor(newColor, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, AttributePackage.LINE_ATTRIBUTES__COLOR, newColor, newColor)); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/LineAttributesImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/LineAttributesImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
16207,
12,
2957,
1852,
394,
2957,
13,
565,
288,
3639,
309,
261,
2704,
2957,
480,
2036,
13,
3639,
288,
5411,
27050,
8733,
273,
446,
31,
5411,
309,
261,
3266,
480,
446,
13,
7734,
8733,
273,
14015,
3061,
8029,
13,
3266,
2934,
73,
16376,
3288,
12,
2211,
16,
512,
3665,
24595,
67,
18257,
67,
8369,
300,
3601,
2261,
18,
5997,
67,
22308,
972,
10989,
16,
446,
16,
8733,
1769,
5411,
309,
261,
2704,
2957,
480,
446,
13,
7734,
8733,
273,
14015,
3061,
8029,
13,
394,
2957,
2934,
73,
16376,
986,
12,
2211,
16,
512,
3665,
24595,
67,
18257,
67,
8369,
300,
3601,
2261,
18,
5997,
67,
22308,
972,
10989,
16,
446,
16,
8733,
1769,
5411,
8733,
273,
5337,
694,
2957,
12,
2704,
2957,
16,
8733,
1769,
5411,
309,
261,
27439,
480,
446,
13,
8733,
18,
10739,
5621,
3639,
289,
3639,
469,
309,
261,
73,
21107,
10756,
5411,
22596,
12,
2704,
19953,
12,
2211,
16,
8050,
18,
4043,
16,
3601,
2261,
18,
5997,
67,
22308,
972,
10989,
16,
394,
2957,
16,
394,
2957,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
16207,
12,
2957,
1852,
394,
2957,
13,
565,
288,
3639,
309,
261,
2704,
2957,
480,
2036,
13,
3639,
288,
5411,
27050,
8733,
273,
446,
31,
5411,
309,
261,
3266,
480,
446,
13,
7734,
8733,
273,
14015,
3061,
8029,
13,
3266,
2934,
73,
16376,
3288,
12,
2211,
16,
512,
3665,
24595,
67,
18257,
67,
8369,
300,
3601,
2261,
18,
5997,
67,
22308,
972,
10989,
16,
446,
16,
8733,
1769,
5411,
309,
261,
2704,
2957,
480,
446,
13,
7734,
8733,
273,
14015,
3061,
8029,
13,
394,
2957,
2934,
73,
16376,
986,
12,
2211,
16,
512,
3665,
24595,
67,
18257,
67,
8369,
300,
3601,
2261,
18,
5997,
67,
22308,
972,
10989,
16,
446,
16,
8733,
1769,
5411,
8733,
273,
2
] |
Object newValue = event.getNewValue();
|
protected void fillViewMenu(IMenuManager menuManager) { super.fillViewMenu(menuManager); showDerivedResourcesAction = new ShowDerivedResourcesAction(); menuManager.add(showDerivedResourcesAction); workingSetFilterActionGroup = new WorkingSetFilterActionGroup( getShell(), new IPropertyChangeListener() { public void propertyChange(PropertyChangeEvent event) { String property = event.getProperty(); if (WorkingSetFilterActionGroup.CHANGE_WORKING_SET .equals(property)) { Object newValue = event.getNewValue(); if (newValue instanceof IWorkingSet) { workingSetFilter .setWorkingSet((IWorkingSet) newValue); setSubtitle(((IWorkingSet) newValue).getLabel()); } else if (newValue == null) { workingSetFilter.setWorkingSet(null); setSubtitle(null); } scheduleRefresh(); } } }); menuManager.add(new Separator()); workingSetFilterActionGroup.fillContextMenu(menuManager); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1663bf19893c50fb6c66f6e2fee4bc87c54134c3/FilteredResourcesSelectionDialog.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/FilteredResourcesSelectionDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3636,
1767,
4599,
12,
3445,
2104,
1318,
3824,
1318,
13,
288,
202,
202,
9565,
18,
5935,
1767,
4599,
12,
5414,
1318,
1769,
202,
202,
4500,
21007,
3805,
1803,
273,
394,
9674,
21007,
3805,
1803,
5621,
202,
202,
5414,
1318,
18,
1289,
12,
4500,
21007,
3805,
1803,
1769,
202,
202,
20478,
694,
1586,
1803,
1114,
273,
394,
22732,
694,
1586,
1803,
1114,
12,
9506,
202,
588,
13220,
9334,
394,
467,
1396,
15744,
1435,
288,
6862,
202,
482,
918,
1272,
3043,
12,
1396,
20930,
871,
13,
288,
25083,
202,
780,
1272,
273,
871,
18,
588,
1396,
5621,
25083,
202,
430,
261,
14836,
694,
1586,
1803,
1114,
18,
14473,
67,
10566,
1360,
67,
4043,
6862,
9506,
202,
18,
14963,
12,
4468,
3719,
288,
6862,
1082,
202,
921,
6129,
273,
871,
18,
588,
1908,
620,
5621,
6862,
1082,
202,
430,
261,
2704,
620,
1276,
467,
14836,
694,
13,
288,
6862,
9506,
202,
20478,
694,
1586,
6862,
25083,
202,
18,
542,
14836,
694,
12443,
45,
14836,
694,
13,
6129,
1769,
6862,
9506,
202,
542,
1676,
2649,
12443,
12,
45,
14836,
694,
13,
6129,
2934,
588,
2224,
10663,
6862,
1082,
202,
97,
469,
309,
261,
2704,
620,
422,
446,
13,
288,
6862,
9506,
202,
20478,
694,
1586,
18,
542,
14836,
694,
12,
2011,
1769,
6862,
9506,
202,
542,
1676,
2649,
12,
2011,
1769,
6862,
1082,
202,
97,
6862,
1082,
202,
10676,
8323,
5621,
25083,
202,
97,
6862,
202,
97,
9506,
202,
22938,
202,
202,
5414,
1318,
18,
1289,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3636,
1767,
4599,
12,
3445,
2104,
1318,
3824,
1318,
13,
288,
202,
202,
9565,
18,
5935,
1767,
4599,
12,
5414,
1318,
1769,
202,
202,
4500,
21007,
3805,
1803,
273,
394,
9674,
21007,
3805,
1803,
5621,
202,
202,
5414,
1318,
18,
1289,
12,
4500,
21007,
3805,
1803,
1769,
202,
202,
20478,
694,
1586,
1803,
1114,
273,
394,
22732,
694,
1586,
1803,
1114,
12,
9506,
202,
588,
13220,
9334,
394,
467,
1396,
15744,
1435,
288,
6862,
202,
482,
918,
1272,
3043,
12,
1396,
20930,
871,
13,
288,
25083,
202,
780,
1272,
273,
871,
18,
588,
1396,
5621,
25083,
202,
430,
261,
14836,
694,
1586,
1803,
1114,
18,
14473,
67,
10566,
1360,
67,
4043,
6862,
9506,
202,
18,
2
] |
|
frame.setStatus(ResourceValueFrame.OPEN);
|
frame.setStatus(ResourceValueFrame.CLOSED);
|
public void transferInstruction(InstructionHandle handle, BasicBlock basicBlock) { Instruction ins = handle.getInstruction(); ins.accept(this); final ConstantPoolGen cpg = getCPG(); final ResourceValueFrame frame = getFrame(); final int numSlots = frame.getNumSlots(); Location creationPoint = stream.creationPoint; if (handle == creationPoint.getHandle() && basicBlock == creationPoint.getBasicBlock()) { // Resource creation frame.setValue(numSlots - 1, ResourceValue.instance()); frame.setStatus(ResourceValueFrame.OPEN); } else if (resourceTracker.isResourceClose(basicBlock, handle, cpg, stream)) { // Resource closed frame.setStatus(ResourceValueFrame.OPEN); } }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/d59fd3537d9e174e373581d67d6ca20cd4a3ab52/FindOpenStream.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindOpenStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
7412,
11983,
12,
11983,
3259,
1640,
16,
7651,
1768,
5337,
1768,
13,
288,
1082,
202,
11983,
2763,
273,
1640,
18,
588,
11983,
5621,
1082,
202,
2679,
18,
9436,
12,
2211,
1769,
1082,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
1927,
18679,
5621,
1082,
202,
6385,
2591,
620,
3219,
2623,
273,
25396,
5621,
1082,
202,
6385,
509,
818,
16266,
273,
2623,
18,
588,
2578,
16266,
5621,
1082,
202,
2735,
6710,
2148,
273,
1407,
18,
17169,
2148,
31,
1082,
202,
430,
261,
4110,
422,
6710,
2148,
18,
588,
3259,
1435,
597,
5337,
1768,
422,
6710,
2148,
18,
588,
8252,
1768,
10756,
288,
9506,
202,
759,
2591,
6710,
9506,
202,
3789,
18,
542,
620,
12,
2107,
16266,
300,
404,
16,
2591,
620,
18,
1336,
10663,
9506,
202,
3789,
18,
542,
1482,
12,
1420,
620,
3219,
18,
11437,
1769,
1082,
202,
97,
469,
309,
261,
3146,
8135,
18,
291,
1420,
4605,
12,
13240,
1768,
16,
1640,
16,
3283,
75,
16,
1407,
3719,
288,
9506,
202,
759,
2591,
4375,
9506,
202,
3789,
18,
542,
1482,
12,
1420,
620,
3219,
18,
11437,
1769,
1082,
202,
97,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
7412,
11983,
12,
11983,
3259,
1640,
16,
7651,
1768,
5337,
1768,
13,
288,
1082,
202,
11983,
2763,
273,
1640,
18,
588,
11983,
5621,
1082,
202,
2679,
18,
9436,
12,
2211,
1769,
1082,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
1927,
18679,
5621,
1082,
202,
6385,
2591,
620,
3219,
2623,
273,
25396,
5621,
1082,
202,
6385,
509,
818,
16266,
273,
2623,
18,
588,
2578,
16266,
5621,
1082,
202,
2735,
6710,
2148,
273,
1407,
18,
17169,
2148,
31,
1082,
202,
430,
261,
4110,
422,
6710,
2148,
18,
588,
3259,
1435,
597,
5337,
1768,
422,
6710,
2148,
18,
588,
8252,
1768,
10756,
288,
9506,
202,
759,
2591,
6710,
9506,
202,
3789,
18,
542,
620,
12,
2107,
16266,
2
] |
try { archiveCount = Integer.parseInt(System.getProperty(PERSISTENCE_ARCHIVE_COUNT_PROP)); } catch (Exception e) { if (Boolean.getBoolean("org.cougaar.core.persistence.archivingDisabled")) { archiveCount = 0; } else { archiveCount = Integer.MAX_VALUE; } }
|
archiveCount = SystemProperties.getInt( PERSISTENCE_ARCHIVE_COUNT_PROP, (SystemProperties.getBoolean("org.cougaar.core.persistence.archivingDisabled") ? 0 : Integer.MAX_VALUE));
|
protected void init(PersistencePluginSupport pps, String name, String[] params) { this.pps = pps; this.name = name; this.params = params; try { archiveCount = Integer.parseInt(System.getProperty(PERSISTENCE_ARCHIVE_COUNT_PROP)); } catch (Exception e) { if (Boolean.getBoolean("org.cougaar.core.persistence.archivingDisabled")) { archiveCount = 0; } else { archiveCount = Integer.MAX_VALUE; } } Logger logger = pps.getLogger(); for (int i = 0; i < params.length; i++) { String param = params[i]; try { if (param.startsWith(PERSISTENCE_ARCHIVE_COUNT_PREFIX)) { archiveCount = Integer.parseInt(param.substring(PERSISTENCE_ARCHIVE_COUNT_PREFIX.length())); if (logger.isDebugEnabled()) logger.debug("archiveCount=" + archiveCount); continue; } if (param.startsWith(PERSISTENCE_INTERVAL_PREFIX)) { persistenceInterval = Long.parseLong(param.substring(PERSISTENCE_INTERVAL_PREFIX.length())); if (logger.isDebugEnabled()) logger.debug("persistenceInterval=" + persistenceInterval); continue; } if (param.startsWith(PERSISTENCE_CONSOLIDATION_PERIOD_PREFIX)) { consolidationPeriod = Integer.parseInt(param.substring(PERSISTENCE_CONSOLIDATION_PERIOD_PREFIX.length())); if (logger.isDebugEnabled()) logger.debug("consolidationPeriod=" + consolidationPeriod); continue; } if (param.startsWith(PERSISTENCE_DISABLE_WRITE_PREFIX)) { writable = !"true".equals(param.substring(PERSISTENCE_DISABLE_WRITE_PREFIX.length())); if (logger.isDebugEnabled()) logger.debug("writable=" + writable); continue; } handleParameter(param); } catch (Exception e) { pps.getLogger().error("Parse error " + param); } } }
|
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/cf7da9603c8b56381001d2dffaa5bf232513da97/PersistencePluginAdapter.java/clean/core/src/org/cougaar/core/persist/PersistencePluginAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
12,
13182,
3773,
6289,
293,
1121,
16,
514,
508,
16,
514,
8526,
859,
13,
288,
565,
333,
18,
84,
1121,
273,
293,
1121,
31,
565,
333,
18,
529,
273,
508,
31,
565,
333,
18,
2010,
273,
859,
31,
565,
775,
288,
1377,
5052,
1380,
273,
2144,
18,
2670,
1702,
12,
3163,
18,
588,
1396,
12,
3194,
18732,
7535,
67,
10586,
5354,
67,
7240,
67,
15811,
10019,
565,
289,
1044,
261,
503,
425,
13,
288,
1377,
309,
261,
5507,
18,
588,
5507,
2932,
3341,
18,
2894,
637,
69,
297,
18,
3644,
18,
24854,
18,
991,
9288,
8853,
6,
3719,
288,
3639,
5052,
1380,
273,
374,
31,
1377,
289,
469,
288,
3639,
5052,
1380,
273,
2144,
18,
6694,
67,
4051,
31,
1377,
289,
565,
289,
565,
4242,
1194,
273,
293,
1121,
18,
588,
3328,
5621,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
859,
18,
2469,
31,
277,
27245,
288,
1377,
514,
579,
273,
859,
63,
77,
15533,
1377,
775,
288,
3639,
309,
261,
891,
18,
17514,
1190,
12,
3194,
18732,
7535,
67,
10586,
5354,
67,
7240,
67,
6307,
3719,
288,
1850,
5052,
1380,
273,
2144,
18,
2670,
1702,
12,
891,
18,
28023,
12,
3194,
18732,
7535,
67,
10586,
5354,
67,
7240,
67,
6307,
18,
2469,
1435,
10019,
1850,
309,
261,
4901,
18,
291,
2829,
1526,
10756,
1194,
18,
4148,
2932,
10686,
1380,
1546,
397,
5052,
1380,
1769,
1850,
1324,
31,
3639,
289,
3639,
309,
261,
891,
18,
17514,
1190,
12,
3194,
18732,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
12,
13182,
3773,
6289,
293,
1121,
16,
514,
508,
16,
514,
8526,
859,
13,
288,
565,
333,
18,
84,
1121,
273,
293,
1121,
31,
565,
333,
18,
529,
273,
508,
31,
565,
333,
18,
2010,
273,
859,
31,
565,
775,
288,
1377,
5052,
1380,
273,
2144,
18,
2670,
1702,
12,
3163,
18,
588,
1396,
12,
3194,
18732,
7535,
67,
10586,
5354,
67,
7240,
67,
15811,
10019,
565,
289,
1044,
261,
503,
425,
13,
288,
1377,
309,
261,
5507,
18,
588,
5507,
2932,
3341,
18,
2894,
637,
69,
297,
18,
3644,
18,
24854,
18,
991,
9288,
8853,
6,
3719,
288,
3639,
5052,
1380,
273,
374,
31,
1377,
289,
469,
288,
3639,
5052,
1380,
273,
2144,
18,
2
] |
if (returningFromImageBrowse) { formData = getFormDataFromSession( req, formDataSessionAttributeName ); newCategory = formData.getCategoryToEdit(); String imageUrl = ImageBrowse.getImageUri( req ); if (null != imageUrl) { newCategory.setImageUrl( imageUrl ); } } else {
|
private FormData addCategory( HttpServletRequest req, HttpServletResponse res, FormData formData, DocumentMapper documentMapper ) throws ServletException, IOException { CategoryDomainObject newCategory = null; String formDataSessionAttributeName = getFormDataSessionAttributeNameFromRequest( req ); boolean returningFromImageBrowse = null != formDataSessionAttributeName; CategoryTypeDomainObject categoryTypeToAddTo = getCategoryTypeFromRequest( req, PARAMETER_SELECT__CATEGORY_TYPE_TO_ADD_TO, documentMapper ); if (returningFromImageBrowse) { formData = getFormDataFromSession( req, formDataSessionAttributeName ); newCategory = formData.getCategoryToEdit(); String imageUrl = ImageBrowse.getImageUri( req ); if (null != imageUrl) { newCategory.setImageUrl( imageUrl ); } } else { newCategory = new CategoryDomainObject( 0, req.getParameter( PARAMETER__NAME ), req.getParameter( PARAMETER__DESCRIPTION ), req.getParameter( PARAMETER__ICON ), categoryTypeToAddTo ); } formData.setCategoryToEdit( newCategory ); if (req.getParameter( PARAMETER__BROWSE_FOR_IMAGE ) != null) { putFormDataInSessionAndForwardToImageBrowse( formData, req, res, PARAMETER_MODE__ADD_CATEGORY ); } else if (req.getParameter( "category_add" ) != null && !newCategory.getName().trim().equals( "" )) { if (!categoryTypeToAddTo.hasCategoryWithName( newCategory.getType(), newCategory.getName() )) { documentMapper.addCategoryToDb( newCategory.getType().getId(), newCategory.getName(), newCategory.getDescription(), newCategory.getImageUrl() ); formData.setCategoryToEdit( new CategoryDomainObject( 0, "", "", "", null ) ); formData.setUniqueCategoryName( true ); } else { formData.setUniqueCategoryName( false ); formData.setCategoryTypeToEdit( newCategory.getType() ); } } return formData; }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/3563b6ead25362e9e533bac87c6b07f3daf86a2c/AdminCategories.java/buggy/server/src/com/imcode/imcms/servlet/superadmin/AdminCategories.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2748,
751,
527,
4457,
12,
9984,
1111,
16,
12446,
400,
16,
2748,
751,
14224,
16,
4319,
4597,
1668,
4597,
262,
1216,
16517,
16,
1860,
288,
3639,
9856,
3748,
921,
394,
4457,
273,
446,
31,
3639,
514,
14224,
2157,
19240,
273,
11221,
751,
2157,
19240,
25074,
12,
1111,
11272,
3639,
1250,
5785,
1265,
2040,
27304,
273,
446,
480,
14224,
2157,
19240,
31,
3639,
9856,
559,
3748,
921,
3150,
559,
13786,
774,
273,
19110,
559,
25074,
12,
1111,
16,
18120,
67,
4803,
972,
24847,
67,
2399,
67,
4296,
67,
8355,
67,
4296,
16,
1668,
4597,
11272,
3639,
309,
261,
2463,
310,
1265,
2040,
27304,
13,
288,
5411,
14224,
273,
11221,
751,
1265,
2157,
12,
1111,
16,
14224,
2157,
19240,
11272,
5411,
394,
4457,
273,
14224,
18,
588,
4457,
774,
4666,
5621,
5411,
514,
27544,
273,
3421,
27304,
18,
588,
2040,
3006,
12,
1111,
11272,
5411,
309,
261,
2011,
480,
27544,
13,
288,
7734,
394,
4457,
18,
542,
2040,
1489,
12,
27544,
11272,
5411,
289,
3639,
289,
469,
288,
5411,
394,
4457,
273,
394,
9856,
3748,
921,
12,
374,
16,
10792,
1111,
18,
588,
1662,
12,
18120,
972,
1985,
262,
16,
10792,
1111,
18,
588,
1662,
12,
18120,
972,
15911,
262,
16,
10792,
1111,
18,
588,
1662,
12,
18120,
972,
21745,
262,
16,
10792,
3150,
559,
13786,
774,
11272,
3639,
289,
3639,
14224,
18,
542,
4457,
774,
4666,
12,
394,
4457,
11272,
3639,
309,
261,
3658,
18,
588,
1662,
12,
18120,
972,
38,
11226,
1090,
67,
7473,
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,
2748,
751,
527,
4457,
12,
9984,
1111,
16,
12446,
400,
16,
2748,
751,
14224,
16,
4319,
4597,
1668,
4597,
262,
1216,
16517,
16,
1860,
288,
3639,
9856,
3748,
921,
394,
4457,
273,
446,
31,
3639,
514,
14224,
2157,
19240,
273,
11221,
751,
2157,
19240,
25074,
12,
1111,
11272,
3639,
1250,
5785,
1265,
2040,
27304,
273,
446,
480,
14224,
2157,
19240,
31,
3639,
9856,
559,
3748,
921,
3150,
559,
13786,
774,
273,
19110,
559,
25074,
12,
1111,
16,
18120,
67,
4803,
972,
24847,
67,
2399,
67,
4296,
67,
8355,
67,
4296,
16,
1668,
4597,
11272,
3639,
309,
261,
2463,
310,
1265,
2040,
27304,
13,
288,
5411,
14224,
273,
11221,
751,
1265,
2157,
12,
1111,
16,
14224,
2157,
19240,
2
] |
|
fCurrentElementIndex = fDTDGrammar.getElementDeclIndex(element, -1);
|
fCurrentElementIndex = fDTDGrammar.getElementDeclIndex(element);
|
protected void handleStartElement(QName element, XMLAttributes attributes) throws XNIException { // REVISIT: Here are current assumptions about validation features // given that XMLSchema validator is in the pipeline // // http://xml.org/sax/features/validation = true // http://apache.org/xml/features/validation/schema = true // //[1] XML instance document only has reference to a DTD // Outcome: report validation errors only against dtd. // //[2] XML instance document has only XML Schema grammars: // Outcome: report validation errors only against schemas (no errors produced from DTD validator) // // [3] XML instance document has DTD and XML schemas: // Outcome: validation errors reported against both grammars: DTD and schemas. // // // if dynamic validation is on // validate only against grammar we've found (depending on settings // for schema feature) // // set wether we're performing validation fPerformValidation = fValidation && (!fDynamicValidation || fSeenDoctypeDecl) && (fDTDValidation || fSeenDoctypeDecl); // VC: Root Element Type // see if the root element's name matches the one in DoctypeDecl if (!fSeenRootElement) { fSeenRootElement = true; fValidationManager.setEntityState(fDTDGrammar); fValidationManager.setGrammarFound(fSeenDoctypeDecl); rootElementSpecified(element); } if (fDTDGrammar == null) { if (!fPerformValidation) { fCurrentElementIndex = -1; fCurrentContentSpecType = -1; fInElementContent = false; } if (fPerformValidation && !fSkipValidation) { fSkipValidation = true; fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, "MSG_GRAMMAR_NOT_FOUND", new Object[]{ element.rawname}, XMLErrorReporter.SEVERITY_ERROR); } } else { // resolve the element fCurrentElementIndex = fDTDGrammar.getElementDeclIndex(element, -1); fCurrentContentSpecType = getContentSpecType(fCurrentElementIndex); if (fCurrentContentSpecType == -1 && fPerformValidation) { fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, "MSG_ELEMENT_NOT_DECLARED", new Object[]{ element.rawname}, XMLErrorReporter.SEVERITY_ERROR); } else { // 0. insert default attributes // 1. normalize the attributes // 2. validate the attrivute list. // TO DO: // addDTDDefaultAttrsAndValidate(fCurrentElementIndex, attributes); } } // set element content state fInElementContent = fCurrentContentSpecType == XMLElementDecl.TYPE_CHILDREN; // increment the element depth, add this element's // QName to its enclosing element 's children list fElementDepth++; if (fPerformValidation) { // push current length onto stack if (fElementChildrenOffsetStack.length <= fElementDepth) { int newarray[] = new int[fElementChildrenOffsetStack.length * 2]; System.arraycopy(fElementChildrenOffsetStack, 0, newarray, 0, fElementChildrenOffsetStack.length); fElementChildrenOffsetStack = newarray; } fElementChildrenOffsetStack[fElementDepth] = fElementChildrenLength; // add this element to children if (fElementChildren.length <= fElementChildrenLength) { QName[] newarray = new QName[fElementChildrenLength * 2]; System.arraycopy(fElementChildren, 0, newarray, 0, fElementChildren.length); fElementChildren = newarray; } QName qname = fElementChildren[fElementChildrenLength]; if (qname == null) { for (int i = fElementChildrenLength; i < fElementChildren.length; i++) { fElementChildren[i] = new QName(); } qname = fElementChildren[fElementChildrenLength]; } qname.setValues(element); fElementChildrenLength++; } // save current element information fCurrentElement.setValues(element); ensureStackCapacity(fElementDepth); fElementQNamePartsStack[fElementDepth].setValues(fCurrentElement); fElementIndexStack[fElementDepth] = fCurrentElementIndex; fContentSpecTypeStack[fElementDepth] = fCurrentContentSpecType; } // handleStartElement(QName,XMLAttributes,boolean)
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/36f83a9a264468b4c48704319105a07fc36f7d2f/XMLDTDValidator.java/clean/src/org/apache/xerces/impl/dtd/XMLDTDValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1640,
1685,
1046,
12,
13688,
930,
16,
3167,
2498,
1677,
13,
1216,
1139,
50,
45,
503,
288,
3639,
368,
2438,
26780,
1285,
30,
13743,
854,
783,
6287,
573,
2973,
3379,
4467,
3639,
368,
1850,
864,
716,
3167,
3078,
4213,
353,
316,
326,
5873,
3639,
368,
3639,
368,
1062,
2207,
2902,
18,
3341,
19,
87,
651,
19,
7139,
19,
8685,
273,
638,
3639,
368,
1062,
2207,
19211,
18,
3341,
19,
2902,
19,
7139,
19,
8685,
19,
4821,
273,
638,
3639,
368,
3639,
368,
63,
21,
65,
3167,
791,
1668,
1338,
711,
2114,
358,
279,
10696,
40,
540,
368,
225,
2976,
5624,
30,
2605,
3379,
1334,
1338,
5314,
3681,
72,
18,
3639,
368,
3639,
368,
63,
22,
65,
3167,
791,
1668,
711,
1338,
3167,
4611,
6473,
87,
30,
3639,
368,
225,
2976,
5624,
30,
2605,
3379,
1334,
1338,
5314,
12783,
261,
2135,
1334,
14929,
628,
10696,
40,
4213,
13,
3639,
368,
3639,
368,
306,
23,
65,
3167,
791,
1668,
711,
10696,
40,
471,
3167,
12783,
30,
3639,
368,
2976,
5624,
30,
3379,
1334,
14010,
5314,
3937,
6473,
87,
30,
10696,
40,
471,
12783,
18,
3639,
368,
3639,
368,
1171,
368,
540,
309,
5976,
3379,
353,
603,
3639,
368,
5411,
1954,
1338,
5314,
6473,
732,
8081,
1392,
261,
5817,
310,
603,
1947,
3639,
368,
5411,
364,
1963,
2572,
13,
3639,
368,
540,
368,
444,
341,
2437,
732,
4565,
14928,
3379,
3639,
284,
4990,
4354,
273,
284,
4354,
597,
16051,
74,
9791,
4354,
747,
284,
15160,
3244,
12387,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1640,
1685,
1046,
12,
13688,
930,
16,
3167,
2498,
1677,
13,
1216,
1139,
50,
45,
503,
288,
3639,
368,
2438,
26780,
1285,
30,
13743,
854,
783,
6287,
573,
2973,
3379,
4467,
3639,
368,
1850,
864,
716,
3167,
3078,
4213,
353,
316,
326,
5873,
3639,
368,
3639,
368,
1062,
2207,
2902,
18,
3341,
19,
87,
651,
19,
7139,
19,
8685,
273,
638,
3639,
368,
1062,
2207,
19211,
18,
3341,
19,
2902,
19,
7139,
19,
8685,
19,
4821,
273,
638,
3639,
368,
3639,
368,
63,
21,
65,
3167,
791,
1668,
1338,
711,
2114,
358,
279,
10696,
40,
540,
368,
225,
2976,
5624,
30,
2605,
3379,
1334,
1338,
5314,
3681,
72,
18,
3639,
368,
3639,
368,
63,
22,
65,
2
] |
Edge eprime = lattice.addEdge( nprime, e.getToNode(), e.getAcousticScore(), e.getLMScore() );
|
lattice.addEdge( nprime, e.getToNode(), e.getAcousticScore(), e.getLMScore() );
|
protected void mergeNodesAndEdgesForward(Node n, Edge e1, Edge e2) { assert e1.getFromNode() == n; assert e2.getFromNode() == n; Node n1 = e1.getToNode(); Node n2 = e2.getToNode(); assert n1.hasEquivalentFromEdges(n1); assert n1.getWord().equals(n2.getWord()); // create the new node with a new id and the same label Node nprime = lattice.addNode(n1.getWord(),n1.getBeginTime(),n1.getEndTime()); // add all the from edges (they should be the same in n1 and n2) for (Iterator i = n1.getFromEdges().iterator(); i.hasNext();) { Edge e = (Edge) i.next(); Edge eprime = lattice.addEdge( e.getFromNode(), nprime, e.getAcousticScore(), e.getLMScore() ); } // add n1's to edges for (Iterator i = n1.getToEdges().iterator(); i.hasNext();) { Edge e = (Edge) i.next(); Edge eprime = lattice.addEdge( nprime, e.getToNode(), e.getAcousticScore(), e.getLMScore() ); } // add n2's to edges for (Iterator i = n2.getToEdges().iterator(); i.hasNext();) { Edge e = (Edge) i.next(); if (!nprime.hasEdgeToNode(e.getToNode())) { Edge eprime = lattice.addEdge( nprime, e.getToNode(), e.getAcousticScore(), e.getLMScore() ); } else { // if we got here then n1 and n2 had edges to the same node // what happens if the score is not the same? System.err.println("What happens with duplicate to nodes; " + e.getToNode()); } } // remove n1 and n2 and all associated edges lattice.removeNodeAndEdges(n1); lattice.removeNodeAndEdges(n2); }
|
48839 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48839/44ca5d4ba73beecae2f351a45806249b9b5c0fa9/LatticeOptimizer.java/clean/sphinx4/edu/cmu/sphinx/result/LatticeOptimizer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2691,
3205,
1876,
10697,
8514,
12,
907,
290,
16,
11342,
425,
21,
16,
11342,
425,
22,
13,
288,
3639,
1815,
425,
21,
18,
588,
28570,
1435,
422,
290,
31,
3639,
1815,
425,
22,
18,
588,
28570,
1435,
422,
290,
31,
3639,
2029,
290,
21,
273,
425,
21,
18,
588,
31403,
5621,
3639,
2029,
290,
22,
273,
425,
22,
18,
588,
31403,
5621,
3639,
1815,
290,
21,
18,
5332,
22606,
1265,
10697,
12,
82,
21,
1769,
3639,
1815,
290,
21,
18,
588,
3944,
7675,
14963,
12,
82,
22,
18,
588,
3944,
10663,
3639,
368,
752,
326,
394,
756,
598,
279,
394,
612,
471,
326,
1967,
1433,
3639,
2029,
290,
16382,
273,
16690,
18,
1289,
907,
12,
82,
21,
18,
588,
3944,
9334,
82,
21,
18,
588,
8149,
950,
9334,
82,
21,
18,
588,
25255,
10663,
3639,
368,
527,
777,
326,
628,
5231,
261,
451,
402,
1410,
506,
326,
1967,
316,
290,
21,
471,
290,
22,
13,
3639,
364,
261,
3198,
277,
273,
290,
21,
18,
588,
1265,
10697,
7675,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
5411,
11342,
425,
273,
261,
6098,
13,
277,
18,
4285,
5621,
5411,
11342,
425,
16382,
273,
16690,
18,
1289,
6098,
12,
425,
18,
588,
28570,
9334,
290,
16382,
16,
425,
18,
588,
37,
2894,
641,
335,
7295,
9334,
425,
18,
588,
17063,
7295,
1435,
11272,
3639,
289,
3639,
368,
527,
290,
21,
1807,
358,
5231,
3639,
364,
261,
3198,
277,
273,
290,
21,
18,
588,
774,
10697,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2691,
3205,
1876,
10697,
8514,
12,
907,
290,
16,
11342,
425,
21,
16,
11342,
425,
22,
13,
288,
3639,
1815,
425,
21,
18,
588,
28570,
1435,
422,
290,
31,
3639,
1815,
425,
22,
18,
588,
28570,
1435,
422,
290,
31,
3639,
2029,
290,
21,
273,
425,
21,
18,
588,
31403,
5621,
3639,
2029,
290,
22,
273,
425,
22,
18,
588,
31403,
5621,
3639,
1815,
290,
21,
18,
5332,
22606,
1265,
10697,
12,
82,
21,
1769,
3639,
1815,
290,
21,
18,
588,
3944,
7675,
14963,
12,
82,
22,
18,
588,
3944,
10663,
3639,
368,
752,
326,
394,
756,
598,
279,
394,
612,
471,
326,
1967,
1433,
3639,
2029,
290,
16382,
273,
16690,
18,
1289,
907,
12,
82,
2
] |
public Object getObject(Component component)
|
public String getObject(Component component)
|
public LinkPage() { // power to the annonymous classes! // first create a simple value holder object final ClickCount count1 = new ClickCount(); // add a link which, when clicked, increases our counter // when a link is clicked, its onClick method is called Link link1 = new Link(this, "link1") { @Override public void onClick() { count1.clicks++; } }; // add a counter label to the link so that we can display it in the body // of the link new Label(link1, "label1", new Model() { @Override public Object getObject(Component component) { return Integer.toString(count1.clicks); } }); // we can attach Link components to any HTML tag we want. If it is an // anchor (<a href...), // the url to this component is put in the href attribute. For other // components, a // onclick javascript event handler is created that triggers the round // trip // it is ofcourse possible to - instead of the above approach - hide as // much of the // component as possible within a class. class CustomLink extends Link { final ClickCount count2; /** * Construct. * * @param id */ public CustomLink(MarkupContainer parent, String id) { super(parent, id); count2 = new ClickCount(); new ClickCountLabel(this, "label2", count2); } @Override public void onClick() { count2.clicks++; } } new CustomLink(this, "link2"); // and if we know we are going to attach it to a <input type="button> // tag, we shouldn't // use a label, but an AttributeModifier instead. class ButtonLink extends Link { final ClickCount count3; /** * Construct. * * @param id */ public ButtonLink(MarkupContainer parent, String id) { super(parent, id); count3 = new ClickCount(); add(new AttributeModifier("value", new Model() { @Override public Object getObject(Component component) { // we just replace the whole string. You could use // custom // AttributeModifiers to e.g. just replace one part of // the // string if you want return "this button is clicked " + count3.clicks + " times"; } })); } @Override public void onClick() { count3.clicks++; } } new ButtonLink(this, "link3"); }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/a1e183c343de47dec554e77b00a3661fd0fbe83c/LinkPage.java/buggy/wicket-examples/src/java/wicket/examples/compref/LinkPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4048,
1964,
1435,
202,
95,
202,
202,
759,
7212,
358,
326,
392,
5836,
2942,
1481,
3318,
5,
202,
202,
759,
1122,
752,
279,
4143,
460,
10438,
733,
202,
202,
6385,
18417,
1380,
1056,
21,
273,
394,
18417,
1380,
5621,
202,
202,
759,
527,
279,
1692,
1492,
16,
1347,
17688,
16,
7033,
3304,
3134,
3895,
202,
202,
759,
1347,
279,
1692,
353,
17688,
16,
2097,
18296,
707,
353,
2566,
202,
202,
2098,
1692,
21,
273,
394,
4048,
12,
2211,
16,
315,
1232,
21,
7923,
202,
202,
95,
1082,
202,
36,
6618,
1082,
202,
482,
918,
18296,
1435,
1082,
202,
95,
9506,
202,
1883,
21,
18,
7475,
87,
9904,
31,
1082,
202,
97,
202,
202,
20451,
202,
202,
759,
527,
279,
3895,
1433,
358,
326,
1692,
1427,
716,
732,
848,
2562,
518,
316,
326,
1417,
202,
202,
759,
434,
326,
1692,
202,
202,
2704,
5287,
12,
1232,
21,
16,
315,
1925,
21,
3113,
394,
3164,
1435,
202,
202,
95,
1082,
202,
36,
6618,
1082,
202,
482,
1033,
6455,
12,
1841,
1794,
13,
1082,
202,
95,
9506,
202,
2463,
2144,
18,
10492,
12,
1883,
21,
18,
7475,
87,
1769,
1082,
202,
97,
202,
202,
22938,
202,
202,
759,
732,
848,
3306,
4048,
4085,
358,
1281,
3982,
1047,
732,
2545,
18,
971,
518,
353,
392,
202,
202,
759,
6984,
261,
32,
69,
3897,
2777,
3631,
202,
202,
759,
326,
880,
358,
333,
1794,
353,
1378,
316,
326,
3897,
1566,
18,
2457,
1308,
202,
202,
759,
4085,
16,
279,
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,
4048,
1964,
1435,
202,
95,
202,
202,
759,
7212,
358,
326,
392,
5836,
2942,
1481,
3318,
5,
202,
202,
759,
1122,
752,
279,
4143,
460,
10438,
733,
202,
202,
6385,
18417,
1380,
1056,
21,
273,
394,
18417,
1380,
5621,
202,
202,
759,
527,
279,
1692,
1492,
16,
1347,
17688,
16,
7033,
3304,
3134,
3895,
202,
202,
759,
1347,
279,
1692,
353,
17688,
16,
2097,
18296,
707,
353,
2566,
202,
202,
2098,
1692,
21,
273,
394,
4048,
12,
2211,
16,
315,
1232,
21,
7923,
202,
202,
95,
1082,
202,
36,
6618,
1082,
202,
482,
918,
18296,
1435,
1082,
202,
95,
9506,
202,
1883,
21,
18,
7475,
87,
9904,
31,
1082,
202,
97,
202,
202,
20451,
202,
202,
2
] |
tuple[11] = Integer.toString(java.sql.DatabaseMetaData.procedureNullableUnknown).getBytes();
|
tuple[11] = encoding.encode(Integer.toString(java.sql.DatabaseMetaData.procedureNullableUnknown));
|
public java.sql.ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException { Field f[] = new Field[13]; Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, "PROCEDURE_CAT", iVarcharOid, getMaxNameLength()); f[1] = new Field(connection, "PROCEDURE_SCHEM", iVarcharOid, getMaxNameLength()); f[2] = new Field(connection, "PROCEDURE_NAME", iVarcharOid, getMaxNameLength()); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, getMaxNameLength()); f[4] = new Field(connection, "COLUMN_TYPE", iInt2Oid, 2); f[5] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[6] = new Field(connection, "TYPE_NAME", iVarcharOid, getMaxNameLength()); f[7] = new Field(connection, "PRECISION", iInt4Oid, 4); f[8] = new Field(connection, "LENGTH", iInt4Oid, 4); f[9] = new Field(connection, "SCALE", iInt2Oid, 2); f[10] = new Field(connection, "RADIX", iInt2Oid, 2); f[11] = new Field(connection, "NULLABLE", iInt2Oid, 2); f[12] = new Field(connection, "REMARKS", iVarcharOid, getMaxNameLength()); String sql; if (connection.haveMinimumServerVersion("7.3")) { sql = "SELECT n.nspname,p.proname,p.prorettype,p.proargtypes, t.typtype,t.typrelid "+ " FROM pg_catalog.pg_proc p,pg_catalog.pg_namespace n, pg_catalog.pg_type t "+ " WHERE p.pronamespace=n.oid AND p.prorettype=t.oid "; if (schemaPattern != null && !"".equals(schemaPattern)) { sql += " AND n.nspname LIKE '"+escapeQuotes(schemaPattern)+"' "; } if (procedureNamePattern != null) { sql += " AND p.proname LIKE '"+escapeQuotes(procedureNamePattern)+"' "; } sql += " ORDER BY n.nspname, p.proname "; } else { sql = "SELECT NULL AS nspname,p.proname,p.prorettype,p.proargtypes, t.typtype,t.typrelid "+ " FROM pg_proc p,pg_type t "+ " WHERE p.prorettype=t.oid "; if (procedureNamePattern != null) { sql += " AND p.proname LIKE '"+escapeQuotes(procedureNamePattern)+"' "; } sql += " ORDER BY p.proname "; } ResultSet rs = connection.createStatement().executeQuery(sql); while (rs.next()) { byte schema[] = rs.getBytes("nspname"); byte procedureName[] = rs.getBytes("proname"); int returnType = rs.getInt("prorettype"); String returnTypeType = rs.getString("typtype"); int returnTypeRelid = rs.getInt("typrelid"); String strArgTypes = rs.getString("proargtypes"); StringTokenizer st = new StringTokenizer(strArgTypes); Vector argTypes = new Vector(); while (st.hasMoreTokens()) { argTypes.addElement(new Integer(st.nextToken())); } // decide if we are returning a single column result. if (!returnTypeType.equals("c")) { byte[][] tuple = new byte[13][]; tuple[0] = null; tuple[1] = schema; tuple[2] = procedureName; tuple[3] = "returnValue".getBytes(); tuple[4] = Integer.toString(java.sql.DatabaseMetaData.procedureColumnReturn).getBytes(); tuple[5] = Integer.toString(connection.getSQLType(returnType)).getBytes(); tuple[6] = connection.getPGType(returnType).getBytes(); tuple[7] = null; tuple[8] = null; tuple[9] = null; tuple[10] = null; tuple[11] = Integer.toString(java.sql.DatabaseMetaData.procedureNullableUnknown).getBytes(); tuple[12] = null; v.addElement(tuple); } // Add a row for each argument. for (int i=0; i<argTypes.size(); i++) { int argOid = ((Integer)argTypes.elementAt(i)).intValue(); byte[][] tuple = new byte[13][]; tuple[0] = null; tuple[1] = schema; tuple[2] = procedureName; tuple[3] = ("$"+(i+1)).getBytes(); tuple[4] = Integer.toString(java.sql.DatabaseMetaData.procedureColumnIn).getBytes(); tuple[5] = Integer.toString(connection.getSQLType(argOid)).getBytes(); tuple[6] = connection.getPGType(argOid).getBytes(); tuple[7] = null; tuple[8] = null; tuple[9] = null; tuple[10] = null; tuple[11] = Integer.toString(java.sql.DatabaseMetaData.procedureNullableUnknown).getBytes(); tuple[12] = null; v.addElement(tuple); } // if we are returning a multi-column result. if (returnTypeType.equals("c")) { String columnsql = "SELECT a.attname,a.atttypid FROM pg_catalog.pg_attribute a WHERE a.attrelid = "+returnTypeRelid+" ORDER BY a.attnum "; ResultSet columnrs = connection.createStatement().executeQuery(columnsql); while (columnrs.next()) { int columnTypeOid = columnrs.getInt("atttypid"); byte[][] tuple = new byte[13][]; tuple[0] = null; tuple[1] = schema; tuple[2] = procedureName; tuple[3] = columnrs.getString("attname").getBytes(); tuple[4] = Integer.toString(java.sql.DatabaseMetaData.procedureColumnResult).getBytes(); tuple[5] = Integer.toString(connection.getSQLType(columnTypeOid)).getBytes(); tuple[6] = connection.getPGType(columnTypeOid).getBytes(); tuple[7] = null; tuple[8] = null; tuple[9] = null; tuple[10] = null; tuple[11] = Integer.toString(java.sql.DatabaseMetaData.procedureNullableUnknown).getBytes(); tuple[12] = null; v.addElement(tuple); } } } rs.close(); return (ResultSet) ((BaseStatement)connection.createStatement()).createResultSet(f, v, "OK", 1, 0, false); }
|
46597 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46597/f9d3ed65c43e04c595b097a59d4d1c4542d82794/AbstractJdbc1DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
3570,
8153,
3380,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
12131,
461,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
3437,
15533,
202,
202,
5018,
331,
273,
394,
5589,
5621,
202,
202,
759,
1021,
394,
10842,
3193,
10769,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
3373,
23552,
4830,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
3373,
23552,
4830,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
22,
65,
273,
394,
2286,
12,
4071,
16,
315,
3373,
23552,
4830,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
23,
65,
273,
394,
2286,
12,
4071,
16,
315,
11009,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
24,
65,
273,
394,
2286,
12,
4071,
16,
315,
11009,
67,
2399,
3113,
277,
1702,
22,
19105,
16,
576,
1769,
202,
202,
74,
63,
25,
65,
273,
394,
2286,
12,
4071,
16,
315,
4883,
67,
2399,
3113,
277,
1702,
22,
19105,
16,
576,
1769,
202,
202,
74,
63,
26,
65,
273,
394,
2286,
12,
4071,
16,
315,
2399,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
3570,
8153,
3380,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
12131,
461,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
3437,
15533,
202,
202,
5018,
331,
273,
394,
5589,
5621,
202,
202,
759,
1021,
394,
10842,
3193,
10769,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
3373,
23552,
4830,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
3373,
23552,
4830,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
2
] |
value.setValue(true); assertTrue(value.getBooleanValue()); }
|
value.setValue(true); assertTrue(value.getBooleanValue()); }
|
public void testGetBooleanValue() { value.setValue(true); assertTrue(value.getBooleanValue()); }
|
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/ReturnValueTest.java/buggy/jmock/core/src/test/jmock/expectation/ReturnValueTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
5507,
620,
1435,
288,
3639,
460,
18,
542,
620,
12,
3767,
1769,
3639,
1815,
5510,
12,
1132,
18,
588,
5507,
620,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
5507,
620,
1435,
288,
3639,
460,
18,
542,
620,
12,
3767,
1769,
3639,
1815,
5510,
12,
1132,
18,
588,
5507,
620,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for (Iterator<UIPropertyBinding> iterator = myBindings.iterator(); iterator.hasNext();) { UIPropertyBinding binding = iterator.next();
|
for (final UIPropertyBinding binding : myBindings) {
|
public void beEnabled() { for (Iterator<UIPropertyBinding> iterator = myBindings.iterator(); iterator.hasNext();) { UIPropertyBinding binding = iterator.next(); binding.beEnabled(); } }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/3ab4b24381bd6f33991f875143f64df653cbe69f/UIPropertyBinding.java/clean/plugins/ant/src/com/intellij/lang/ant/config/impl/configuration/UIPropertyBinding.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
506,
1526,
1435,
288,
1377,
364,
261,
3198,
32,
5370,
1396,
5250,
34,
2775,
273,
3399,
10497,
18,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
288,
3639,
6484,
1396,
5250,
5085,
273,
2775,
18,
4285,
5621,
3639,
5085,
18,
2196,
1526,
5621,
1377,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
506,
1526,
1435,
288,
1377,
364,
261,
3198,
32,
5370,
1396,
5250,
34,
2775,
273,
3399,
10497,
18,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
288,
3639,
6484,
1396,
5250,
5085,
273,
2775,
18,
4285,
5621,
3639,
5085,
18,
2196,
1526,
5621,
1377,
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
] |
localUsers.remove(user.getUserID());
|
if (localUsers.remove(user.getUserID()) == null) { return; }
|
public void leave(SGSUser user) { localUsers.remove(user.getUserID()); byte[] userbytes = user.getUserID().toByteArray(); synchronized(hdr){ hdr.clear(); hdr.put((byte)OPCODE.UserJoinedChan.ordinal()); hdr.putInt(userbytes.length); hdr.put(userbytes); buffs[1] = null; try { transportChannel.sendData(hdr); } catch (IOException e) { e.printStackTrace(); } } try { user.leftChan(this); } catch (IOException e) { e.printStackTrace(); } sendLeaveToLocalUsers(userbytes); router.userLeftChan(this,user); }
|
55380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55380/597d1b53fc2d62bf7d4e2772740cf782a7931fe4/ChannelImpl.java/clean/src/com/sun/gi/comm/routing/impl/ChannelImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
8851,
12,
55,
16113,
1299,
729,
13,
288,
202,
202,
3729,
6588,
18,
4479,
12,
1355,
18,
588,
16631,
10663,
202,
202,
7229,
8526,
729,
3890,
273,
729,
18,
588,
16631,
7675,
869,
8826,
5621,
202,
202,
22043,
12,
16587,
15329,
1082,
202,
16587,
18,
8507,
5621,
1082,
202,
16587,
18,
458,
12443,
7229,
13,
51,
3513,
2712,
18,
1299,
4572,
329,
6255,
18,
517,
1490,
10663,
9506,
202,
16587,
18,
458,
1702,
12,
1355,
3890,
18,
2469,
1769,
1082,
202,
16587,
18,
458,
12,
1355,
3890,
1769,
25083,
202,
4385,
2556,
63,
21,
65,
273,
446,
31,
1082,
202,
698,
288,
9506,
202,
13049,
2909,
18,
4661,
751,
12,
16587,
1769,
1082,
202,
97,
1044,
261,
14106,
425,
13,
288,
6862,
9506,
202,
73,
18,
1188,
6332,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
698,
288,
25083,
202,
1355,
18,
4482,
6255,
12,
2211,
1769,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
6862,
202,
73,
18,
1188,
6332,
5621,
202,
202,
97,
202,
202,
4661,
21300,
774,
2042,
6588,
12,
1355,
3890,
1769,
202,
202,
10717,
18,
1355,
3910,
6255,
12,
2211,
16,
1355,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
8851,
12,
55,
16113,
1299,
729,
13,
288,
202,
202,
3729,
6588,
18,
4479,
12,
1355,
18,
588,
16631,
10663,
202,
202,
7229,
8526,
729,
3890,
273,
729,
18,
588,
16631,
7675,
869,
8826,
5621,
202,
202,
22043,
12,
16587,
15329,
1082,
202,
16587,
18,
8507,
5621,
1082,
202,
16587,
18,
458,
12443,
7229,
13,
51,
3513,
2712,
18,
1299,
4572,
329,
6255,
18,
517,
1490,
10663,
9506,
202,
16587,
18,
458,
1702,
12,
1355,
3890,
18,
2469,
1769,
1082,
202,
16587,
18,
458,
12,
1355,
3890,
1769,
25083,
202,
4385,
2556,
63,
21,
65,
273,
446,
31,
1082,
202,
698,
288,
9506,
202,
13049,
2909,
18,
4661,
751,
12,
16587,
1769,
1082,
202,
97,
2
] |
fName = (IFunction) functions[i]; IASTNode def = ((ICPPInternalBinding)fName).getDefinition(); if( def instanceof ICPPASTFunctionDeclarator ) function = (ICPPASTFunctionDeclarator) def; else if( def != null ){ IASTNode p = def.getParent(); if( p instanceof ICPPASTQualifiedName ) p = p.getParent(); function = (ICPPASTFunctionDeclarator) p; } else { function = null; } if( function == null ) { IASTNode [] nodes = ((ICPPInternalBinding) fName).getDeclarations(); if( nodes != null && nodes.length > 0 ){ IASTNode node = nodes[0]; while( node instanceof IASTName ) node = node.getParent(); function = (ICPPASTFunctionDeclarator) node; } } if( function == null ){ num = fName.getParameters().length; } else { num = function.getParameters().length; }
|
function = (IFunction) functions[i]; num = function.getParameters().length;
|
static private void reduceToViable( LookupData data, IBinding[] functions ) throws DOMException{ if( functions == null || functions.length == 0 ) return; Object [] fParams = data.functionParameters; int numParameters = ( fParams != null ) ? fParams.length : 0; int num; //Trim the list down to the set of viable functions IFunction fName; ICPPASTFunctionDeclarator function = null; int size = functions.length; for( int i = 0; i < size && functions[i] != null; i++ ){ fName = (IFunction) functions[i]; IASTNode def = ((ICPPInternalBinding)fName).getDefinition(); if( def instanceof ICPPASTFunctionDeclarator ) function = (ICPPASTFunctionDeclarator) def; else if( def != null ){ IASTNode p = def.getParent(); if( p instanceof ICPPASTQualifiedName ) p = p.getParent(); function = (ICPPASTFunctionDeclarator) p; } else { function = null; } if( function == null ) { IASTNode [] nodes = ((ICPPInternalBinding) fName).getDeclarations(); if( nodes != null && nodes.length > 0 ){ IASTNode node = nodes[0]; while( node instanceof IASTName ) node = node.getParent(); function = (ICPPASTFunctionDeclarator) node; } } if( function == null ){ //implicit member function, for now, not supporting default values or var args num = fName.getParameters().length; } else { num = function.getParameters().length; } //if there are m arguments in the list, all candidate functions having m parameters //are viable if( num == numParameters ){ if( data.forDefinition() && !isMatchingFunctionDeclaration( fName, data ) ){ functions[i] = null; } continue; } //check for void else if( numParameters == 0 && num == 1 ){ if( function != null ){ IASTParameterDeclaration param = function.getParameters()[0]; IASTDeclSpecifier declSpec = param.getDeclSpecifier(); if( declSpec instanceof IASTSimpleDeclSpecifier ){ if( ((IASTSimpleDeclSpecifier)declSpec).getType() == IASTSimpleDeclSpecifier.t_void && param.getDeclarator().getPointerOperators().length == 0 ) { continue; } } } else { IParameter p = fName.getParameters()[0]; IType t = p.getType(); if( t instanceof IBasicType && ((IBasicType)t).getType() == IBasicType.t_void ) continue; } } //A candidate function having fewer than m parameters is viable only if it has an //ellipsis in its parameter list. if( num < numParameters ){ if( (function != null && function.takesVarArgs()) || fName.takesVarArgs() ) { continue; } //not enough parameters, remove it functions[i] = null; } //a candidate function having more than m parameters is viable only if the (m+1)-st //parameter has a default argument else { if( function != null ) { IASTParameterDeclaration [] params = function.getParameters(); for( int j = num - 1; j >= numParameters; j-- ){ if( params[j].getDeclarator().getInitializer() == null ){ functions[i] = null; size--; break; } } } else { IParameter [] params = fName.getParameters(); for( int j = num - 1; j >= numParameters; j-- ){ if( ((ICPPParameter)params[j]).getDefaultValue() == null ){ functions[i] = null; size--; break; } } } } } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/278786b79a190b943b9078ca3ce3258cafe65abb/CPPSemantics.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPSemantics.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
3238,
918,
5459,
774,
16895,
12,
8834,
751,
501,
16,
467,
5250,
8526,
4186,
262,
1216,
4703,
503,
95,
202,
565,
309,
12,
4186,
422,
446,
747,
4186,
18,
2469,
422,
374,
262,
202,
3639,
327,
31,
202,
377,
202,
202,
921,
5378,
284,
1370,
273,
501,
18,
915,
2402,
31,
202,
202,
474,
818,
2402,
273,
261,
284,
1370,
480,
446,
262,
692,
284,
1370,
18,
2469,
294,
374,
31,
9506,
202,
474,
818,
31,
25083,
202,
759,
14795,
326,
666,
2588,
358,
326,
444,
434,
331,
2214,
4186,
202,
202,
45,
2083,
284,
461,
31,
202,
202,
2871,
52,
4066,
882,
2083,
31419,
445,
273,
446,
31,
202,
202,
474,
963,
273,
4186,
18,
2469,
31,
202,
202,
1884,
12,
509,
277,
273,
374,
31,
277,
411,
963,
597,
4186,
63,
77,
65,
480,
446,
31,
277,
9904,
262,
95,
1082,
202,
74,
461,
273,
261,
45,
2083,
13,
4186,
63,
77,
15533,
1082,
202,
45,
9053,
907,
1652,
273,
14015,
2871,
6584,
3061,
5250,
13,
74,
461,
2934,
588,
1852,
5621,
1082,
202,
430,
12,
1652,
1276,
467,
4258,
4066,
882,
2083,
31419,
262,
9506,
202,
915,
273,
261,
2871,
52,
4066,
882,
2083,
31419,
13,
1652,
31,
1082,
202,
12107,
309,
12,
1652,
480,
446,
262,
95,
9506,
202,
45,
9053,
907,
293,
273,
1652,
18,
588,
3054,
5621,
9506,
202,
430,
12,
293,
1276,
467,
4258,
4066,
882,
12345,
262,
6862,
202,
84,
273,
293,
18,
588,
3054,
5621,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
3238,
918,
5459,
774,
16895,
12,
8834,
751,
501,
16,
467,
5250,
8526,
4186,
262,
1216,
4703,
503,
95,
202,
565,
309,
12,
4186,
422,
446,
747,
4186,
18,
2469,
422,
374,
262,
202,
3639,
327,
31,
202,
377,
202,
202,
921,
5378,
284,
1370,
273,
501,
18,
915,
2402,
31,
202,
202,
474,
818,
2402,
273,
261,
284,
1370,
480,
446,
262,
692,
284,
1370,
18,
2469,
294,
374,
31,
9506,
202,
474,
818,
31,
25083,
202,
759,
14795,
326,
666,
2588,
358,
326,
444,
434,
331,
2214,
4186,
202,
202,
45,
2083,
284,
461,
31,
202,
202,
2871,
52,
4066,
882,
2083,
31419,
445,
273,
446,
31,
202,
202,
474,
963,
273,
4186,
18,
2
] |
else if (e.getActionCommand().equals("cancel"))
|
else if (command.equals("cancel"))
|
public void actionPerformed (ActionEvent e) { ListSelectionModel rowModel = table.getSelectionModel(); ListSelectionModel colModel = table.getColumnModel().getSelectionModel(); int rowLead = rowModel.getLeadSelectionIndex(); int rowMax = table.getModel().getRowCount() - 1; int colLead = colModel.getLeadSelectionIndex(); int colMax = table.getModel().getColumnCount() - 1; if (e.getActionCommand().equals("selectPreviousRowExtendSelection")) { rowModel.setLeadSelectionIndex(Math.max(rowLead - 1, 0)); colModel.setLeadSelectionIndex(colLead); } else if (e.getActionCommand().equals("selectLastColumn")) { table.clearSelection(); rowModel.setSelectionInterval(rowLead, rowLead); colModel.setSelectionInterval(colMax, colMax); } else if (e.getActionCommand().equals("startEditing")) { if (table.isCellEditable(rowLead, colLead)) table.editCellAt(rowLead,colLead); } else if (e.getActionCommand().equals("selectFirstRowExtendSelection")) { rowModel.setLeadSelectionIndex(0); colModel.setLeadSelectionIndex(colLead); } else if (e.getActionCommand().equals("selectFirstColumn")) { rowModel.setSelectionInterval(rowLead, rowLead); colModel.setSelectionInterval(0, 0); } else if (e.getActionCommand().equals("selectFirstColumnExtendSelection")) { colModel.setLeadSelectionIndex(0); rowModel.setLeadSelectionIndex(rowLead); } else if (e.getActionCommand().equals("selectLastRow")) { rowModel.setSelectionInterval(rowMax,rowMax); colModel.setSelectionInterval(colLead, colLead); } else if (e.getActionCommand().equals("selectNextRowExtendSelection")) { rowModel.setLeadSelectionIndex(Math.min(rowLead + 1, rowMax)); colModel.setLeadSelectionIndex(colLead); } else if (e.getActionCommand().equals("selectFirstRow")) { rowModel.setSelectionInterval(0,0); colModel.setSelectionInterval(colLead, colLead); } else if (e.getActionCommand().equals("selectNextColumnExtendSelection")) { colModel.setLeadSelectionIndex(Math.min(colLead + 1, colMax)); rowModel.setLeadSelectionIndex(rowLead); } else if (e.getActionCommand().equals("selectLastColumnExtendSelection")) { colModel.setLeadSelectionIndex(colMax); rowModel.setLeadSelectionIndex(rowLead); } else if (e.getActionCommand().equals("selectPreviousColumnExtendSelection")) { colModel.setLeadSelectionIndex(Math.max(colLead - 1, 0)); rowModel.setLeadSelectionIndex(rowLead); } else if (e.getActionCommand().equals("selectNextRow")) { rowModel.setSelectionInterval(Math.min(rowLead + 1, rowMax), Math.min(rowLead + 1, rowMax)); colModel.setSelectionInterval(colLead,colLead); } else if (e.getActionCommand().equals("scrollUpExtendSelection")) { int target; if (rowLead == getFirstVisibleRowIndex()) target = Math.max (0, rowLead - (getLastVisibleRowIndex() - getFirstVisibleRowIndex() + 1)); else target = getFirstVisibleRowIndex(); rowModel.setLeadSelectionIndex(target); colModel.setLeadSelectionIndex(colLead); } else if (e.getActionCommand().equals("selectPreviousRow")) { rowModel.setSelectionInterval(Math.max(rowLead - 1, 0), Math.max(rowLead - 1, 0)); colModel.setSelectionInterval(colLead,colLead); } else if (e.getActionCommand().equals("scrollRightChangeSelection")) { int target; if (colLead == getLastVisibleColumnIndex()) target = Math.min (colMax, colLead + (getLastVisibleColumnIndex() - getFirstVisibleColumnIndex() + 1)); else target = getLastVisibleColumnIndex(); colModel.setSelectionInterval(target, target); rowModel.setSelectionInterval(rowLead, rowLead); } else if (e.getActionCommand().equals("selectPreviousColumn")) { rowModel.setSelectionInterval(rowLead,rowLead); colModel.setSelectionInterval(Math.max(colLead - 1, 0), Math.max(colLead - 1, 0)); } else if (e.getActionCommand().equals("scrollLeftChangeSelection")) { int target; if (colLead == getFirstVisibleColumnIndex()) target = Math.max (0, colLead - (getLastVisibleColumnIndex() - getFirstVisibleColumnIndex() + 1)); else target = getFirstVisibleColumnIndex(); colModel.setSelectionInterval(target, target); rowModel.setSelectionInterval(rowLead, rowLead); } else if (e.getActionCommand().equals("clearSelection")) { table.clearSelection(); } else if (e.getActionCommand().equals("cancel")) { // FIXME: implement other parts of "cancel" like undo-ing last // selection. Right now it just calls editingCancelled if // we're currently editing. if (table.isEditing()) table.editingCanceled(new ChangeEvent("cancel")); } else if (e.getActionCommand().equals("selectNextRowCell") || e.getActionCommand().equals("selectPreviousRowCell") || e.getActionCommand().equals("selectNextColumnCell") || e.getActionCommand().equals("selectPreviousColumnCell")) { // If nothing is selected, select the first cell in the table if (table.getSelectedRowCount() == 0 && table.getSelectedColumnCount() == 0) { rowModel.setSelectionInterval(0, 0); colModel.setSelectionInterval(0, 0); return; } // If the lead selection index isn't selected (ie a remove operation // happened, then set the lead to the first selected cell in the // table if (!table.isCellSelected(rowLead, colLead)) { rowModel.addSelectionInterval(rowModel.getMinSelectionIndex(), rowModel.getMinSelectionIndex()); colModel.addSelectionInterval(colModel.getMinSelectionIndex(), colModel.getMinSelectionIndex()); return; } // multRowsSelected and multColsSelected tell us if multiple rows or // columns are selected, respectively boolean multRowsSelected, multColsSelected; multRowsSelected = table.getSelectedRowCount() > 1 && table.getRowSelectionAllowed(); multColsSelected = table.getSelectedColumnCount() > 1 && table.getColumnSelectionAllowed(); // If there is just one selection, select the next cell, and wrap // when you get to the edges of the table. if (!multColsSelected && !multRowsSelected) { if (e.getActionCommand().indexOf("Column") != -1) advanceSingleSelection(colModel, colMax, rowModel, rowMax, (e.getActionCommand().equals ("selectPreviousColumnCell"))); else advanceSingleSelection(rowModel, rowMax, colModel, colMax, (e.getActionCommand().equals ("selectPreviousRowCell"))); return; } // rowMinSelected and rowMaxSelected are the minimum and maximum // values respectively of selected cells in the row selection model // Similarly for colMinSelected and colMaxSelected. int rowMaxSelected = table.getRowSelectionAllowed() ? rowModel.getMaxSelectionIndex() : table.getModel().getRowCount() - 1; int rowMinSelected = table.getRowSelectionAllowed() ? rowModel.getMinSelectionIndex() : 0; int colMaxSelected = table.getColumnSelectionAllowed() ? colModel.getMaxSelectionIndex() : table.getModel().getColumnCount() - 1; int colMinSelected = table.getColumnSelectionAllowed() ? colModel.getMinSelectionIndex() : 0; // If there are multiple rows and columns selected, select the next // cell and wrap at the edges of the selection. if (e.getActionCommand().indexOf("Column") != -1) advanceMultipleSelection(colModel, colMinSelected, colMaxSelected, rowModel, rowMinSelected, rowMaxSelected, (e.getActionCommand().equals ("selectPreviousColumnCell")), true); else advanceMultipleSelection(rowModel, rowMinSelected, rowMaxSelected, colModel, colMinSelected, colMaxSelected, (e.getActionCommand().equals ("selectPreviousRowCell")), false); } else if (e.getActionCommand().equals("selectNextColumn")) { rowModel.setSelectionInterval(rowLead,rowLead); colModel.setSelectionInterval(Math.min(colLead + 1, colMax), Math.min(colLead + 1, colMax)); } else if (e.getActionCommand().equals("scrollLeftExtendSelection")) { int target; if (colLead == getFirstVisibleColumnIndex()) target = Math.max (0, colLead - (getLastVisibleColumnIndex() - getFirstVisibleColumnIndex() + 1)); else target = getFirstVisibleColumnIndex(); colModel.setLeadSelectionIndex(target); rowModel.setLeadSelectionIndex(rowLead); } else if (e.getActionCommand().equals("scrollDownChangeSelection")) { int target; if (rowLead == getLastVisibleRowIndex()) target = Math.min (rowMax, rowLead + (getLastVisibleRowIndex() - getFirstVisibleRowIndex() + 1)); else target = getLastVisibleRowIndex(); rowModel.setSelectionInterval(target, target); colModel.setSelectionInterval(colLead, colLead); } else if (e.getActionCommand().equals("scrollRightExtendSelection")) { int target; if (colLead == getLastVisibleColumnIndex()) target = Math.min (colMax, colLead + (getLastVisibleColumnIndex() - getFirstVisibleColumnIndex() + 1)); else target = getLastVisibleColumnIndex(); colModel.setLeadSelectionIndex(target); rowModel.setLeadSelectionIndex(rowLead); } else if (e.getActionCommand().equals("selectAll")) { table.selectAll(); } else if (e.getActionCommand().equals("selectLastRowExtendSelection")) { rowModel.setLeadSelectionIndex(rowMax); colModel.setLeadSelectionIndex(colLead); } else if (e.getActionCommand().equals("scrollDownExtendSelection")) { int target; if (rowLead == getLastVisibleRowIndex()) target = Math.min (rowMax, rowLead + (getLastVisibleRowIndex() - getFirstVisibleRowIndex() + 1)); else target = getLastVisibleRowIndex(); rowModel.setLeadSelectionIndex(target); colModel.setLeadSelectionIndex(colLead); } else if (e.getActionCommand().equals("scrollUpChangeSelection")) { int target; if (rowLead == getFirstVisibleRowIndex()) target = Math.max (0, rowLead - (getLastVisibleRowIndex() - getFirstVisibleRowIndex() + 1)); else target = getFirstVisibleRowIndex(); rowModel.setSelectionInterval(target, target); colModel.setSelectionInterval(colLead, colLead); } else { // If we're here that means we bound this TableAction class // to a keyboard input but we either want to ignore that input // or we just haven't implemented its action yet. } if (table.isEditing() && e.getActionCommand() != "startEditing") table.editingCanceled(new ChangeEvent("update")); table.repaint(); table.scrollRectToVisible (table.getCellRect(rowModel.getLeadSelectionIndex(), colModel.getLeadSelectionIndex(), false)); }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
261,
1803,
1133,
425,
13,
565,
288,
1377,
987,
6233,
1488,
1027,
1488,
273,
1014,
18,
588,
6233,
1488,
5621,
1377,
987,
6233,
1488,
645,
1488,
273,
1014,
18,
588,
1494,
1488,
7675,
588,
6233,
1488,
5621,
1377,
509,
1027,
9678,
273,
1027,
1488,
18,
588,
9678,
6233,
1016,
5621,
1377,
509,
1027,
2747,
273,
1014,
18,
588,
1488,
7675,
588,
26359,
1435,
300,
404,
31,
5411,
509,
645,
9678,
273,
645,
1488,
18,
588,
9678,
6233,
1016,
5621,
1377,
509,
645,
2747,
273,
1014,
18,
588,
1488,
7675,
588,
1494,
1380,
1435,
300,
404,
31,
5411,
309,
261,
73,
18,
588,
1803,
2189,
7675,
14963,
2932,
4025,
8351,
1999,
16675,
6233,
6,
3719,
3639,
288,
1850,
1027,
1488,
18,
542,
9678,
6233,
1016,
12,
10477,
18,
1896,
12,
492,
9678,
300,
404,
16,
374,
10019,
1850,
645,
1488,
18,
542,
9678,
6233,
1016,
12,
1293,
9678,
1769,
3639,
289,
1377,
469,
309,
261,
73,
18,
588,
1803,
2189,
7675,
14963,
2932,
4025,
3024,
1494,
6,
3719,
3639,
288,
1850,
1014,
18,
8507,
6233,
5621,
1850,
1027,
1488,
18,
542,
6233,
4006,
12,
492,
9678,
16,
1027,
9678,
1769,
1850,
645,
1488,
18,
542,
6233,
4006,
12,
1293,
2747,
16,
645,
2747,
1769,
3639,
289,
1377,
469,
309,
261,
73,
18,
588,
1803,
2189,
7675,
14963,
2932,
1937,
28029,
6,
3719,
3639,
288,
1850,
309,
261,
2121,
18,
291,
4020,
15470,
12,
492,
9678,
16,
645,
9678,
3719,
5411,
1014,
18,
4619,
4020,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
261,
1803,
1133,
425,
13,
565,
288,
1377,
987,
6233,
1488,
1027,
1488,
273,
1014,
18,
588,
6233,
1488,
5621,
1377,
987,
6233,
1488,
645,
1488,
273,
1014,
18,
588,
1494,
1488,
7675,
588,
6233,
1488,
5621,
1377,
509,
1027,
9678,
273,
1027,
1488,
18,
588,
9678,
6233,
1016,
5621,
1377,
509,
1027,
2747,
273,
1014,
18,
588,
1488,
7675,
588,
26359,
1435,
300,
404,
31,
5411,
509,
645,
9678,
273,
645,
1488,
18,
588,
9678,
6233,
1016,
5621,
1377,
509,
645,
2747,
273,
1014,
18,
588,
1488,
7675,
588,
1494,
1380,
1435,
300,
404,
31,
5411,
309,
261,
73,
18,
588,
1803,
2189,
7675,
14963,
2932,
4025,
8351,
1999,
16675,
6233,
6,
3719,
3639,
2
] |
static String[] getJarBase() { String jars = System.getProperty(JARDIR_PROP, JARDIR_DEFAULT); String[] base = Util.splitwords(jars, ";", '\"'); for (int i=0; i<base.length; i++) { try { base[i] = new URL(base[i]).toString(); } catch (Exception ignored) { } println("jar base[" + i + "]=" + base[i], 3); } return base; }
|
13251 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13251/17ae88b3f7b2b6dd3c0f3c451b2a40ec7c30404f/Main.java/buggy/osgi/framework/src/org/knopflerfish/framework/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
514,
8526,
9285,
297,
2171,
1435,
288,
565,
514,
28838,
273,
2332,
18,
588,
1396,
12,
46,
985,
4537,
67,
15811,
16,
24728,
4537,
67,
5280,
1769,
3639,
514,
8526,
1026,
273,
3564,
18,
4939,
3753,
12,
78,
5913,
16,
13636,
3113,
2337,
5187,
1769,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
1969,
18,
2469,
31,
277,
27245,
288,
1377,
775,
288,
3639,
1026,
63,
77,
65,
273,
394,
1976,
12,
1969,
63,
77,
65,
2934,
10492,
5621,
1377,
289,
1044,
261,
503,
5455,
13,
288,
1377,
289,
1377,
3785,
2932,
11930,
1026,
9614,
397,
277,
397,
9850,
1546,
397,
1026,
63,
77,
6487,
890,
1769,
377,
289,
565,
327,
1026,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
514,
8526,
9285,
297,
2171,
1435,
288,
565,
514,
28838,
273,
2332,
18,
588,
1396,
12,
46,
985,
4537,
67,
15811,
16,
24728,
4537,
67,
5280,
1769,
3639,
514,
8526,
1026,
273,
3564,
18,
4939,
3753,
12,
78,
5913,
16,
13636,
3113,
2337,
5187,
1769,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
1969,
18,
2469,
31,
277,
27245,
288,
1377,
775,
288,
3639,
1026,
63,
77,
65,
273,
394,
1976,
12,
1969,
63,
77,
65,
2934,
10492,
5621,
1377,
289,
1044,
261,
503,
5455,
13,
288,
1377,
289,
1377,
3785,
2932,
11930,
1026,
9614,
397,
277,
397,
9850,
1546,
397,
1026,
63,
77,
6487,
890,
1769,
377,
289,
565,
327,
1026,
31,
225,
289,
2
] |
||
public void error(final boolean doLogging, final Object message, final Throwable t)
|
public void error(final boolean doLogging, final Object message)
|
public void error(final boolean doLogging, final Object message, final Throwable t) { log(doLogging, LogChute.ERROR_ID, message, t); }
|
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/3947ee2f4220d23c09340926c564fc0b0641aa75/LogDisplayWrapper.java/buggy/src/java/org/apache/velocity/runtime/log/LogDisplayWrapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
555,
12,
6385,
1250,
741,
7735,
16,
727,
1033,
883,
13,
565,
288,
3639,
613,
12,
2896,
7735,
16,
1827,
782,
624,
18,
3589,
67,
734,
16,
883,
16,
268,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
555,
12,
6385,
1250,
741,
7735,
16,
727,
1033,
883,
13,
565,
288,
3639,
613,
12,
2896,
7735,
16,
1827,
782,
624,
18,
3589,
67,
734,
16,
883,
16,
268,
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
] |
public CmsFile readFileHeader(int projectId, String filename) throws CmsException { CmsFile file=null; ResultSet res =null; PreparedStatement statement = null; try { statement=m_pool.getPreparedStatement(m_cq.C_RESOURCES_READ_KEY); // read file data from database statement.setString(1, filename); statement.setInt(2, projectId); res = statement.executeQuery(); // create new file if(res.next()) { int resId=res.getInt(m_cq.C_RESOURCES_RESOURCE_ID); int parentId=res.getInt(m_cq.C_RESOURCES_PARENT_ID); String resName=res.getString(m_cq.C_RESOURCES_RESOURCE_NAME); int resType= res.getInt(m_cq.C_RESOURCES_RESOURCE_TYPE); int resFlags=res.getInt(m_cq.C_RESOURCES_RESOURCE_FLAGS); int userId=res.getInt(m_cq.C_RESOURCES_USER_ID); int groupId= res.getInt(m_cq.C_RESOURCES_GROUP_ID); int projectID=res.getInt(m_cq.C_RESOURCES_PROJECT_ID); int fileId=res.getInt(m_cq.C_RESOURCES_FILE_ID); int accessFlags=res.getInt(m_cq.C_RESOURCES_ACCESS_FLAGS); int state= res.getInt(m_cq.C_RESOURCES_STATE); int lockedBy= res.getInt(m_cq.C_RESOURCES_LOCKED_BY); int launcherType= res.getInt(m_cq.C_RESOURCES_LAUNCHER_TYPE); String launcherClass= res.getString(m_cq.C_RESOURCES_LAUNCHER_CLASSNAME); long created=SqlHelper.getTimestamp(res,m_cq.C_RESOURCES_DATE_CREATED).getTime(); long modified=SqlHelper.getTimestamp(res,m_cq.C_RESOURCES_DATE_LASTMODIFIED).getTime(); int resSize= res.getInt(m_cq.C_RESOURCES_SIZE); int modifiedBy=res.getInt(m_cq.C_RESOURCES_LASTMODIFIED_BY); file=new CmsFile(resId,parentId,fileId,resName,resType,resFlags,userId, groupId,projectID,accessFlags,state,lockedBy, launcherType,launcherClass,created,modified,modifiedBy, new byte[0],resSize); res.close(); // check if this resource is marked as deleted if (file.getState() == C_STATE_DELETED) { throw new CmsException("["+this.getClass().getName()+"] "+file.getAbsolutePath(),CmsException.C_RESOURCE_DELETED); } } else { throw new CmsException("["+this.getClass().getName()+"] "+filename,CmsException.C_NOT_FOUND); } } catch (SQLException e){ throw new CmsException("["+this.getClass().getName()+"] "+e.getMessage(),CmsException.C_SQL_ERROR, e); } catch (CmsException ex) { throw ex; } catch( Exception exc ) { throw new CmsException("readFile "+exc.getMessage(), CmsException.C_UNKNOWN_EXCEPTION, exc); }finally { if( statement != null) { m_pool.putPreparedStatement(m_cq.C_RESOURCES_READ_KEY, statement); } } return file; }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/142347a2a551d52971f8e5e2e084c9c08fd422d1/CmsDbAccess.java/buggy/src/com/opencms/file/genericSql/CmsDbAccess.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4747,
42,
2895,
684,
812,
1864,
12,
474,
4406,
548,
16,
780,
3459,
13,
202,
202,
15069,
4747,
503,
95,
9506,
202,
4747,
812,
768,
33,
2011,
31,
202,
202,
13198,
455,
33,
2011,
31,
202,
202,
29325,
11516,
33,
2011,
31,
9506,
202,
698,
95,
9506,
202,
11516,
33,
81,
67,
6011,
18,
588,
29325,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
6949,
67,
3297,
1769,
9506,
202,
759,
896,
768,
892,
2080,
6231,
1082,
202,
11516,
18,
542,
780,
12,
21,
16,
3459,
1769,
1082,
202,
11516,
18,
542,
1702,
12,
22,
16,
4406,
548,
1769,
6862,
202,
455,
33,
11516,
18,
8837,
1138,
5621,
9506,
202,
759,
27350,
275,
359,
768,
1082,
202,
430,
12,
455,
18,
4285,
10756,
95,
9506,
202,
474,
455,
548,
33,
455,
18,
588,
1702,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
11395,
67,
734,
1769,
9506,
202,
474,
2938,
548,
33,
455,
18,
588,
1702,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
14943,
67,
734,
1769,
9506,
202,
780,
455,
461,
33,
455,
18,
588,
780,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
11395,
67,
1985,
1769,
9506,
202,
474,
455,
559,
33,
455,
18,
588,
1702,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
11395,
67,
2399,
1769,
9506,
202,
474,
455,
5094,
33,
455,
18,
588,
1702,
12,
81,
67,
71,
85,
18,
39,
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,
4747,
42,
2895,
684,
812,
1864,
12,
474,
4406,
548,
16,
780,
3459,
13,
202,
202,
15069,
4747,
503,
95,
9506,
202,
4747,
812,
768,
33,
2011,
31,
202,
202,
13198,
455,
33,
2011,
31,
202,
202,
29325,
11516,
33,
2011,
31,
9506,
202,
698,
95,
9506,
202,
11516,
33,
81,
67,
6011,
18,
588,
29325,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
6949,
67,
3297,
1769,
9506,
202,
759,
896,
768,
892,
2080,
6231,
1082,
202,
11516,
18,
542,
780,
12,
21,
16,
3459,
1769,
1082,
202,
11516,
18,
542,
1702,
12,
22,
16,
4406,
548,
1769,
6862,
202,
455,
33,
11516,
18,
8837,
1138,
5621,
9506,
202,
759,
27350,
275,
2
] |
||
_t = __t2148;
|
_t = __t2149;
|
public final void triggerprocedurestate(AST _t) throws RecognitionException { AST triggerprocedurestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST id = null; AST id2 = null; AST __t2129 = _t; AST tmp1327_AST_in = (AST)_t; match(_t,TRIGGER); _t = _t.getFirstChild(); AST tmp1328_AST_in = (AST)_t; match(_t,PROCEDURE); _t = _t.getNextSibling(); AST tmp1329_AST_in = (AST)_t; match(_t,FOR); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CREATE: case DELETE_KW: case FIND: case REPLICATIONCREATE: case REPLICATIONDELETE: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CREATE: { AST tmp1330_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getNextSibling(); break; } case DELETE_KW: { AST tmp1331_AST_in = (AST)_t; match(_t,DELETE_KW); _t = _t.getNextSibling(); break; } case FIND: { AST tmp1332_AST_in = (AST)_t; match(_t,FIND); _t = _t.getNextSibling(); break; } case REPLICATIONCREATE: { AST tmp1333_AST_in = (AST)_t; match(_t,REPLICATIONCREATE); _t = _t.getNextSibling(); break; } case REPLICATIONDELETE: { AST tmp1334_AST_in = (AST)_t; match(_t,REPLICATIONDELETE); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } AST tmp1335_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); AST tmp1336_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } break; } case REPLICATIONWRITE: case WRITE: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WRITE: { AST tmp1337_AST_in = (AST)_t; match(_t,WRITE); _t = _t.getNextSibling(); break; } case REPLICATIONWRITE: { AST tmp1338_AST_in = (AST)_t; match(_t,REPLICATIONWRITE); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } AST tmp1339_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); AST tmp1340_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case EOF: case PERIOD: case NEW: case OLD: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: { AST tmp1341_AST_in = (AST)_t; match(_t,NEW); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BUFFER: { AST tmp1342_AST_in = (AST)_t; match(_t,BUFFER); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1343_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case EOF: case PERIOD: case OLD: { break; } default: { throw new NoViableAltException(_t); } } } break; } case EOF: case PERIOD: case OLD: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OLD: { AST tmp1344_AST_in = (AST)_t; match(_t,OLD); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BUFFER: { AST tmp1345_AST_in = (AST)_t; match(_t,BUFFER); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1346_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } break; } case ASSIGN: { AST tmp1347_AST_in = (AST)_t; match(_t,ASSIGN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OF: { AST __t2142 = _t; AST tmp1348_AST_in = (AST)_t; match(_t,OF); _t = _t.getFirstChild(); field(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TABLE: { AST __t2144 = _t; AST tmp1349_AST_in = (AST)_t; match(_t,TABLE); _t = _t.getFirstChild(); AST tmp1350_AST_in = (AST)_t; match(_t,LABEL); _t = _t.getNextSibling(); constant(_t); _t = _retTree; _t = __t2144; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2142; _t = _t.getNextSibling(); break; } case NEW: { AST __t2145 = _t; AST tmp1351_AST_in = (AST)_t; match(_t,NEW); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALUE: { AST tmp1352_AST_in = (AST)_t; match(_t,VALUE); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } id = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); defineparam_var(_t); _t = _retTree; _t = __t2145; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case OLD: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OLD: { AST __t2148 = _t; AST tmp1353_AST_in = (AST)_t; match(_t,OLD); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALUE: { AST tmp1354_AST_in = (AST)_t; match(_t,VALUE); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } id2 = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); defineparam_var(_t); _t = _retTree; _t = __t2148; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t2129; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3080,
685,
8153,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
3080,
685,
8153,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
612,
273,
446,
31,
202,
202,
9053,
612,
22,
273,
446,
31,
9506,
202,
9053,
1001,
88,
22,
24886,
273,
389,
88,
31,
202,
202,
9053,
1853,
22152,
27,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
6566,
27399,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
22152,
28,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
3373,
23552,
4830,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
9053,
1853,
22152,
29,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
7473,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
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,
13278,
30,
202,
202,
3593,
8568,
67,
30134,
30,
202,
202,
3593,
28934,
30,
202,
202,
3593,
2438,
52,
11154,
9344,
30,
202,
202,
3593,
2438,
52,
11154,
6460,
30,
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,
3080,
685,
8153,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
3080,
685,
8153,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
612,
273,
446,
31,
202,
202,
9053,
612,
22,
273,
446,
31,
9506,
202,
9053,
1001,
88,
22,
24886,
273,
389,
88,
31,
202,
202,
9053,
1853,
22152,
27,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
6566,
27399,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
22152,
28,
67,
9053,
67,
267,
2
] |
for (int i = 0; i < workingSets.length; i++) { IWorkingSet workingSet = restoreWorkingSet(workingSets[i]);
|
for (int i = 0; i < children.length; i++) { IWorkingSet workingSet = restoreWorkingSet(children[i]);
|
private void restoreWorkingSetState(IMemento memento) { IMemento[] workingSets = memento.getChildren(IWorkbenchConstants.TAG_WORKING_SET); for (int i = 0; i < workingSets.length; i++) { IWorkingSet workingSet = restoreWorkingSet(workingSets[i]); if (workingSet != null) { this.workingSets.add(workingSet); firePropertyChange(CHANGE_WORKING_SET_ADD, null, workingSet); } } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/c85b58d24f16ca5fc53931ca1a63e876935ff44f/WorkingSetManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkingSetManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
5217,
14836,
694,
1119,
12,
3445,
820,
83,
312,
820,
83,
13,
288,
202,
202,
3445,
820,
83,
8526,
5960,
2785,
273,
312,
820,
83,
18,
588,
4212,
12,
45,
2421,
22144,
2918,
18,
7927,
67,
10566,
1360,
67,
4043,
1769,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
5960,
2785,
18,
2469,
31,
277,
27245,
288,
1082,
202,
45,
14836,
694,
5960,
694,
273,
5217,
14836,
694,
12,
20478,
2785,
63,
77,
19226,
1082,
202,
430,
261,
20478,
694,
480,
446,
13,
288,
9506,
202,
2211,
18,
20478,
2785,
18,
1289,
12,
20478,
694,
1769,
9506,
202,
12179,
1396,
3043,
12,
14473,
67,
10566,
1360,
67,
4043,
67,
8355,
16,
446,
16,
5960,
694,
1769,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
5217,
14836,
694,
1119,
12,
3445,
820,
83,
312,
820,
83,
13,
288,
202,
202,
3445,
820,
83,
8526,
5960,
2785,
273,
312,
820,
83,
18,
588,
4212,
12,
45,
2421,
22144,
2918,
18,
7927,
67,
10566,
1360,
67,
4043,
1769,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
5960,
2785,
18,
2469,
31,
277,
27245,
288,
1082,
202,
45,
14836,
694,
5960,
694,
273,
5217,
14836,
694,
12,
20478,
2785,
63,
77,
19226,
1082,
202,
430,
261,
20478,
694,
480,
446,
13,
288,
9506,
202,
2211,
18,
20478,
2785,
18,
1289,
12,
20478,
694,
1769,
9506,
202,
12179,
1396,
3043,
12,
14473,
67,
10566,
1360,
67,
4043,
67,
8355,
16,
446,
2
] |
IDecoratorManager manager = WorkbenchPlugin.getDefault().getDecoratorManager();
|
((DecoratorTestPart) view).setUpForDecorators(); IDecoratorManager manager = WorkbenchPlugin.getDefault() .getDecoratorManager();
|
public void testForeground() throws PartInitException, CoreException, InterruptedException { ForegroundColorDecorator.setUpColor(); IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow(); IWorkbenchPage page = window.getActivePage(); Assert.isNotNull(page, "No active page"); final IViewPart view = openView(page); IDecoratorManager manager = WorkbenchPlugin.getDefault().getDecoratorManager(); manager.setEnabled(ForegroundColorDecorator.ID, true); JobManager.getInstance().join(DecoratorManager.FAMILY_DECORATE, null); foregroundCheck(view); manager.setEnabled(ForegroundColorDecorator.ID, false); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/ad66ffeab0c51bc266faaf7366a2f06f327e3379/DecoratorViewerTest.java/buggy/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/decorators/DecoratorViewerTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
23206,
1435,
1216,
6393,
2570,
503,
16,
30015,
16,
7558,
288,
202,
202,
23206,
2957,
10361,
18,
542,
1211,
2957,
5621,
202,
202,
45,
2421,
22144,
3829,
2742,
273,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
5621,
202,
202,
45,
2421,
22144,
1964,
1363,
273,
2742,
18,
588,
3896,
1964,
5621,
202,
202,
8213,
18,
291,
5962,
12,
2433,
16,
315,
2279,
2695,
1363,
8863,
202,
202,
6385,
467,
1767,
1988,
1476,
273,
1696,
1767,
12,
2433,
1769,
202,
202,
734,
557,
17939,
1318,
3301,
273,
4147,
22144,
3773,
18,
588,
1868,
7675,
588,
10361,
1318,
5621,
202,
202,
4181,
18,
542,
1526,
12,
23206,
2957,
10361,
18,
734,
16,
638,
1769,
202,
202,
2278,
1318,
18,
588,
1442,
7675,
5701,
12,
10361,
1318,
18,
25002,
25554,
67,
1639,
9428,
1777,
16,
446,
1769,
202,
202,
1405,
2915,
1564,
12,
1945,
1769,
202,
202,
4181,
18,
542,
1526,
12,
23206,
2957,
10361,
18,
734,
16,
629,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
23206,
1435,
1216,
6393,
2570,
503,
16,
30015,
16,
7558,
288,
202,
202,
23206,
2957,
10361,
18,
542,
1211,
2957,
5621,
202,
202,
45,
2421,
22144,
3829,
2742,
273,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
5621,
202,
202,
45,
2421,
22144,
1964,
1363,
273,
2742,
18,
588,
3896,
1964,
5621,
202,
202,
8213,
18,
291,
5962,
12,
2433,
16,
315,
2279,
2695,
1363,
8863,
202,
202,
6385,
467,
1767,
1988,
1476,
273,
1696,
1767,
12,
2433,
1769,
202,
202,
734,
557,
17939,
1318,
3301,
273,
4147,
22144,
3773,
18,
588,
1868,
7675,
588,
10361,
1318,
5621,
202,
202,
4181,
18,
542,
1526,
12,
23206,
2957,
10361,
18,
734,
2
] |
case 573 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); }
|
case 574 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); }
|
protected void consumeRule(int act) { switch ( act ) { case 29 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 43 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 47 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 48 : if (DEBUG) { System.out.println("ClassOrInterface ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 49 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments"); } //$NON-NLS-1$ consumeGenericType(); break; case 50 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 51 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 52 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 53 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 54 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 59 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 60 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 65 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 66 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 67 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 68 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 69 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 70 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 86 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 88 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 90 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 91 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 92 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 93 : if (DEBUG) { System.out.println("PackageDeclarationName ::= PackageComment package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 94 : if (DEBUG) { System.out.println("PackageComment ::="); } //$NON-NLS-1$ consumePackageComment(); break; case 99 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 100 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 101 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 102 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 105 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 109 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 121 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ consumeAnnotationAsModifier(); break; case 122 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 123 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 124 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 126 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 127 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 128 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 130 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 131 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 134 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 138 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 139 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 140 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 147 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 150 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 152 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 155 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 156 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 157 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 158 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 159 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 164 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 165 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 166 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 167 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(false); break; case 168 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(false); break; case 169 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 170 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 171 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 172 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 173 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 174 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 176 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 177 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 178 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 180 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 181 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 182 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 183 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 184 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 185 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 186 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 187 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0, THIS_CALL); break; case 189 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); break; case 190 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,SUPER_CALL); break; case 191 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); break; case 192 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, SUPER_CALL); break; case 193 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); break; case 194 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, SUPER_CALL); break; case 195 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); break; case 196 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, THIS_CALL); break; case 197 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); break; case 198 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, THIS_CALL); break; case 199 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); break; case 200 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 201 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 202 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 204 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 205 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 208 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 209 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 211 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ consumeInvalidMethodDeclaration(); break; case 212 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration(true); break; case 213 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration(false); break; case 221 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 222 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 223 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 224 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 226 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 227 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 228 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 230 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 234 : if (DEBUG) { System.out.println("BlockStatement ::= InterfaceDeclaration"); } //$NON-NLS-1$ consumeInvalidInterfaceDeclaration(); break; case 235 : if (DEBUG) { System.out.println("BlockStatement ::= AnnotationTypeDeclaration"); } //$NON-NLS-1$ consumeInvalidAnnotationTypeDeclaration(); break; case 236 : if (DEBUG) { System.out.println("BlockStatement ::= EnumDeclaration"); } //$NON-NLS-1$ consumeInvalidEnumDeclaration(); break; case 237 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 238 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 239 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 240 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 241 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ consumePushModifiersForHeader(); break; case 242 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 268 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 269 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 270 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 271 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 280 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 281 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 282 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 283 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 284 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 287 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 289 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 290 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 292 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 293 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 294 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 295 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 296 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 297 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 298 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 299 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 300 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 304 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 305 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 306 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 307 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 308 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 309 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 310 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 311 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 312 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 313 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 314 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 315 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 316 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 318 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 320 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 321 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 323 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 324 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 329 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 330 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 331 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 334 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 335 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 336 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 337 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 338 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 339 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 342 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 343 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 344 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 345 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 346 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 347 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 348 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 349 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 350 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 352 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 354 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 355 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 356 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 357 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 358 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 359 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 360 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 362 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 364 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 365 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 368 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 369 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 370 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 371 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 372 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 373 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 374 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 375 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 376 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 377 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 378 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 379 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 381 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 384 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 385 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 386 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 389 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 390 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 392 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 393 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 395 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 396 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 398 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 399 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 400 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 401 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 402 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 403 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 404 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 405 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 406 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 408 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 409 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 410 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 412 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 413 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 415 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 416 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 417 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 419 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 420 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 421 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 422 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 424 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(); break; case 426 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 427 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 429 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 431 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 433 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 435 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 437 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 439 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 442 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 444 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 446 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 447 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 448 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 449 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 450 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 451 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 452 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 453 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 454 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 455 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 456 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 460 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 465 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 466 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 467 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 468 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 469 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 471 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 473 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 477 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 481 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 482 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 483 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 484 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 486 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 490 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 492 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 493 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 494 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeaderName(); break; case 495 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 496 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 497 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 498 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 500 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 501 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ consumeEnumConstantHeaderName(); break; case 502 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 503 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 504 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 505 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 506 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 508 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ consumeEnumDeclarations(); break; case 509 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 511 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 512 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 513 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeaderInit(false); break; case 514 : if (DEBUG) { System.out.println("EnhancedForStatementHeaderInit ::= for LPAREN Modifiers"); } //$NON-NLS-1$ consumeEnhancedForStatementHeaderInit(true); break; case 515 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(); break; case 516 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 517 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 518 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 519 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 520 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 521 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 523 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 525 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 526 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 530 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 531 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 533 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 536 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 537 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 539 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 542 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 543 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 544 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 545 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 546 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 547 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 548 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 549 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 550 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 551 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 552 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 553 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 554 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 555 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 556 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 557 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 558 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 559 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 560 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 562 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 564 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 565 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 567 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 568 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 570 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 571 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 572 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 573 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 575 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 576 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 582 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 583 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 586 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 587 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 590 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 591 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 592 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 593 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 594 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 595 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 597 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 598 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 599 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 600 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 602 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 603 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 604 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 605 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 606 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 607 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 609 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 610 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 611 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 612 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 613 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 614 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 615 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 616 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 618 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(); break; case 619 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(); break; case 621 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 622 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 623 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 624 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 626 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 627 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 629 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 630 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 632 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 633 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 635 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 636 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 638 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 639 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 641 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 642 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 646 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 647 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 648 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 649 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 651 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 652 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationsopt() ; break; case 654 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 655 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(true); break; case 656 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeMethodHeaderName(true); break; case 657 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyMethodHeaderDefaultValue() ; break; case 658 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::= DefaultValue"); } //$NON-NLS-1$ consumeMethodHeaderDefaultValue(); break; case 659 : if (DEBUG) { System.out.println("AnnotationMethodHeader ::= AnnotationMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 660 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 668 : if (DEBUG) { System.out.println("AnnotationName ::= AT Name"); } //$NON-NLS-1$ consumeAnnotationName() ; break; case 669 : if (DEBUG) { System.out.println("NormalAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 670 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 673 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 674 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL EnterMemberValue..."); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 675 : if (DEBUG) { System.out.println("EnterMemberValue ::="); } //$NON-NLS-1$ consumeEnterMemberValue() ; break; case 676 : if (DEBUG) { System.out.println("ExitMemberValue ::="); } //$NON-NLS-1$ consumeExitMemberValue() ; break; case 678 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ consumeMemberValueAsName() ; break; case 681 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 682 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 683 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 684 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 686 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 687 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AnnotationName"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 688 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; case 689 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt TypeParameters"); } //$NON-NLS-1$ consumeRecoveryMethodHeaderNameWithTypeParameters(); break; case 690 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeRecoveryMethodHeaderName(); break; case 691 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 692 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; }}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/189d8495dd269a3e1a6eabd4118e6586a867755d/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12899,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
21193,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17495,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
24730,
5621,
565,
1082,
202,
8820,
31,
377,
648,
9934,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
7928,
559,
15772,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
1358,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17160,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
30982,
493,
33,
1659,
1162,
1358,
1412,
4628,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
30982,
5621,
565,
1082,
202,
8820,
31,
377,
648,
6437,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
27182,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12899,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
21193,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17495,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
2
] |
case STATE_INSIDE_EXECUTE_QUERY:
|
case STATE_INSIDE_EXECUTE_QUERY :
|
protected void startErrorElement(Attributes attributes) { switch (current_state) { case STATE_INSIDE_EXECUTE_QUERY: current_value.setLength(0); current_state = LDAPTransformer.STATE_INSIDE_ERROR_ELEMENT; break; case STATE_INSIDE_EXECUTE_INCREMENT: current_value.setLength(0); current_state = LDAPTransformer.STATE_INSIDE_ERROR_ELEMENT; break; default: throwIllegalStateException("Not expecting a start error-element element"); } }
|
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/52ffdd8b732294554bcca0d4e0574ce6a20c35bc/LDAPTransformer.java/buggy/src/blocks/naming/java/org/apache/cocoon/transformation/LDAPTransformer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
787,
668,
1046,
12,
2498,
1677,
13,
288,
3639,
1620,
261,
2972,
67,
2019,
13,
288,
5411,
648,
7442,
67,
706,
26498,
67,
15271,
9099,
67,
10753,
294,
7734,
783,
67,
1132,
18,
542,
1782,
12,
20,
1769,
7734,
783,
67,
2019,
273,
11916,
8319,
18,
7998,
67,
706,
26498,
67,
3589,
67,
10976,
31,
7734,
898,
31,
5411,
648,
7442,
67,
706,
26498,
67,
15271,
9099,
67,
29836,
30,
7734,
783,
67,
1132,
18,
542,
1782,
12,
20,
1769,
7734,
783,
67,
2019,
273,
11916,
8319,
18,
7998,
67,
706,
26498,
67,
3589,
67,
10976,
31,
7734,
898,
31,
5411,
805,
30,
7734,
604,
12195,
5060,
2932,
1248,
17012,
279,
787,
555,
17,
2956,
930,
8863,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
787,
668,
1046,
12,
2498,
1677,
13,
288,
3639,
1620,
261,
2972,
67,
2019,
13,
288,
5411,
648,
7442,
67,
706,
26498,
67,
15271,
9099,
67,
10753,
294,
7734,
783,
67,
1132,
18,
542,
1782,
12,
20,
1769,
7734,
783,
67,
2019,
273,
11916,
8319,
18,
7998,
67,
706,
26498,
67,
3589,
67,
10976,
31,
7734,
898,
31,
5411,
648,
7442,
67,
706,
26498,
67,
15271,
9099,
67,
29836,
30,
7734,
783,
67,
1132,
18,
542,
1782,
12,
20,
1769,
7734,
783,
67,
2019,
273,
11916,
8319,
18,
7998,
67,
706,
26498,
67,
3589,
67,
10976,
31,
7734,
898,
31,
5411,
805,
30,
7734,
604,
12195,
5060,
2932,
1248,
17012,
279,
787,
555,
17,
2956,
930,
2
] |
return ((GroupInfo) info).getTaskName();
|
if (info.hasChildren()) return ((GroupInfo) info).getTaskName(); return info.getDisplayString();
|
private String getMainTitle() { if (info.isJobInfo()) return getJobNameAndStatus(); return ((GroupInfo) info).getTaskName(); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/02901f3a15fd4a62722aa6cfeff6b75a3f17f252/ProgressInfoItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressInfoItem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
15011,
4247,
1435,
288,
202,
202,
430,
261,
1376,
18,
291,
2278,
966,
10756,
1082,
202,
2463,
13024,
31925,
1482,
5621,
202,
202,
2463,
14015,
1114,
966,
13,
1123,
2934,
588,
2174,
461,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
15011,
4247,
1435,
288,
202,
202,
430,
261,
1376,
18,
291,
2278,
966,
10756,
1082,
202,
2463,
13024,
31925,
1482,
5621,
202,
202,
2463,
14015,
1114,
966,
13,
1123,
2934,
588,
2174,
461,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 visitMAsgnNode(Node iVisited) { visit(iVisited); leave(iVisited); }
|
public void visitMAsgnNode(Node iVisited) { visit(iVisited); leave(iVisited); }
|
public void visitMAsgnNode(Node iVisited) { visit(iVisited); leave(iVisited); }
|
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/clean/org/jruby/nodes/NodeVisitorAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
5535,
1055,
82,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
5535,
1055,
82,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
view.getContainer().repaint(bounds.x, bounds.y, bounds.width, bounds.height);
|
view.getJComponent().repaint(bounds.x, bounds.y, bounds.width, bounds.height);
|
public void endOverlay() { view.getContainer().requestFocus(); if (editWidget != null) { editWidget.setVisible(false); view.getContainer().remove(editWidget); Rectangle bounds = editWidget.getBounds(); view.getContainer().repaint(bounds.x, bounds.y, bounds.width, bounds.height); } }
|
5626 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5626/f9964b9ccd8d9e7e2d31f3c7131cbbc7b84f1920/FloatingTextField.java/buggy/jhotdraw7/src/main/java/org/jhotdraw/draw/FloatingTextField.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
679,
11627,
1435,
288,
3639,
1476,
18,
588,
2170,
7675,
2293,
9233,
5621,
3639,
309,
261,
4619,
4609,
480,
446,
13,
288,
5411,
3874,
4609,
18,
542,
6207,
12,
5743,
1769,
5411,
1476,
18,
588,
2170,
7675,
4479,
12,
4619,
4609,
1769,
13491,
13264,
4972,
273,
3874,
4609,
18,
588,
5694,
5621,
5411,
1476,
18,
588,
46,
1841,
7675,
14462,
1598,
12,
10576,
18,
92,
16,
4972,
18,
93,
16,
4972,
18,
2819,
16,
4972,
18,
4210,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
679,
11627,
1435,
288,
3639,
1476,
18,
588,
2170,
7675,
2293,
9233,
5621,
3639,
309,
261,
4619,
4609,
480,
446,
13,
288,
5411,
3874,
4609,
18,
542,
6207,
12,
5743,
1769,
5411,
1476,
18,
588,
2170,
7675,
4479,
12,
4619,
4609,
1769,
13491,
13264,
4972,
273,
3874,
4609,
18,
588,
5694,
5621,
5411,
1476,
18,
588,
46,
1841,
7675,
14462,
1598,
12,
10576,
18,
92,
16,
4972,
18,
93,
16,
4972,
18,
2819,
16,
4972,
18,
4210,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ids[i] = types[i].getAttribute(ID);
|
ids[i] = types[i].getAttribute(ID);
|
private String[] getMarkerTypes(IConfigurationElement element) { IConfigurationElement[] types = element.getChildren(MARKER_TYPE_REFERENCE); String[] ids = new String[types.length]; for (int i = 0; i < ids.length; i++) { ids[i] = types[i].getAttribute(ID); } return ids; }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/229c44b72ac5a176a7c4d6328bcc38d5cf41c6c3/MarkerSupportRegistry.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerSupportRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
8526,
23232,
264,
2016,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
45,
1750,
1046,
8526,
1953,
273,
930,
18,
588,
4212,
12,
25989,
67,
2399,
67,
14617,
1769,
202,
202,
780,
8526,
3258,
273,
394,
514,
63,
2352,
18,
2469,
15533,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3258,
18,
2469,
31,
277,
27245,
288,
1082,
202,
2232,
63,
77,
65,
273,
1953,
63,
77,
8009,
588,
1499,
12,
734,
1769,
6862,
202,
97,
202,
202,
2463,
3258,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
8526,
23232,
264,
2016,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
45,
1750,
1046,
8526,
1953,
273,
930,
18,
588,
4212,
12,
25989,
67,
2399,
67,
14617,
1769,
202,
202,
780,
8526,
3258,
273,
394,
514,
63,
2352,
18,
2469,
15533,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
3258,
18,
2469,
31,
277,
27245,
288,
1082,
202,
2232,
63,
77,
65,
273,
1953,
63,
77,
8009,
588,
1499,
12,
734,
1769,
6862,
202,
97,
202,
202,
2463,
3258,
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
] |
getListRewrite(selectedNodes[0], fRewrite).insertAfter(insertedCode, selectedNodes[selectedNodes.length - 1], null);
|
if (selectedNodes.length == 1 && ASTNodes.isControlStatementBody(selectedNodes[0].getLocationInParent())) { Block wrap= ast.newBlock(); fRewrite.replace(selectedNodes[0], wrap, null); fRewrite.getListRewrite(wrap, Block.STATEMENTS_PROPERTY).insertFirst(insertedCode, null); } else { getListRewrite(selectedNodes[0], fRewrite).insertAfter(insertedCode, selectedNodes[selectedNodes.length - 1], null); }
|
protected ASTRewrite getRewrite() throws CoreException { if (fRewrite == null) { Statement[] selectedNodes= fSelectedNodes; AST ast= getAst(); fRewrite= ASTRewrite.create(ast); Block newBody= ast.newBlock(); Statement insertedCode= generateCodeSkeleton(newBody, fRewrite); BodyDeclaration enclosingBodyDeclaration= (BodyDeclaration)ASTNodes.getParent(selectedNodes[0], BodyDeclaration.class); int maxVariableId= LocalVariableIndex.perform(enclosingBodyDeclaration) + 1; List accessedAfter= getVariableDeclarationsAccessedAfter(selectedNodes[selectedNodes.length - 1], maxVariableId); List readInside= getVariableDeclarationReadsInside(selectedNodes, maxVariableId); moveToBlock(selectedNodes, newBody, accessedAfter, readInside, fRewrite); getListRewrite(selectedNodes[0], fRewrite).insertAfter(insertedCode, selectedNodes[selectedNodes.length - 1], null); setEndPosition(fRewrite.track(insertedCode)); } return fRewrite; }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/804c9cea1539746d5f655280fc03df9ca3ee97da/SurroundWithRunnableProposal.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWithRunnableProposal.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
432,
3902,
12341,
4170,
12341,
1435,
1216,
30015,
288,
202,
202,
430,
261,
74,
19618,
422,
446,
13,
288,
25083,
202,
3406,
8526,
3170,
3205,
33,
284,
7416,
3205,
31,
1082,
202,
9053,
3364,
33,
4506,
334,
5621,
25083,
202,
74,
19618,
33,
432,
3902,
12341,
18,
2640,
12,
689,
1769,
1082,
202,
1768,
394,
2250,
33,
3364,
18,
2704,
1768,
5621,
1082,
202,
3406,
9564,
1085,
33,
2103,
1085,
28070,
12,
2704,
2250,
16,
284,
19618,
1769,
25083,
202,
2250,
6094,
16307,
2250,
6094,
33,
261,
2250,
6094,
13,
9053,
3205,
18,
588,
3054,
12,
8109,
3205,
63,
20,
6487,
5652,
6094,
18,
1106,
1769,
1082,
202,
474,
943,
3092,
548,
33,
3566,
3092,
1016,
18,
16092,
12,
1331,
10910,
2250,
6094,
13,
397,
404,
31,
25083,
202,
682,
15539,
4436,
33,
13522,
21408,
27762,
4436,
12,
8109,
3205,
63,
8109,
3205,
18,
2469,
300,
404,
6487,
943,
3092,
548,
1769,
1082,
202,
682,
855,
18619,
33,
13522,
6094,
7483,
18619,
12,
8109,
3205,
16,
943,
3092,
548,
1769,
25083,
202,
8501,
774,
1768,
12,
8109,
3205,
16,
394,
2250,
16,
15539,
4436,
16,
855,
18619,
16,
284,
19618,
1769,
25083,
202,
588,
682,
19618,
12,
8109,
3205,
63,
20,
6487,
284,
19618,
2934,
6387,
4436,
12,
6387,
329,
1085,
16,
3170,
3205,
63,
8109,
3205,
18,
2469,
300,
404,
6487,
446,
1769,
25083,
202,
542,
30037,
12,
74,
19618,
18,
4101,
12,
6387,
329,
1085,
10019,
202,
202,
97,
202,
202,
2463,
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,
432,
3902,
12341,
4170,
12341,
1435,
1216,
30015,
288,
202,
202,
430,
261,
74,
19618,
422,
446,
13,
288,
25083,
202,
3406,
8526,
3170,
3205,
33,
284,
7416,
3205,
31,
1082,
202,
9053,
3364,
33,
4506,
334,
5621,
25083,
202,
74,
19618,
33,
432,
3902,
12341,
18,
2640,
12,
689,
1769,
1082,
202,
1768,
394,
2250,
33,
3364,
18,
2704,
1768,
5621,
1082,
202,
3406,
9564,
1085,
33,
2103,
1085,
28070,
12,
2704,
2250,
16,
284,
19618,
1769,
25083,
202,
2250,
6094,
16307,
2250,
6094,
33,
261,
2250,
6094,
13,
9053,
3205,
18,
588,
3054,
12,
8109,
3205,
63,
20,
6487,
5652,
6094,
18,
1106,
1769,
1082,
202,
474,
943,
3092,
548,
33,
3566,
3092,
1016,
2
] |
mLogger.info("getRecentPosts() Called ===========[ SUPPORTED ]====="); mLogger.info(" Appkey: " + appkey); mLogger.info(" BlogId: " + blogid); mLogger.info(" UserId: " + userid); mLogger.info(" Number: " + numposts);
|
mLogger.debug("getRecentPosts() Called ===========[ SUPPORTED ]====="); mLogger.debug(" Appkey: " + appkey); mLogger.debug(" BlogId: " + blogid); mLogger.debug(" UserId: " + userid); mLogger.debug(" Number: " + numposts);
|
public Object getRecentPosts(String appkey, String blogid, String userid, String password, int numposts) throws Exception { mLogger.info("getRecentPosts() Called ===========[ SUPPORTED ]====="); mLogger.info(" Appkey: " + appkey); mLogger.info(" BlogId: " + blogid); mLogger.info(" UserId: " + userid); mLogger.info(" Number: " + numposts); WebsiteData website = validate(blogid, userid,password); try { Vector results = new Vector(); Roller roller = RollerFactory.getRoller(); WeblogManager weblogMgr = roller.getWeblogManager(); if (website != null) { Map entries = weblogMgr.getWeblogEntryObjectMap( website, // userName null, // startDate new Date(), // endDate null, // catName null, // status new Integer(numposts)); // maxEntries Iterator iter = entries.values().iterator(); while (iter.hasNext()) { ArrayList list = (ArrayList) iter.next(); Iterator i = list.iterator(); while (i.hasNext()) { WeblogEntryData entry = (WeblogEntryData) i.next(); Hashtable result = new Hashtable(); result.put("dateCreated", entry.getPubTime()); result.put("userid", userid); result.put("postid", entry.getId()); result.put("content", entry.getText()); results.add(result); } } } return results; } catch (Exception e) { String msg = "ERROR in BlooggerAPIHander.getRecentPosts"; mLogger.error(msg,e); throw new XmlRpcException(UNKNOWN_EXCEPTION, msg); } }
|
46431 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46431/8303161b2baeb9ed6394bbe61608f373b4ca9fbf/BloggerAPIHandler.java/clean/src/org/roller/presentation/xmlrpc/BloggerAPIHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
5561,
2998,
24983,
12,
780,
595,
856,
16,
514,
10700,
350,
16,
514,
6709,
16,
19694,
514,
2201,
16,
509,
818,
11660,
13,
5411,
1216,
1185,
288,
7734,
312,
3328,
18,
1376,
2932,
588,
17076,
24983,
1435,
11782,
422,
1432,
22850,
29556,
308,
894,
1546,
1769,
3639,
312,
3328,
18,
1376,
2932,
377,
4677,
856,
30,
315,
397,
595,
856,
1769,
3639,
312,
3328,
18,
1376,
2932,
377,
25464,
548,
30,
315,
397,
10700,
350,
1769,
3639,
312,
3328,
18,
1376,
2932,
377,
2177,
548,
30,
315,
397,
6709,
1769,
3639,
312,
3328,
18,
1376,
2932,
377,
3588,
30,
315,
397,
818,
11660,
1769,
7734,
1660,
12343,
751,
12504,
273,
1954,
12,
11439,
350,
16,
6709,
16,
3664,
1769,
7734,
775,
288,
5411,
5589,
1686,
273,
394,
5589,
5621,
13491,
11714,
749,
10643,
749,
273,
11714,
749,
1733,
18,
588,
4984,
749,
5621,
5411,
2999,
1330,
1318,
3311,
1330,
9455,
273,
10643,
749,
18,
588,
4079,
1330,
1318,
5621,
5411,
309,
261,
21868,
480,
446,
13,
288,
7734,
1635,
3222,
273,
3311,
1330,
9455,
18,
588,
4079,
1330,
1622,
921,
863,
12,
13491,
12504,
16,
7734,
368,
12065,
13491,
446,
16,
10402,
368,
12572,
13491,
394,
2167,
9334,
2398,
368,
13202,
13491,
446,
16,
10402,
368,
6573,
461,
13491,
446,
16,
1377,
368,
1267,
13491,
394,
2144,
12,
2107,
11660,
10019,
368,
943,
5400,
27573,
4498,
1400,
273,
3222,
18,
2372,
7675,
9838,
5621,
7734,
1323,
261,
2165,
18,
5332,
2134,
10756,
288,
10792,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
5561,
2998,
24983,
12,
780,
595,
856,
16,
514,
10700,
350,
16,
514,
6709,
16,
19694,
514,
2201,
16,
509,
818,
11660,
13,
5411,
1216,
1185,
288,
7734,
312,
3328,
18,
1376,
2932,
588,
17076,
24983,
1435,
11782,
422,
1432,
22850,
29556,
308,
894,
1546,
1769,
3639,
312,
3328,
18,
1376,
2932,
377,
4677,
856,
30,
315,
397,
595,
856,
1769,
3639,
312,
3328,
18,
1376,
2932,
377,
25464,
548,
30,
315,
397,
10700,
350,
1769,
3639,
312,
3328,
18,
1376,
2932,
377,
2177,
548,
30,
315,
397,
6709,
1769,
3639,
312,
3328,
18,
1376,
2932,
377,
3588,
30,
315,
397,
818,
11660,
1769,
7734,
1660,
12343,
751,
12504,
273,
1954,
12,
11439,
350,
16,
6709,
2
] |
app.destroy();
|
if (app != null) app.destroy();
|
private void doState(int nstate) throws ClassNotFoundException, IllegalAccessException, InstantiationException { switch (nstate) { case CLASS_LOADED: appletClass = loader.loadClass( className ); requestState(INSTANCIATED); break; case INSTANCIATED: { Object object = null; try { object = appletClass.newInstance(); app = (Applet) object; } catch ( ClassCastException e ) { if ( object != null && object instanceof java.awt.Component) { app = new Applet(); app.setLayout(new BorderLayout()); app.add( (Component) object, BorderLayout.CENTER); } else throw e; } acc = new AccessControlContext(new ProtectionDomain[] {app.getClass().getProtectionDomain()}); requestState(INITIALIZED); break; } case INITIALIZED: app.setStub( me ); app.setVisible(false); panel.setApplet( app ); if (appletSize.getWidth() > 0) app.setBounds( 0, 0, appletSize.width, appletSize.height ); else app.setBounds( 0, 0, panel.getSize().width, panel.getSize().height ); app.init(); loader.removeStatusListener(panel); app.setVisible(true); // stop the loading... animation panel.stopAnimation(); break; case STARTED: active = true; app.start(); frame.validate(); app.repaint(); break; case STOPPED: active = false; app.stop(); if (Main.java_version > 1.399) { // kill the windowClosing listener(s) WindowListener[] l = frame.getWindowListeners(); for (int i = 0; l != null && i < l.length; i++) frame.removeWindowListener(l[i]); } frame.setVisible(false); break; case DESTROYED: app.destroy(); frame.dispose(); app = null; requestState(TERMINATE); break; default: return; } }
|
45545 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45545/b7b0a79fe293daff7910cee8dcd46cafd388dfce/KJASAppletStub.java/clean/khtml/java/org/kde/kjas/server/KJASAppletStub.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
741,
1119,
12,
474,
290,
2019,
13,
1216,
10403,
16,
11900,
16,
19248,
288,
5411,
1620,
261,
82,
2019,
13,
288,
7734,
648,
7383,
67,
31408,
30,
10792,
21853,
797,
273,
4088,
18,
945,
797,
12,
2658,
11272,
10792,
590,
1119,
12,
19784,
1258,
7266,
6344,
1769,
10792,
898,
31,
7734,
648,
22880,
1258,
7266,
6344,
30,
288,
10792,
1033,
733,
273,
446,
31,
10792,
775,
288,
13491,
733,
273,
21853,
797,
18,
2704,
1442,
5621,
13491,
595,
273,
261,
23696,
13,
733,
31,
10792,
289,
10792,
1044,
261,
24034,
425,
262,
288,
13491,
309,
261,
733,
480,
446,
597,
733,
1276,
2252,
18,
2219,
88,
18,
1841,
13,
288,
18701,
595,
273,
394,
1716,
1469,
5621,
18701,
595,
18,
542,
3744,
12,
2704,
30814,
10663,
18701,
595,
18,
1289,
12,
261,
1841,
13,
733,
16,
30814,
18,
19835,
1769,
13491,
289,
469,
18701,
604,
425,
31,
10792,
289,
10792,
4078,
273,
394,
24349,
1042,
12,
2704,
1186,
9694,
3748,
8526,
288,
2910,
18,
588,
797,
7675,
588,
16938,
3748,
17767,
1769,
10792,
590,
1119,
12,
12919,
25991,
1769,
10792,
898,
31,
7734,
289,
7734,
648,
12584,
25991,
30,
10792,
595,
18,
542,
11974,
12,
1791,
11272,
10792,
595,
18,
542,
6207,
12,
5743,
1769,
10792,
6594,
18,
542,
23696,
12,
595,
11272,
10792,
309,
261,
438,
1469,
1225,
18,
588,
2384,
1435,
405,
374,
13,
13491,
595,
18,
542,
5694,
12,
374,
16,
374,
16,
21853,
1225,
18,
2819,
16,
21853,
1225,
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,
540,
3238,
918,
741,
1119,
12,
474,
290,
2019,
13,
1216,
10403,
16,
11900,
16,
19248,
288,
5411,
1620,
261,
82,
2019,
13,
288,
7734,
648,
7383,
67,
31408,
30,
10792,
21853,
797,
273,
4088,
18,
945,
797,
12,
2658,
11272,
10792,
590,
1119,
12,
19784,
1258,
7266,
6344,
1769,
10792,
898,
31,
7734,
648,
22880,
1258,
7266,
6344,
30,
288,
10792,
1033,
733,
273,
446,
31,
10792,
775,
288,
13491,
733,
273,
21853,
797,
18,
2704,
1442,
5621,
13491,
595,
273,
261,
23696,
13,
733,
31,
10792,
289,
10792,
1044,
261,
24034,
425,
262,
288,
13491,
309,
261,
733,
480,
446,
597,
733,
1276,
2252,
18,
2219,
88,
18,
1841,
13,
288,
18701,
595,
273,
394,
1716,
1469,
2
] |
includeModule(getRuntime().getClasses().getEnumerableModule());
|
includeModule(getRuntime().getModule("Enumerable"));
|
protected void initializeClass() { includeModule(getRuntime().getClasses().getEnumerableModule()); // TODO: Implement tty? and isatty. We have no real capability to // determine this from java, but if we could set tty status, then // we could invoke jruby differently to allow stdin to return true // on this. This would allow things like cgi.rb to work properly. defineSingletonMethod("foreach", Arity.optional()); defineSingletonMethod("read", Arity.optional()); defineSingletonMethod("readlines", Arity.optional()); defineSingletonMethod("popen", Arity.optional()); defineMethod("<<", Arity.singleArgument(), "addString"); defineMethod("binmode", Arity.noArguments()); defineMethod("clone", Arity.noArguments(), "clone_IO"); defineMethod("close", Arity.noArguments()); defineMethod("closed?", Arity.noArguments(), "closed"); defineMethod("each", Arity.optional(), "each_line"); defineMethod("each_byte", Arity.noArguments()); defineMethod("each_line", Arity.optional()); defineMethod("eof", Arity.noArguments()); defineAlias("eof?", "eof"); defineMethod("fileno", Arity.noArguments()); defineMethod("flush", Arity.noArguments()); defineMethod("fsync", Arity.noArguments()); defineMethod("getc", Arity.noArguments()); defineMethod("gets", Arity.optional()); defineMethod("initialize", Arity.optional()); defineMethod("lineno", Arity.noArguments()); defineMethod("lineno=", Arity.singleArgument(), "lineno_set"); defineMethod("pid", Arity.noArguments()); defineMethod("pos", Arity.noArguments()); defineMethod("pos=", Arity.singleArgument(), "pos_set"); defineMethod("print", Arity.optional()); defineMethod("printf", Arity.optional()); defineMethod("putc", Arity.singleArgument()); defineMethod("puts", Arity.optional()); defineMethod("read", Arity.optional()); defineMethod("readchar", Arity.noArguments()); defineMethod("readline", Arity.optional()); defineMethod("readlines", Arity.optional()); defineMethod("reopen", Arity.optional()); defineMethod("rewind", Arity.noArguments()); defineMethod("seek", Arity.optional()); defineMethod("sync", Arity.noArguments()); defineMethod("sync=", Arity.singleArgument(), "sync_set"); defineMethod("sysread", Arity.singleArgument()); defineMethod("syswrite", Arity.singleArgument()); defineAlias("tell", "pos"); defineAlias("to_i", "fileno"); defineMethod("to_io", Arity.noArguments()); defineMethod("ungetc", Arity.singleArgument()); defineMethod("write", Arity.singleArgument()); // Constants for seek setConstant("SEEK_SET", getRuntime().newFixnum(IOHandler.SEEK_SET)); setConstant("SEEK_CUR", getRuntime().newFixnum(IOHandler.SEEK_CUR)); setConstant("SEEK_END", getRuntime().newFixnum(IOHandler.SEEK_END)); }
|
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/ca6b16e996ea9af83ce593594b9c69b9364a9924/IOMetaClass.java/clean/src/org/jruby/runtime/builtin/meta/IOMetaClass.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4046,
797,
1435,
288,
3639,
2341,
3120,
12,
588,
5576,
7675,
588,
3120,
2932,
3572,
25121,
7923,
1769,
3639,
368,
2660,
30,
10886,
21520,
35,
471,
353,
270,
4098,
18,
225,
1660,
1240,
1158,
2863,
12593,
358,
540,
368,
4199,
333,
628,
2252,
16,
1496,
309,
732,
3377,
444,
21520,
1267,
16,
1508,
3639,
368,
732,
3377,
4356,
525,
27768,
23621,
358,
1699,
8801,
358,
327,
638,
3639,
368,
603,
333,
18,
225,
1220,
4102,
1699,
9198,
3007,
276,
10052,
18,
6731,
358,
1440,
8214,
18,
3639,
4426,
19571,
1305,
2932,
25055,
3113,
1201,
560,
18,
10444,
10663,
202,
202,
11255,
19571,
1305,
2932,
896,
3113,
1201,
560,
18,
10444,
10663,
3639,
4426,
19571,
1305,
2932,
896,
3548,
3113,
1201,
560,
18,
10444,
10663,
3639,
4426,
19571,
1305,
2932,
84,
3190,
3113,
1201,
560,
18,
10444,
10663,
3639,
4426,
1305,
2932,
17685,
3113,
1201,
560,
18,
7526,
1379,
9334,
315,
1289,
780,
8863,
202,
202,
11255,
1305,
2932,
4757,
3188,
3113,
1201,
560,
18,
2135,
4628,
10663,
3639,
4426,
1305,
2932,
14056,
3113,
1201,
560,
18,
2135,
4628,
9334,
315,
14056,
67,
4294,
8863,
3639,
4426,
1305,
2932,
4412,
3113,
1201,
560,
18,
2135,
4628,
10663,
3639,
4426,
1305,
2932,
12204,
35,
3113,
1201,
560,
18,
2135,
4628,
9334,
315,
12204,
8863,
3639,
4426,
1305,
2932,
13798,
3113,
1201,
560,
18,
10444,
9334,
315,
13798,
67,
1369,
8863,
3639,
4426,
1305,
2932,
13798,
67,
7229,
3113,
1201,
560,
18,
2135,
4628,
10663,
3639,
4426,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4046,
797,
1435,
288,
3639,
2341,
3120,
12,
588,
5576,
7675,
588,
3120,
2932,
3572,
25121,
7923,
1769,
3639,
368,
2660,
30,
10886,
21520,
35,
471,
353,
270,
4098,
18,
225,
1660,
1240,
1158,
2863,
12593,
358,
540,
368,
4199,
333,
628,
2252,
16,
1496,
309,
732,
3377,
444,
21520,
1267,
16,
1508,
3639,
368,
732,
3377,
4356,
525,
27768,
23621,
358,
1699,
8801,
358,
327,
638,
3639,
368,
603,
333,
18,
225,
1220,
4102,
1699,
9198,
3007,
276,
10052,
18,
6731,
358,
1440,
8214,
18,
3639,
4426,
19571,
1305,
2932,
25055,
3113,
1201,
560,
18,
10444,
10663,
202,
202,
11255,
19571,
1305,
2932,
896,
3113,
1201,
560,
18,
10444,
10663,
3639,
4426,
19571,
1305,
2932,
2
] |
this.trackerThread = new Thread( this );
|
this.trackerThread = new Thread( this, "vrpn TrackerRemote" );
|
public TrackerRemote( String name, String localInLogfileName, String localOutLogfileName, String remoteInLogfileName, String remoteOutLogfileName ) throws InstantiationException { try { synchronized( downInVrpnLock ) { this.init( name, localInLogfileName, localOutLogfileName, remoteInLogfileName, remoteOutLogfileName ); } } catch( java.lang.UnsatisfiedLinkError e ) { System.out.println( "Error initializing remote tracker " + name + "." ); System.out.println( " -- Unable to find the right functions. This may be a version problem." ); throw new InstantiationException( e.getMessage( ) ); } this.trackerThread = new Thread( this ); this.trackerThread.start( ); }
|
37212 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37212/1365506f71a60451a885e204fe6327636461a9b9/TrackerRemote.java/buggy/java_vrpn/TrackerRemote.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11065,
264,
5169,
12,
514,
508,
16,
514,
1191,
382,
1343,
17812,
16,
514,
1191,
1182,
1343,
17812,
16,
6862,
1082,
225,
514,
2632,
382,
1343,
17812,
16,
514,
2632,
1182,
1343,
17812,
262,
3196,
202,
15069,
19248,
202,
95,
202,
202,
698,
1082,
202,
95,
26924,
202,
22043,
12,
2588,
382,
58,
86,
7449,
2531,
262,
1082,
202,
95,
9506,
202,
2211,
18,
2738,
12,
508,
16,
1191,
382,
1343,
17812,
16,
1191,
1182,
1343,
17812,
16,
15106,
282,
2632,
382,
1343,
17812,
16,
2632,
1182,
1343,
17812,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
14683,
12,
2252,
18,
4936,
18,
984,
12973,
21501,
2098,
668,
425,
262,
202,
202,
95,
26924,
202,
3163,
18,
659,
18,
8222,
12,
315,
668,
22584,
2632,
9745,
315,
397,
508,
397,
4585,
11272,
1082,
202,
3163,
18,
659,
18,
8222,
12,
315,
1493,
18640,
358,
1104,
326,
2145,
4186,
18,
225,
1220,
2026,
506,
279,
1177,
6199,
1199,
11272,
1082,
202,
12849,
394,
19248,
12,
425,
18,
24906,
12,
262,
11272,
202,
202,
97,
9506,
202,
2211,
18,
16543,
3830,
273,
394,
4884,
12,
333,
11272,
202,
202,
2211,
18,
16543,
3830,
18,
1937,
12,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11065,
264,
5169,
12,
514,
508,
16,
514,
1191,
382,
1343,
17812,
16,
514,
1191,
1182,
1343,
17812,
16,
6862,
1082,
225,
514,
2632,
382,
1343,
17812,
16,
514,
2632,
1182,
1343,
17812,
262,
3196,
202,
15069,
19248,
202,
95,
202,
202,
698,
1082,
202,
95,
26924,
202,
22043,
12,
2588,
382,
58,
86,
7449,
2531,
262,
1082,
202,
95,
9506,
202,
2211,
18,
2738,
12,
508,
16,
1191,
382,
1343,
17812,
16,
1191,
1182,
1343,
17812,
16,
15106,
282,
2632,
382,
1343,
17812,
16,
2632,
1182,
1343,
17812,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
14683,
12,
2252,
18,
4936,
18,
984,
12973,
21501,
2098,
668,
425,
262,
202,
202,
95,
26924,
202,
2
] |
false, null, null );
|
false );
|
private void paintMarker( GC gc, Marker currentMarker, Location location ) { // Paint an icon sample, not a real icon in the Fill Marker renderMarker = currentMarker; if ( currentMarker.getType( ) == MarkerType.ICON_LITERAL ) { renderMarker = (Marker) EcoreUtil.copy( currentMarker ); renderMarker.setFill( ImageImpl.create( UIHelper.getURL( "icons/obj16/marker_icon.gif" ).toString( ) ) ); //$NON-NLS-1$ } idrSWT.setProperty( IDeviceRenderer.GRAPHICS_CONTEXT, gc ); final MarkerRenderer mr = new MarkerRenderer( idrSWT, StructureSource.createUnknown( null ), location, LineAttributesImpl.create( getMarker( ).isVisible( ) ? ColorDefinitionImpl.BLUE( ) : ColorDefinitionImpl.GREY( ), LineStyle.SOLID_LITERAL, 1 ), getMarker( ).isVisible( ) ? ColorDefinitionImpl.create( 80, 168, 218 ) : ColorDefinitionImpl.GREY( ), renderMarker, 5, null, false, false, null, null ); try { mr.draw( idrSWT ); } catch ( ChartException ex ) { WizardBase.displayException( ex ); } }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/c59ddf4bd6cc7940120ca75b10b763bfa95fa859/MarkerEditorComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/MarkerEditorComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
12574,
7078,
12,
15085,
8859,
16,
14742,
783,
7078,
16,
7050,
2117,
262,
202,
95,
202,
202,
759,
30001,
392,
4126,
3296,
16,
486,
279,
2863,
4126,
316,
326,
14192,
202,
202,
7078,
1743,
7078,
273,
783,
7078,
31,
202,
202,
430,
261,
783,
7078,
18,
588,
559,
12,
262,
422,
14742,
559,
18,
21745,
67,
23225,
262,
202,
202,
95,
1082,
202,
5902,
7078,
273,
261,
7078,
13,
512,
3644,
1304,
18,
3530,
12,
783,
7078,
11272,
1082,
202,
5902,
7078,
18,
542,
8026,
12,
3421,
2828,
18,
2640,
12,
6484,
2276,
18,
588,
1785,
12,
315,
14516,
19,
2603,
2313,
19,
11145,
67,
3950,
18,
13905,
6,
262,
18,
10492,
12,
262,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
350,
86,
55,
8588,
18,
542,
1396,
12,
467,
3654,
6747,
18,
24372,
28919,
67,
13181,
16,
8859,
11272,
202,
202,
6385,
14742,
6747,
9752,
273,
394,
14742,
6747,
12,
612,
86,
55,
8588,
16,
9506,
202,
6999,
1830,
18,
2640,
4874,
12,
446,
262,
16,
9506,
202,
3562,
16,
9506,
202,
1670,
2498,
2828,
18,
2640,
12,
23232,
264,
12,
262,
18,
291,
6207,
12,
262,
25083,
202,
35,
5563,
1852,
2828,
18,
14618,
1821,
12,
262,
25083,
202,
30,
5563,
1852,
2828,
18,
43,
862,
61,
12,
262,
16,
25083,
202,
1670,
2885,
18,
19815,
734,
67,
23225,
16,
25083,
202,
21,
262,
16,
9506,
202,
588,
7078,
12,
262,
18,
291,
6207,
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,
12574,
7078,
12,
15085,
8859,
16,
14742,
783,
7078,
16,
7050,
2117,
262,
202,
95,
202,
202,
759,
30001,
392,
4126,
3296,
16,
486,
279,
2863,
4126,
316,
326,
14192,
202,
202,
7078,
1743,
7078,
273,
783,
7078,
31,
202,
202,
430,
261,
783,
7078,
18,
588,
559,
12,
262,
422,
14742,
559,
18,
21745,
67,
23225,
262,
202,
202,
95,
1082,
202,
5902,
7078,
273,
261,
7078,
13,
512,
3644,
1304,
18,
3530,
12,
783,
7078,
11272,
1082,
202,
5902,
7078,
18,
542,
8026,
12,
3421,
2828,
18,
2640,
12,
6484,
2276,
18,
588,
1785,
12,
315,
14516,
19,
2603,
2313,
19,
11145,
67,
3950,
18,
13905,
6,
262,
18,
10492,
12,
262,
262,
2
] |
throws SQLException {
|
throws SQLException {
|
public int deleteFiredTrigger(Connection conn, String entryId) throws SQLException { PreparedStatement ps = null; try { ps = conn.prepareStatement(rtp(DELETE_FIRED_TRIGGER)); ps.setString(1, entryId); return ps.executeUpdate(); } finally { closeStatement(ps); } }
|
55677 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55677/cf7f5f77ce5bb6364145230d302b86f1cdadea88/StdJDBCDelegate.java/buggy/src/java/org/quartz/impl/jdbcjobstore/StdJDBCDelegate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1430,
42,
2921,
6518,
12,
1952,
1487,
16,
514,
1241,
548,
13,
5411,
1216,
6483,
288,
3639,
16913,
4250,
273,
446,
31,
3639,
775,
288,
5411,
4250,
273,
1487,
18,
9366,
3406,
12,
3797,
84,
12,
6460,
67,
1653,
5879,
67,
6566,
27399,
10019,
5411,
4250,
18,
542,
780,
12,
21,
16,
1241,
548,
1769,
5411,
327,
4250,
18,
8837,
1891,
5621,
3639,
289,
3095,
288,
5411,
1746,
3406,
12,
1121,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1430,
42,
2921,
6518,
12,
1952,
1487,
16,
514,
1241,
548,
13,
5411,
1216,
6483,
288,
3639,
16913,
4250,
273,
446,
31,
3639,
775,
288,
5411,
4250,
273,
1487,
18,
9366,
3406,
12,
3797,
84,
12,
6460,
67,
1653,
5879,
67,
6566,
27399,
10019,
5411,
4250,
18,
542,
780,
12,
21,
16,
1241,
548,
1769,
5411,
327,
4250,
18,
8837,
1891,
5621,
3639,
289,
3095,
288,
5411,
1746,
3406,
12,
1121,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
{
|
{
|
public void logic() { Log4J.startMethod(logger, "logic"); if(aiProfiles.containsKey("heal")) { String[] healing=aiProfiles.get("heal").split(","); int amount=Integer.parseInt(healing[0]); int frequency=Integer.parseInt(healing[1]); if(rp.getTurn()%frequency==0 && getHP()!=getBaseHP()) { if(getHP()+amount<getBaseHP()) { setHP(getHP()+amount); } else { setHP(getBaseHP()); } } } if (getNearestPlayer(30) == null) // if there is no player near and none will see us... { // sleep so we don't waste cpu resources stopAttack(); stop(); if (Debug.CREATURES_DEBUG_SERVER) put("debug","sleep"); aiState = AiState.SLEEP; world.modify(this); return; } // this will keep track of the logic so the client can display it StringBuilder debug = new StringBuilder(100); // are we attacked and we don't attack ourself? if(isAttacked() && target == null) { // Yep, we're attacked clearPath(); // hit the attacker, but prefer players target = getNearestPlayer(8); if (target == null) { target = this.getAttackSource(0); } if (Debug.CREATURES_DEBUG_SERVER) debug.append("attacked;").append(target.getID().getObjectID()).append('|'); logger.debug("Creature("+get("type")+") has been attacked by "+target.get("type")); } else if(target==null || (!target.get("zoneid").equals(get("zoneid")) && world.has(target.getID())) || !world.has(target.getID())) { // no target or current target left the zone (or is dead) if(isAttacking()) { // stop the attack... if (Debug.CREATURES_DEBUG_SERVER) debug.append("cancelattack|"); target=null; clearPath(); stopAttack(); waitRounds = 0; } // ...and find another target target = getNearestPlayer(8); if(target!=null) { logger.debug("Creature("+get("type")+") gets a new target."); if (Debug.CREATURES_DEBUG_SERVER) debug.append("newtarget;").append(target.getID().getObjectID()).append('|'); } } // now we check our current target if (target == null) { // No target, so patrol along if (aiState != AiState.PATROL || !hasPath()) { // Create a patrolpath logger.debug("Creating Path for this entity"); List<Path.Node> nodes = new LinkedList<Path.Node>(); int size = patrolPath.size(); long time = System.nanoTime(); for(int i=0; i<size;i++) { Path.Node actual=patrolPath.get(i); Path.Node next=patrolPath.get((i+1)%size); nodes.addAll(Path.searchPath(this,actual.x+getx(),actual.y+gety(),new Rectangle2D.Double(next.x+getx(),next.y+gety(),1.0,1.0))); } long time2 = System.nanoTime()-time; setPath(nodes,true); if (Debug.CREATURES_DEBUG_SERVER) debug.append("generatepatrolpath;").append(time2).append("|"); } logger.debug("Following path"); if(hasPath()) Path.followPath(this,getSpeed()); aiState = AiState.PATROL; if (Debug.CREATURES_DEBUG_SERVER) debug.append("patrol;").append(pathToString()).append('|'); } else if(distance(target)>18*18) { // target out of reach logger.debug("Attacker is too far. Creature stops attack"); target=null; clearPath(); stopAttack(); stop(); if (Debug.CREATURES_DEBUG_SERVER) debug.append("outofreachstopped|"); } else if(!nextto(target,0.25) && !target.stopped()) { // target not near but in reach and is moving logger.debug("Moving to target. Searching new path"); clearPath(); setMovement(target,0,0, 20.0); moveto(getSpeed()); waitRounds = 0; // clear waitrounds aiState = AiState.APPROACHING_MOVING_TARGET; // update ai state if (Debug.CREATURES_DEBUG_SERVER) { List path = getPath(); if (path != null) { debug.append("targetmoved;").append(pathToString()).append("|"); } } } else if(nextto(target,0.25)) { if (Debug.CREATURES_DEBUG_SERVER) debug.append("attacking|"); // target is near logger.debug("Next to target. Creature stops and attacks"); stop(); attack(target); faceto(target); aiState = AiState.ATTACKING; } else { // target in reach and not moving logger.debug("Moving to target. Creature attacks"); if (Debug.CREATURES_DEBUG_SERVER) debug.append("movetotarget"); // our current Path is blocked...mostly by the target or another attacker if(collided()) { if (Debug.CREATURES_DEBUG_SERVER) debug.append(";blocked"); // invalidate the path and stop clearPath(); stop(); // wait some rounds so the path can be cleared by other creatures // (either they move away or die) waitRounds = WAIT_ROUNDS_BECAUSE_TARGET_IS_BLOCKED; } aiState = AiState.APPROACHING_STOPPED_TARGET; attack(target); faceto(target); // be sure to let the blocking creatures pass before trying to find a // new path if (waitRounds > 0) { if (Debug.CREATURES_DEBUG_SERVER) debug.append(";waiting"); waitRounds--; // HACK: remove collision flag (we're not moving after all) collides(false); clearPath(); } else { // Are we still patrol'ing? if (isPathLoop() || aiState == AiState.PATROL) { // yep, so clear the patrol path clearPath(); } setMovement(target,0,0, 20.0); moveto(getSpeed()); if (Debug.CREATURES_DEBUG_SERVER) debug.append(";newpath"); if (getPath() == null || getPath().size() == 0) // If creature is blocked choose a new target { if (Debug.CREATURES_DEBUG_SERVER) debug.append(";blocked"); logger.debug("Blocked. Choosing a new target."); target=null; clearPath(); stopAttack(); stop(); waitRounds = WAIT_ROUNDS_BECAUSE_TARGET_IS_BLOCKED; } else { if (Debug.CREATURES_DEBUG_SERVER) debug.append(';').append(getPath()); } } if (Debug.CREATURES_DEBUG_SERVER) debug.append(";dummy|"); } if(!stopped()) { StendhalRPAction.move(this); } if(rp.getTurn()%5==attackTurn && isAttacking()) { StendhalRPAction.attack(this,getAttackTarget()); if( getAttackTarget()!=null && nextto(getAttackTarget(),0.25)) { if(aiProfiles.containsKey("poisonous")) { int roll=Rand.roll1D100(); String[] poison=aiProfiles.get("poisonous").split(","); int prob= Integer.parseInt(poison[0]); String poisonType=poison[1]; if(roll<=prob) { ConsumableItem item=(ConsumableItem)world.getRuleManager().getEntityManager().getItem(poisonType); if(item==null) { logger.error("Creature unable to poisoning with "+poisonType); } else { RPEntity entity=getAttackTarget(); if(entity instanceof Player) { Player player=(Player)entity; if(!player.isPoisoned() && player.poison(item)) { rp.addGameEvent(getName(),"poison",player.getName()); player.setPrivateText("You have been poisoned by a "+getName()); rp.removePlayerText(player); } } } } } } } if(Rand.roll1D100()==1 && noises.size()>0) { // Random sound noises. int pos=Rand.rand(noises.size()); say(noises.get(pos)); } if (Debug.CREATURES_DEBUG_SERVER) put("debug",debug.toString()); world.modify(this); Log4J.finishMethod(logger, "logic"); }
|
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/2fde1e280a947dddab3f2a402a2927ea6b087d81/Creature.java/buggy/src/games/stendhal/server/entity/creature/Creature.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4058,
1435,
377,
288,
377,
1827,
24,
46,
18,
1937,
1305,
12,
4901,
16,
315,
28339,
8863,
565,
309,
12,
10658,
12450,
18,
12298,
653,
2932,
580,
287,
6,
3719,
4202,
288,
4202,
514,
8526,
3904,
287,
310,
33,
10658,
12450,
18,
588,
2932,
580,
287,
20387,
4939,
2932,
16,
8863,
1377,
509,
3844,
33,
4522,
18,
2670,
1702,
12,
580,
287,
310,
63,
20,
19226,
1377,
509,
8670,
33,
4522,
18,
2670,
1702,
12,
580,
287,
310,
63,
21,
19226,
5411,
309,
12,
13832,
18,
588,
15858,
1435,
9,
14092,
631,
20,
597,
336,
2500,
1435,
5,
33,
588,
2171,
2500,
10756,
540,
288,
540,
309,
12,
588,
2500,
1435,
15,
8949,
32,
588,
2171,
2500,
10756,
6647,
288,
6647,
444,
2500,
12,
588,
2500,
1435,
15,
8949,
1769,
10792,
289,
3639,
469,
6647,
288,
6647,
444,
2500,
12,
588,
2171,
2500,
10663,
1850,
289,
3639,
289,
1377,
289,
565,
309,
261,
588,
28031,
12148,
12,
5082,
13,
422,
446,
13,
368,
309,
1915,
353,
1158,
7291,
13378,
471,
6555,
903,
2621,
584,
2777,
3639,
288,
4202,
368,
5329,
1427,
732,
2727,
1404,
341,
14725,
8326,
2703,
1377,
2132,
3075,
484,
5621,
1377,
2132,
5621,
1377,
309,
261,
2829,
18,
5458,
10511,
55,
67,
9394,
67,
4370,
13,
3639,
1378,
2932,
4148,
15937,
19607,
8863,
1377,
14679,
1119,
273,
432,
77,
1119,
18,
55,
900,
10541,
31,
1377,
9117,
18,
17042,
12,
2211,
1769,
1377,
327,
31,
1377,
289,
565,
368,
333,
903,
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,
4058,
1435,
377,
288,
377,
1827,
24,
46,
18,
1937,
1305,
12,
4901,
16,
315,
28339,
8863,
565,
309,
12,
10658,
12450,
18,
12298,
653,
2932,
580,
287,
6,
3719,
4202,
288,
4202,
514,
8526,
3904,
287,
310,
33,
10658,
12450,
18,
588,
2932,
580,
287,
20387,
4939,
2932,
16,
8863,
1377,
509,
3844,
33,
4522,
18,
2670,
1702,
12,
580,
287,
310,
63,
20,
19226,
1377,
509,
8670,
33,
4522,
18,
2670,
1702,
12,
580,
287,
310,
63,
21,
19226,
5411,
309,
12,
13832,
18,
588,
15858,
1435,
9,
14092,
631,
20,
597,
336,
2500,
1435,
5,
33,
588,
2171,
2500,
10756,
540,
288,
540,
309,
12,
588,
2500,
1435,
15,
8949,
32,
588,
2171,
2
] |
public Node convert(ChemObject object, CMLDocument doc, boolean useCmlIdentifiers) throws CDKException, CMLException {
|
public Node convert(ChemObject object, CMLDocument doc, boolean useCmlIdentifiers, boolean setNamespaceUri, boolean schemaInstanceOutput, StringIOSetting instanceLocation) throws CDKException, CMLException {
|
public Node convert(ChemObject object, CMLDocument doc, boolean useCmlIdentifiers) throws CDKException, CMLException { logger.debug("Writing object in CML of type: " + object.getClass().getName()); this.doc=doc; this.useCmlIdentifiers=useCmlIdentifiers; Element test=doc.createElement("test"); if (object instanceof SetOfMolecules) { writeSetOfMolecules((SetOfMolecules)object, test); } else if (object instanceof Molecule) { writeMolecule((Molecule)object, test); } else if (object instanceof Crystal) { writeCrystal((Crystal)object, test); } else if (object instanceof ChemSequence) { writeChemSequence((ChemSequence)object, test); } else if (object instanceof ChemFile) { writeChemFile((ChemFile)object, test); } else if (object instanceof ChemModel) { writeChemModel((ChemModel)object, test); } else if (object instanceof Atom) { writeAtom((Atom)object, test); } else if (object instanceof Bond) { writeBond((Bond)object, test); } else if (object instanceof Reaction) { writeReaction((Reaction)object, test); } else { logger.error("This object type is not supported."); throw new CDKException("This object type is not supported."); } return(test.getFirstChild()); };
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/08504137ceb9454c97ec762545a89d16bac013b1/Convertor.java/clean/src/org/openscience/cdk/libio/cml/Convertor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
1765,
12,
20200,
921,
733,
16,
385,
1495,
2519,
997,
16,
1250,
999,
39,
781,
12745,
16,
1250,
27372,
3006,
16,
1250,
1963,
1442,
1447,
16,
15777,
5568,
791,
2735,
13,
1216,
24570,
16,
385,
1495,
503,
288,
3639,
1194,
18,
4148,
2932,
18835,
733,
316,
385,
1495,
434,
618,
30,
315,
397,
733,
18,
588,
797,
7675,
17994,
10663,
3639,
333,
18,
2434,
33,
2434,
31,
3639,
333,
18,
1202,
39,
781,
12745,
33,
1202,
39,
781,
12745,
31,
3639,
3010,
1842,
33,
2434,
18,
2640,
1046,
2932,
3813,
8863,
3639,
309,
261,
1612,
1276,
1000,
951,
49,
29466,
13,
288,
5411,
1045,
694,
951,
49,
29466,
12443,
694,
951,
49,
29466,
13,
1612,
16,
1842,
1769,
3639,
289,
469,
309,
261,
1612,
1276,
490,
10545,
13,
288,
5411,
1045,
29669,
12443,
29669,
13,
1612,
16,
1842,
1769,
3639,
289,
469,
309,
261,
1612,
1276,
14998,
31365,
13,
288,
5411,
1045,
12893,
31365,
12443,
12893,
31365,
13,
1612,
16,
1842,
1769,
3639,
289,
469,
309,
261,
1612,
1276,
26542,
4021,
13,
288,
5411,
1045,
20200,
4021,
12443,
20200,
4021,
13,
1612,
16,
1842,
1769,
3639,
289,
469,
309,
261,
1612,
1276,
26542,
812,
13,
288,
5411,
1045,
20200,
812,
12443,
20200,
812,
13,
1612,
16,
1842,
1769,
3639,
289,
469,
309,
261,
1612,
1276,
26542,
1488,
13,
288,
5411,
1045,
20200,
1488,
12443,
20200,
1488,
13,
1612,
16,
1842,
1769,
3639,
289,
469,
309,
261,
1612,
1276,
7149,
13,
288,
5411,
1045,
3641,
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,
2029,
1765,
12,
20200,
921,
733,
16,
385,
1495,
2519,
997,
16,
1250,
999,
39,
781,
12745,
16,
1250,
27372,
3006,
16,
1250,
1963,
1442,
1447,
16,
15777,
5568,
791,
2735,
13,
1216,
24570,
16,
385,
1495,
503,
288,
3639,
1194,
18,
4148,
2932,
18835,
733,
316,
385,
1495,
434,
618,
30,
315,
397,
733,
18,
588,
797,
7675,
17994,
10663,
3639,
333,
18,
2434,
33,
2434,
31,
3639,
333,
18,
1202,
39,
781,
12745,
33,
1202,
39,
781,
12745,
31,
3639,
3010,
1842,
33,
2434,
18,
2640,
1046,
2932,
3813,
8863,
3639,
309,
261,
1612,
1276,
1000,
951,
49,
29466,
13,
288,
5411,
1045,
694,
951,
49,
29466,
12443,
694,
951,
49,
29466,
13,
1612,
16,
2
] |
return new Thread(Util.getGlobalThreadGroup(), runnable);
|
Thread new_thread=new Thread(thread_group, runnable); new_thread.setDaemon(true); new_thread.setName("ConnectionTableNIO.Thread"); return new_thread;
|
public Thread newThread(Runnable runnable) { return new Thread(Util.getGlobalThreadGroup(), runnable); }
|
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/820cff78bb2b2f435c6dccaa33a34c8147be04f6/ConnectionTableNIO.java/buggy/src/org/jgroups/blocks/ConnectionTableNIO.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
9079,
1071,
4884,
394,
3830,
12,
20013,
14685,
13,
288,
5375,
4884,
394,
67,
5930,
33,
2704,
4884,
12,
5930,
67,
1655,
16,
14685,
1769,
394,
67,
5930,
18,
542,
12858,
12,
3767,
1769,
394,
67,
5930,
18,
542,
461,
2932,
1952,
1388,
50,
4294,
18,
3830,
8863,
327,
394,
67,
5930,
31,
2868,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
9079,
1071,
4884,
394,
3830,
12,
20013,
14685,
13,
288,
5375,
4884,
394,
67,
5930,
33,
2704,
4884,
12,
5930,
67,
1655,
16,
14685,
1769,
394,
67,
5930,
18,
542,
12858,
12,
3767,
1769,
394,
67,
5930,
18,
542,
461,
2932,
1952,
1388,
50,
4294,
18,
3830,
8863,
327,
394,
67,
5930,
31,
2868,
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
] |
if (a.remaining () != remaining ()) return 1; if (! hasArray () || ! a.hasArray ())
|
int num = Math.min(remaining(), other.remaining()); int pos_this = position(); int pos_other = other.position(); for (int count = 0; count < num; count++)
|
public int compareTo (Object obj) { IntBuffer a = (IntBuffer) obj; if (a.remaining () != remaining ()) return 1; if (! hasArray () || ! a.hasArray ()) { return 1; } int r = remaining (); int i1 = position (); int i2 = a.position (); for (int i = 0; i < r; i++) { int t = (int) (get (i1) - a.get (i2)); if (t != 0) { return (int) t; } } return 0; }
|
1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/a221385cec60e1ba526d292898aeb99953891407/IntBuffer.java/buggy/libjava/java/nio/IntBuffer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
9292,
261,
921,
1081,
13,
225,
288,
565,
3094,
1892,
279,
273,
261,
1702,
1892,
13,
1081,
31,
565,
309,
261,
69,
18,
17956,
1832,
480,
4463,
1832,
13,
1377,
327,
404,
31,
565,
309,
16051,
711,
1076,
1832,
747,
3639,
401,
279,
18,
5332,
1076,
1832,
13,
1377,
288,
3639,
327,
404,
31,
1377,
289,
565,
509,
436,
273,
4463,
261,
1769,
565,
509,
277,
21,
273,
1754,
261,
1769,
565,
509,
277,
22,
273,
279,
18,
3276,
261,
1769,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
436,
31,
277,
27245,
1377,
288,
3639,
509,
268,
273,
261,
474,
13,
261,
588,
261,
77,
21,
13,
300,
279,
18,
588,
261,
77,
22,
10019,
3639,
309,
261,
88,
480,
374,
13,
1850,
288,
5411,
327,
261,
474,
13,
268,
31,
1850,
289,
1377,
289,
565,
327,
374,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
9292,
261,
921,
1081,
13,
225,
288,
565,
3094,
1892,
279,
273,
261,
1702,
1892,
13,
1081,
31,
565,
309,
261,
69,
18,
17956,
1832,
480,
4463,
1832,
13,
1377,
327,
404,
31,
565,
309,
16051,
711,
1076,
1832,
747,
3639,
401,
279,
18,
5332,
1076,
1832,
13,
1377,
288,
3639,
327,
404,
31,
1377,
289,
565,
509,
436,
273,
4463,
261,
1769,
565,
509,
277,
21,
273,
1754,
261,
1769,
565,
509,
277,
22,
273,
279,
18,
3276,
261,
1769,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
436,
31,
277,
27245,
1377,
288,
3639,
509,
268,
273,
261,
474,
13,
261,
588,
261,
77,
21,
13,
300,
279,
18,
588,
261,
77,
2
] |
if (yy_currentPos_l < yy_endRead_l) yy_input = yy_buffer_l[yy_currentPos_l++]; else if (yy_atEOF) { yy_input = YYEOF;
|
if (yyFlexCurrentPosL < yyFlexEndReadL) yyFlexInput = yyFlexBufferL[yyFlexCurrentPosL++]; else if (yyFlexAtEOF) { yyFlexInput = YYEOF;
|
public Symbol next_token() throws java.io.IOException { int yy_input; int yy_action; int [] yytrans_l = yytrans; int [] yy_rowMap_l = yy_rowMap; byte [] yy_attr_l = YY_ATTRIBUTE; int yy_pushbackPos_l = yy_pushbackPos = -1; boolean yy_was_pushback; while (true) { // cached fields: int yy_currentPos_l; int yy_startRead_l; int yy_markedPos_l = yy_markedPos; int yy_endRead_l = yy_endRead; char [] yy_buffer_l = yy_buffer; char [] yycmap_l = yycmap; boolean yy_r = false; for (yy_currentPos_l = yy_startRead; yy_currentPos_l < yy_markedPos_l; yy_currentPos_l++) { switch (yy_buffer_l[yy_currentPos_l]) { case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yyline++; yycolumn = 0; yy_r = false; break; case '\r': yyline++; yycolumn = 0; yy_r = true; break; case '\n': if (yy_r) yy_r = false; else { yyline++; yycolumn = 0; } break; default: yy_r = false; yycolumn++; } } if (yy_r) { // peek one character ahead if it is \n (if we have counted one line too much) boolean yy_peek; if (yy_markedPos_l < yy_endRead_l) yy_peek = yy_buffer_l[yy_markedPos_l] == '\n'; else if (yy_atEOF) yy_peek = false; else { boolean eof = yy_refill(); yy_markedPos_l = yy_markedPos; yy_buffer_l = yy_buffer; if (eof) yy_peek = false; else yy_peek = yy_buffer_l[yy_markedPos_l] == '\n'; } if (yy_peek) yyline--; } if (yy_markedPos_l > yy_startRead) { switch (yy_buffer_l[yy_markedPos_l-1]) { case '\n': case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yy_atBOL = true; break; case '\r': if (yy_markedPos_l < yy_endRead_l) yy_atBOL = yy_buffer_l[yy_markedPos_l] != '\n'; else if (yy_atEOF) yy_atBOL = false; else { boolean eof = yy_refill(); yy_markedPos_l = yy_markedPos; yy_buffer_l = yy_buffer; if (eof) yy_atBOL = false; else yy_atBOL = yy_buffer_l[yy_markedPos_l] != '\n'; } break; default: yy_atBOL = false; } } yy_action = -1; yy_startRead_l = yy_currentPos_l = yy_currentPos = yy_startRead = yy_markedPos_l; if (yy_atBOL) yy_state = YY_LEXSTATE[yy_lexical_state+1]; else yy_state = YY_LEXSTATE[yy_lexical_state]; yy_was_pushback = false; yy_forAction: { while (true) { if (yy_currentPos_l < yy_endRead_l) yy_input = yy_buffer_l[yy_currentPos_l++]; else if (yy_atEOF) { yy_input = YYEOF; break yy_forAction; } else { // store back cached positions yy_currentPos = yy_currentPos_l; yy_markedPos = yy_markedPos_l; yy_pushbackPos = yy_pushbackPos_l; boolean eof = yy_refill(); // get translated positions and possibly new buffer yy_currentPos_l = yy_currentPos; yy_markedPos_l = yy_markedPos; yy_buffer_l = yy_buffer; yy_endRead_l = yy_endRead; yy_pushbackPos_l = yy_pushbackPos; if (eof) { yy_input = YYEOF; break yy_forAction; } else { yy_input = yy_buffer_l[yy_currentPos_l++]; } } int yy_next = yytrans_l[ yy_rowMap_l[yy_state] + yycmap_l[yy_input] ]; if (yy_next == -1) break yy_forAction; yy_state = yy_next; int yy_attributes = yy_attr_l[yy_state]; if ( (yy_attributes & 2) == 2 ) yy_pushbackPos_l = yy_currentPos_l; if ( (yy_attributes & 1) == 1 ) { yy_was_pushback = (yy_attributes & 4) == 4; yy_action = yy_state; yy_markedPos_l = yy_currentPos_l; if ( (yy_attributes & 8) == 8 ) break yy_forAction; } } } // store back cached position yy_markedPos = yy_markedPos_l; if (yy_was_pushback) yy_markedPos = yy_pushbackPos_l; switch (yy_action) { case 708: case 727: case 728: case 738: { lexThrow = concExc(lexThrow,yytext().substring(12).trim()); } case 745: break; case 539: case 589: case 590: case 633: { lexThrow = concExc(lexThrow,yytext().substring(8).trim()); } case 746: break; case 559: case 560: case 602: case 603: { bufferSize = Integer.parseInt(yytext().substring(8).trim()); } case 747: break; case 637: case 673: case 674: case 705: { eofThrow = concExc(eofThrow,yytext().substring(10).trim()); } case 748: break; case 670: case 703: case 704: case 725: { initThrow = concExc(initThrow,yytext().substring(11).trim()); } case 749: break; case 679: case 710: case 711: case 729: { scanErrorException = yytext().substring(11).trim(); } case 750: break; case 723: case 724: { lexThrow = concExc(lexThrow,string); yybegin(MACROS); } case 751: break; case 700: case 701: { initThrow = concExc(initThrow,string); yybegin(MACROS); } case 752: break; case 666: case 667: { eofThrow = concExc(eofThrow,string); yybegin(MACROS); } case 753: break; case 68: { yybegin(REGEXP); return symbol(MORETHAN); } case 754: break; case 375: { packed = false; useRowMap = true; } case 755: break; case 137: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(REGEXPEND); } case 756: break; case 88: { yybegin(REGEXP); return symbol(RBRACE); } case 757: break; case 32: { yybegin(REGEXP); return symbol(EQUALS); } case 758: break; case 45: { yybegin(CHARCLASS); return symbol(OPENCLASS); } case 759: break; case 418: case 419: { eofCode = conc(eofCode,string); yybegin(MACROS); } case 760: break; case 548: { isAbstract = true; } case 761: break; case 99: case 100: case 102: case 103: case 104: case 105: case 106: case 107: case 108: case 109: case 110: case 111: case 112: case 113: case 114: case 119: case 121: case 180: case 183: case 184: case 185: case 186: case 187: case 188: case 189: case 190: case 191: case 192: case 193: case 194: case 195: case 196: case 197: case 198: case 199: case 200: case 201: case 202: case 203: case 204: case 205: case 206: case 207: case 208: case 209: case 210: case 216: case 219: case 246: case 247: case 249: case 250: case 251: case 252: case 253: case 254: case 255: case 256: case 257: case 258: case 259: case 260: case 261: case 262: case 263: case 264: case 265: case 266: case 267: case 268: case 270: case 271: case 272: case 273: case 274: case 275: case 276: case 277: case 278: case 282: case 283: case 304: case 305: case 306: case 307: case 308: case 309: case 310: case 311: case 312: case 313: case 314: case 315: case 316: case 317: case 318: case 319: case 321: case 322: case 323: case 325: case 326: case 327: case 328: case 329: case 330: case 331: case 333: case 334: case 335: case 336: case 337: case 338: case 340: case 343: case 344: case 364: case 365: case 366: case 367: case 368: case 369: case 370: case 371: case 372: case 374: case 376: case 377: case 378: case 379: case 380: case 383: case 384: case 385: case 386: case 387: case 388: case 389: case 390: case 391: case 392: case 393: case 394: case 395: case 396: case 399: case 400: case 423: case 424: case 425: case 426: case 427: case 428: case 429: case 430: case 431: case 433: case 434: case 435: case 436: case 437: case 438: case 439: case 440: case 441: case 443: case 444: case 445: case 448: case 449: case 450: case 453: case 454: case 480: case 483: case 484: case 485: case 491: case 492: case 493: case 494: case 495: case 496: case 497: case 498: case 499: case 502: case 504: case 507: case 534: case 536: case 537: case 543: case 544: case 546: case 547: case 549: case 550: case 551: case 586: case 587: case 588: case 595: case 596: case 597: case 598: case 599: case 632: case 640: { throw new ScannerException(file,ErrorMessages.UNKNOWN_OPTION, yyline, yycolumn); } case 762: break; case 86: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_NL, yyline, yycolumn); } case 763: break; case 76: { balance++; return symbol(OPENCLASS); } case 764: break; case 75: { throw new ScannerException(file,ErrorMessages.EOL_IN_CHARCLASS,yyline,yycolumn); } case 765: break; case 31: case 34: { throw new ScannerException(file,ErrorMessages.UNKNOWN_OPTION, yyline, yycolumn); } case 766: break; case 19: case 20: case 21: case 30: case 36: case 61: case 62: case 63: case 70: case 82: case 85: case 87: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_CHAR, yyline, yycolumn); } case 767: break; case 214: case 215: { inclusive_states = false; yybegin(STATELIST); } case 768: break; case 223: case 286: case 346: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16))); } case 769: break; case 240: { return symbol(MACROUSE, yytext().substring(1,yytext().length()-1)); } case 770: break; case 241: case 242: { classCode = conc(classCode,string); yybegin(MACROS); } case 771: break; case 285: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16))); } case 772: break; case 339: { packed = true; useRowMap = true; } case 773: break; case 442: { packed = false; useRowMap = false; } case 774: break; case 503: case 556: { className = yytext().substring(7).trim(); } case 775: break; case 127: case 130: case 221: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8))); } case 776: break; case 126: case 128: case 129: { return symbol(CHAR, new Character(yytext().charAt(1))); } case 777: break; case 74: case 79: { return symbol(CHAR, new Character(yytext().charAt(0))); } case 778: break; case 39: case 40: case 50: { return symbol(CHAR, new Character(yytext().charAt(0))); } case 779: break; case 49: { yybegin(REGEXPSTART); return symbol(LBRACE); } case 780: break; case 58: { lookAheadUsed = true; return symbol(DOLLAR); } case 781: break; case 175: { return symbol(REPEAT, new Integer(yytext().substring(1).trim())); } case 782: break; case 473: case 474: { initCode = conc(initCode,string); yybegin(MACROS); } case 783: break; case 487: case 488: case 538: case 540: { throw new ScannerException(file,ErrorMessages.QUIL_THROW, yyline); } case 784: break; case 500: case 501: case 552: case 554: { throw new ScannerException(file,ErrorMessages.QUIL_CUPSYM, yyline); } case 785: break; case 592: case 593: case 636: case 638: { throw new ScannerException(file,ErrorMessages.QUIL_EOFTHROW, yyline); } case 786: break; case 37: { return symbol_countUpdate(RBRACE, null); } case 787: break; case 676: case 677: case 707: case 709: { throw new ScannerException(file,ErrorMessages.QUIL_YYLEXTHROW, yyline); } case 788: break; case 1: case 18: { /* ignore */ } case 789: break; case 397: { debugOption = true; } case 790: break; case 505: case 506: case 558: case 561: { throw new ScannerException(file,ErrorMessages.NO_BUFFER_SIZE, yyline); } case 791: break; case 630: case 631: case 669: case 671: { throw new ScannerException(file,ErrorMessages.QUIL_INITTHROW, yyline); } case 792: break; case 643: case 644: case 678: case 680: { throw new ScannerException(file,ErrorMessages.QUIL_SCANERROR, yyline); } case 793: break; case 15: case 16: { userCode.append(yytext()); } case 794: break; case 446: { columnCount = true; } case 795: break; case 583: case 584: { eofVal = string.toString(); yybegin(MACROS); } case 796: break; case 80: { return symbol(HAT); } case 797: break; case 0: case 14: case 17: { return symbol(EOF); } case 798: break; case 51: { return symbol(BAR); } case 799: break; case 38: { yybegin(STATES); return symbol_countUpdate(LESSTHAN, null); } case 800: break; case 57: { return symbol(QUESTION); } case 801: break; case 398: case 479: { return symbol(UNICODE); } case 802: break; case 672: { isImplementing = concExc(isImplementing, yytext().substring(12).trim()); } case 803: break; case 77: { if (balance > 0) balance--; else yybegin(REGEXP); return symbol(CLOSECLASS); } case 804: break; case 545: { eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 805: break; case 135: { return symbol(CHAR,new Character('\b')); } case 806: break; case 134: { return symbol(CHAR,new Character('\f')); } case 807: break; case 133: { return symbol(CHAR,new Character('\r')); } case 808: break; case 132: { return symbol(CHAR,new Character('\t')); } case 809: break; case 131: { return symbol(CHAR,new Character('\n')); } case 810: break; case 47: { lookAheadUsed = true; return symbol(LOOKAHEAD); } case 811: break; case 59: { bolUsed = true; return symbol(HAT); } case 812: break; case 60: case 232: case 408: case 409: case 462: case 466: case 515: case 522: case 568: case 569: case 574: case 575: case 609: case 612: case 613: case 618: case 621: case 622: case 652: case 653: case 654: case 655: case 659: case 660: case 661: case 662: case 688: case 689: case 690: case 696: case 697: case 698: case 718: case 722: case 734: case 737: { actionText.append(yytext()); } case 813: break; case 155: case 157: case 158: { string.append(yytext().charAt(1)); } case 814: break; case 156: case 159: case 237: { string.append( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8)); } case 815: break; case 160: { string.append('\"'); } case 816: break; case 161: { string.append('\n'); } case 817: break; case 162: { string.append('\t'); } case 818: break; case 163: { string.append('\r'); } case 819: break; case 164: { string.append('\f'); } case 820: break; case 165: { string.append('\b'); } case 821: break; case 217: case 218: { inclusive_states = true; yybegin(STATELIST); } case 822: break; case 239: case 300: case 358: { string.append( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16)); } case 823: break; case 299: { string.append( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16)); } case 824: break; case 461: { throw new ScannerException(file,ErrorMessages.EOF_WO_ACTION); } case 825: break; case 83: case 84: { string.append(yytext()); } case 826: break; case 69: { string.append(yytext()); } case 827: break; case 567: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(EOFRULE); } case 828: break; case 81: { return symbol(DASH); } case 829: break; case 73: { yybegin(nextState); return symbol(STRING, string.toString()); } case 830: break; case 67: { return symbol(COMMA); } case 831: break; case 44: { return symbol(POINT); } case 832: break; case 46: { return symbol(STAR); } case 833: break; case 52: { return symbol(BANG); } case 834: break; case 53: { return symbol(TILDE); } case 835: break; case 56: { return symbol(PLUS); } case 836: break; case 320: case 341: { return symbol(FULL); } case 837: break; case 95: { commentbalance++; } case 838: break; case 71: case 72: { throw new ScannerException(file,ErrorMessages.UNTERMINATED_STR, yyline, yycolumn); } case 839: break; case 65: { balance++; actionText.append('{'); } case 840: break; case 123: { nextState = REGEXPSTART; yybegin(COMMENT); } case 841: break; case 89: { yybegin(REGEXP); } case 842: break; case 35: { yybegin(REGEXP); } case 843: break; case 24: case 25: { yybegin(MACROS); } case 844: break; case 650: { return symbol(JLETTERCLASS); } case 845: break; case 140: { yybegin(REPEATEXP); return symbol(REPEAT, new Integer(yytext().trim().substring(1).trim())); } case 846: break; case 78: { string.setLength(0); nextState = CHARCLASS; yybegin(STRING_CONTENT); } case 847: break; case 743: { return symbol(JLETTERDIGITCLASS); } case 848: break; case 120: { macroDefinition = false; yybegin(REGEXPSTART); return symbol(DELIMITER); } case 849: break; case 27: { return symbol(IDENT, yytext()); } case 850: break; case 42: case 43: { if (macroDefinition) { yybegin(MACROS); } return symbol(REGEXPEND); } case 851: break; case 55: { return symbol(CLOSEBRACKET); } case 852: break; case 169: { yypushback(1); yycolumn--; return symbol(CHAR, new Character(yytext().charAt(0))); } case 853: break; case 118: { Out.warning(ErrorMessages.NOT_AT_BOL, yyline); yypushback(1); } case 854: break; case 229: { return symbol_countUpdate(MACROUSE, makeMacroIdent()); } case 855: break; case 382: { isYYEOF = true; } case 856: break; case 486: { notUnix = true; } case 857: break; case 139: { nextState = REGEXP; yybegin(COMMENT); } case 858: break; case 97: { nextState = MACROS; yybegin(COMMENT); } case 859: break; case 181: case 182: { string.setLength(0); yybegin(COPY); } case 860: break; case 269: { cupCompatible = true; isImplementing = concExc(isImplementing, "java_cup.runtime.Scanner"); if (functionName == null) functionName = "next_token"; if (tokenType == null) tokenType = "java_cup.runtime.Symbol"; if (eofVal == null) eofVal = "return new java_cup.runtime.Symbol("+cupSymbol+".EOF);"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 861: break; case 432: case 489: case 541: { tokenType = yytext().substring(6).trim(); } case 862: break; case 591: case 635: { isExtending = yytext().substring(9).trim(); } case 863: break; case 639: case 675: { functionName = yytext().substring(10).trim(); } case 864: break; case 713: { return symbol(LOWERCLASS); } case 865: break; case 712: { return symbol(UPPERCLASS); } case 866: break; case 22: { states.insert(yytext(),inclusive_states); } case 867: break; case 54: { return symbol(OPENBRACKET); } case 868: break; case 566: { return symbol(DIGITCLASS); } case 869: break; case 606: { return symbol(LETTERCLASS); } case 870: break; case 124: { } case 871: break; case 94: { if (commentbalance > 0) commentbalance--; else yybegin(nextState); } case 872: break; case 90: case 177: { t.start(); yybegin(MACROS); macroDefinition = true; return symbol(USERCODE,userCode); } case 873: break; case 66: { } case 874: break; case 41: { } case 875: break; case 29: { } case 876: break; case 28: case 33: { } case 877: break; case 23: case 26: { } case 878: break; case 48: { string.setLength(0); nextState = REGEXP; yybegin(STRING_CONTENT); } case 879: break; case 64: { if (balance > 0) { balance--; actionText.append('}'); } else { yybegin(REGEXPSTART); Action a = new Action(actionText.toString(), action_line); actions.addElement(a); return symbol(ACTION, a); } } case 880: break; case 145: case 146: { if (macroDefinition) { yybegin(EATWSPNL); return symbol(BAR); } else { yybegin(REGEXPSTART); return symbol(NOACTION); } } case 881: break; case 178: case 179: { } case 882: break; case 248: case 482: { isInteger = true; } case 883: break; case 324: { lineCount = true; } case 884: break; case 332: { charCount = true; } case 885: break; case 381: { isFinal = true; } case 886: break; case 451: { isInteger = true; if (eofVal == null) eofVal = "return 0;"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 887: break; case 452: { isPublic = true; } case 888: break; case 481: { isIntWrap = true; } case 889: break; case 508: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol_countUpdate(EOFRULE, null); } case 890: break; case 535: { File f = new File(yytext().substring(9).trim()); if ( !f.canRead() ) throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); // check for cycle if (files.search(f) > 0) throw new ScannerException(file,ErrorMessages.FILE_CYCLE, yyline); try { yypushStream( new FileReader(f) ); files.push(file); file = f; Out.println("Including \""+file+"\""); } catch (FileNotFoundException e) { throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); } } case 891: break; case 553: case 600: case 601: case 645: { cupSymbol = yytext().substring(8).trim(); if (cupCompatible) Out.warning(ErrorMessages.CUPSYM_AFTER_CUP, yyline); } case 892: break; case 555: { cupDebug = true; } case 893: break; case 557: { caseless = true; } case 894: break; case 641: { visibility = "private"; Skeleton.makePrivate(); } case 895: break; case 642: { standalone = true; isInteger = true; } case 896: break; default: if (yy_input == YYEOF && yy_startRead == yy_currentPos) { yy_atEOF = true; yy_do_eof(); switch (yy_lexical_state) { case STRING_CONTENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_STRING); } case 745: break; case MACROS: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 746: break; case STATELIST: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 747: break; case CHARCLASS: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 748: break; case JAVA_CODE: { throw new ScannerException(file,ErrorMessages.EOF_IN_ACTION, action_line-1); } case 749: break; case REPEATEXP: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 750: break; case COMMENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_COMMENT); } case 751: break; case STATES: { throw new ScannerException(file,ErrorMessages.EOF_IN_STATES); } case 752: break; case COPY: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 753: break; default: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else return symbol(EOF); } } } else { yy_ScanError(YY_NO_MATCH); } } } }
|
6220 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6220/c5f745a2bbfd60456e2c1bdcf3581d6dc93cf8d4/LexScan.java/clean/src/JFlex/LexScan.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8565,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
9016,
67,
2630,
31,
565,
509,
9016,
67,
1128,
31,
565,
509,
5378,
9016,
2338,
67,
80,
273,
9016,
2338,
31,
565,
509,
5378,
9016,
67,
492,
863,
67,
80,
273,
9016,
67,
492,
863,
31,
565,
1160,
5378,
9016,
67,
1747,
67,
80,
273,
1624,
61,
67,
11616,
31,
565,
509,
9016,
67,
6206,
823,
1616,
67,
80,
273,
9016,
67,
6206,
823,
1616,
273,
300,
21,
31,
565,
1250,
9016,
67,
17416,
67,
6206,
823,
31,
565,
1323,
261,
3767,
13,
288,
1377,
368,
3472,
1466,
30,
1377,
509,
9016,
67,
2972,
1616,
67,
80,
31,
1377,
509,
9016,
67,
1937,
1994,
67,
80,
31,
1377,
509,
9016,
67,
3355,
329,
1616,
67,
80,
273,
9016,
67,
3355,
329,
1616,
31,
1377,
509,
9016,
67,
409,
1994,
67,
80,
273,
9016,
67,
409,
1994,
31,
1377,
1149,
5378,
9016,
67,
4106,
67,
80,
273,
9016,
67,
4106,
31,
1377,
1149,
5378,
9016,
22738,
67,
80,
273,
9016,
22738,
31,
1377,
1250,
9016,
67,
86,
273,
629,
31,
1377,
364,
261,
6795,
67,
2972,
1616,
67,
80,
273,
9016,
67,
1937,
1994,
31,
9016,
67,
2972,
1616,
67,
80,
411,
9016,
67,
3355,
329,
1616,
67,
80,
31,
4766,
11794,
9016,
67,
2972,
1616,
67,
80,
27245,
288,
3639,
1620,
261,
6795,
67,
4106,
67,
80,
63,
6795,
67,
2972,
1616,
67,
80,
5717,
288,
3639,
648,
2337,
89,
3784,
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,
8565,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
9016,
67,
2630,
31,
565,
509,
9016,
67,
1128,
31,
565,
509,
5378,
9016,
2338,
67,
80,
273,
9016,
2338,
31,
565,
509,
5378,
9016,
67,
492,
863,
67,
80,
273,
9016,
67,
492,
863,
31,
565,
1160,
5378,
9016,
67,
1747,
67,
80,
273,
1624,
61,
67,
11616,
31,
565,
509,
9016,
67,
6206,
823,
1616,
67,
80,
273,
9016,
67,
6206,
823,
1616,
273,
300,
21,
31,
565,
1250,
9016,
67,
17416,
67,
6206,
823,
31,
565,
1323,
261,
3767,
13,
288,
1377,
368,
3472,
1466,
30,
1377,
509,
9016,
67,
2972,
1616,
67,
80,
31,
1377,
509,
9016,
67,
1937,
2
] |
if((vfs.getCapabilities() & VFS.RENAME_CAP) != 0)
|
boolean twoStageSave = (vfs.getCapabilities() & VFS.RENAME_CAP) != 0 && jEdit.getBooleanProperty("twoStageSave"); if(twoStageSave)
|
private void save() { OutputStream out = null; try { String[] args = { vfs.getFileName(path) }; setStatus(jEdit.getProperty("vfs.status.save",args)); // the entire save operation can be aborted... setAbortable(true); try { path = vfs._canonPath(session,path,view); buffer.readLock(); /* if the VFS supports renaming files, we first * save to #<filename>#save#, then rename that * to <filename>, so that if the save fails, * data will not be lost */ String savePath; if((vfs.getCapabilities() & VFS.RENAME_CAP) != 0) { savePath = vfs.getParentOfPath(path) + '#' + vfs.getFileName(path) + "#save#"; } else savePath = path; out = vfs._createOutputStream(session,savePath,view); if(out != null) { if(path.endsWith(".gz")) out = new GZIPOutputStream(out); write(buffer,out); } // Only backup once per session if(buffer.getProperty(Buffer.BACKED_UP) == null) { vfs._backup(session,path,view); buffer.setBooleanProperty(Buffer.BACKED_UP,true); } if((vfs.getCapabilities() & VFS.RENAME_CAP) != 0) vfs._rename(session,savePath,path,view); // We only save markers to VFS's that support deletion. // Otherwise, we will accumilate stale marks files. if((vfs.getCapabilities() & VFS.DELETE_CAP) != 0) { if(jEdit.getBooleanProperty("persistentMarkers") && buffer.getMarkers().size() != 0) { setStatus(jEdit.getProperty("vfs.status.save-markers",args)); setProgressValue(0); out = vfs._createOutputStream(session,markersPath,view); if(out != null) writeMarkers(buffer,out); } else vfs._delete(session,markersPath,view); } } catch(IOException io) { Log.log(Log.ERROR,this,io); String[] pp = { path, io.toString() }; VFSManager.error(view,"write-error",pp); } finally { buffer.readUnlock(); } } catch(WorkThread.Abort a) { if(out != null) { try { out.close(); } catch(IOException io) { } } } finally { try { vfs._saveComplete(session,buffer,view); vfs._endVFSSession(session,view); } catch(IOException io) { Log.log(Log.ERROR,this,io); String[] pp = { path, io.toString() }; VFSManager.error(view,"write-error",pp); } catch(WorkThread.Abort a) { } } } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/16fbd6a2398f65435904d2bd0e80999fad2a4797/BufferIORequest.java/buggy/org/gjt/sp/jedit/io/BufferIORequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1923,
1435,
202,
95,
202,
202,
4632,
596,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
780,
8526,
833,
273,
288,
20682,
18,
588,
4771,
12,
803,
13,
289,
31,
1082,
202,
542,
1482,
12,
78,
4666,
18,
588,
1396,
2932,
90,
2556,
18,
2327,
18,
5688,
3113,
1968,
10019,
1082,
202,
759,
326,
7278,
1923,
1674,
848,
506,
18166,
2777,
1082,
202,
542,
13572,
429,
12,
3767,
1769,
1082,
202,
698,
1082,
202,
95,
9506,
202,
803,
273,
20682,
6315,
4169,
265,
743,
12,
3184,
16,
803,
16,
1945,
1769,
9506,
202,
4106,
18,
896,
2531,
5621,
9506,
202,
20308,
309,
326,
23567,
6146,
30883,
1390,
16,
732,
1122,
6862,
380,
1923,
358,
468,
32,
3459,
34,
7,
5688,
7,
16,
1508,
6472,
716,
6862,
380,
358,
411,
3459,
20401,
1427,
716,
309,
326,
1923,
6684,
16,
6862,
380,
501,
903,
486,
506,
13557,
1195,
9506,
202,
780,
1923,
743,
31,
9506,
202,
430,
12443,
90,
2556,
18,
588,
14012,
1435,
473,
23567,
18,
862,
1985,
67,
17296,
13,
480,
374,
13,
9506,
202,
95,
6862,
202,
5688,
743,
273,
20682,
18,
588,
3054,
951,
743,
12,
803,
13,
25083,
202,
15,
6501,
397,
20682,
18,
588,
4771,
12,
803,
13,
25083,
202,
15,
6619,
5688,
7,
14432,
9506,
202,
97,
9506,
202,
12107,
6862,
202,
5688,
743,
273,
589,
31,
9506,
202,
659,
273,
20682,
6315,
2640,
4632,
12,
3184,
16,
5688,
743,
16,
1945,
1769,
9506,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1923,
1435,
202,
95,
202,
202,
4632,
596,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
780,
8526,
833,
273,
288,
20682,
18,
588,
4771,
12,
803,
13,
289,
31,
1082,
202,
542,
1482,
12,
78,
4666,
18,
588,
1396,
2932,
90,
2556,
18,
2327,
18,
5688,
3113,
1968,
10019,
1082,
202,
759,
326,
7278,
1923,
1674,
848,
506,
18166,
2777,
1082,
202,
542,
13572,
429,
12,
3767,
1769,
1082,
202,
698,
1082,
202,
95,
9506,
202,
803,
273,
20682,
6315,
4169,
265,
743,
12,
3184,
16,
803,
16,
1945,
1769,
9506,
202,
4106,
18,
896,
2531,
5621,
9506,
202,
20308,
309,
326,
23567,
6146,
30883,
1390,
16,
732,
1122,
6862,
380,
2
] |
SecurityManager sm = System.getSecurityManager(); if (sm == null) sm = new SecurityManager() {}; ClassLoader cl = VMObjectInputStream.currentClassLoader(sm);
|
ClassLoader cl = currentLoader();
|
protected Class resolveProxyClass(String[] intfs) throws IOException, ClassNotFoundException { SecurityManager sm = System.getSecurityManager(); if (sm == null) sm = new SecurityManager() {}; ClassLoader cl = VMObjectInputStream.currentClassLoader(sm); Class[] clss = new Class[intfs.length]; if(cl == null) { for (int i = 0; i < intfs.length; i++) clss[i] = Class.forName(intfs[i]); cl = ClassLoader.getSystemClassLoader(); } else for (int i = 0; i < intfs.length; i++) clss[i] = cl.loadClass(intfs[i]); try { return Proxy.getProxyClass(cl, clss); } catch (IllegalArgumentException e) { throw new ClassNotFoundException(null, e); } }
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/c80878a3c1318484f2bd408a9f00e1a916916780/ObjectInputStream.java/clean/libraries/javalib/java/io/ObjectInputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1659,
2245,
3886,
797,
12,
780,
8526,
509,
2556,
13,
565,
1216,
1860,
16,
10403,
225,
288,
565,
6036,
1318,
3029,
273,
2332,
18,
588,
4368,
1318,
5621,
3639,
309,
261,
4808,
422,
446,
13,
1377,
3029,
273,
394,
6036,
1318,
1435,
2618,
31,
3639,
9403,
927,
273,
8251,
921,
4348,
18,
2972,
7805,
12,
4808,
1769,
3639,
1659,
8526,
927,
1049,
273,
394,
1659,
63,
474,
2556,
18,
2469,
15533,
565,
309,
12,
830,
422,
446,
13,
1377,
288,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
509,
2556,
18,
2469,
31,
277,
27245,
202,
225,
927,
1049,
63,
77,
65,
273,
1659,
18,
1884,
461,
12,
474,
2556,
63,
77,
19226,
202,
830,
273,
9403,
18,
588,
3163,
7805,
5621,
1377,
289,
565,
469,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
509,
2556,
18,
2469,
31,
277,
27245,
202,
830,
1049,
63,
77,
65,
273,
927,
18,
945,
797,
12,
474,
2556,
63,
77,
19226,
565,
775,
4202,
288,
202,
2463,
7659,
18,
588,
3886,
797,
12,
830,
16,
927,
1049,
1769,
1377,
289,
377,
1044,
261,
31237,
425,
13,
4202,
288,
202,
12849,
394,
10403,
12,
2011,
16,
425,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1659,
2245,
3886,
797,
12,
780,
8526,
509,
2556,
13,
565,
1216,
1860,
16,
10403,
225,
288,
565,
6036,
1318,
3029,
273,
2332,
18,
588,
4368,
1318,
5621,
3639,
309,
261,
4808,
422,
446,
13,
1377,
3029,
273,
394,
6036,
1318,
1435,
2618,
31,
3639,
9403,
927,
273,
8251,
921,
4348,
18,
2972,
7805,
12,
4808,
1769,
3639,
1659,
8526,
927,
1049,
273,
394,
1659,
63,
474,
2556,
18,
2469,
15533,
565,
309,
12,
830,
422,
446,
13,
1377,
288,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
509,
2556,
18,
2469,
31,
277,
27245,
202,
225,
927,
1049,
63,
77,
65,
273,
1659,
18,
1884,
461,
12,
474,
2556,
63,
77,
19226,
202,
830,
2
] |
return originatingURL; }
|
return originatingURL; }
|
public URL getUrl() { return originatingURL; }
|
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/d84f16e26131fb1d59954e1168b859dbb92d31cc/HttpWebConnection.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
1976,
8928,
1435,
288,
10792,
327,
4026,
1776,
1785,
31,
7734,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
1976,
8928,
1435,
288,
10792,
327,
4026,
1776,
1785,
31,
7734,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
multipleActive.setSelection(getPreferenceStore().getDefaultBoolean( TaskListPreferenceConstants.MULTIPLE_ACTIVE_TASKS));
|
refreshQueries.setSelection(getPreferenceStore().getDefaultBoolean( TaskListPreferenceConstants.REPOSITORY_SYNCH_ON_STARTUP));
|
public void performDefaults() { super.performDefaults(); copyExistingDataCheckbox.setSelection(true); // IPath rootPath = // ResourcesPlugin.getWorkspace().getRoot().getLocation(); // String taskDirectory = rootPath.toString() + "/" + // MylarPlugin.DATA_DIR_NAME; taskDirectoryText.setText(MylarPlugin.getDefault().getDefaultDataDirectory()); // copyExistingDataCheckbox.setSelection(getPreferenceStore().getDefaultBoolean(MylarTaskListPlugin.COPY_TASK_DATA)); reportEditor .setSelection(getPreferenceStore().getDefaultBoolean(TaskListPreferenceConstants.REPORT_OPEN_EDITOR)); reportInternal.setSelection(getPreferenceStore().getDefaultBoolean( TaskListPreferenceConstants.REPORT_OPEN_INTERNAL)); // reportExternal.setSelection(getPreferenceStore().getDefaultBoolean(MylarTaskListPlugin.REPORT_OPEN_EXTERNAL)); taskURLPrefixText.setText(getPreferenceStore().getDefaultString(TaskListPreferenceConstants.DEFAULT_URL_PREFIX)); multipleActive.setSelection(getPreferenceStore().getDefaultBoolean( TaskListPreferenceConstants.MULTIPLE_ACTIVE_TASKS)); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/6b5074f0144dd8b4908c09a9d7586b451a372cce/MylarTaskListPreferencePage.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/preferences/MylarTaskListPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3073,
7019,
1435,
288,
202,
202,
9565,
18,
16092,
7019,
5621,
202,
202,
3530,
9895,
751,
21272,
18,
542,
6233,
12,
3767,
1769,
202,
202,
759,
467,
743,
13959,
273,
202,
202,
759,
8128,
3773,
18,
588,
8241,
7675,
588,
2375,
7675,
588,
2735,
5621,
202,
202,
759,
514,
1562,
2853,
273,
13959,
18,
10492,
1435,
397,
4016,
397,
202,
202,
759,
8005,
7901,
3773,
18,
4883,
67,
4537,
67,
1985,
31,
202,
202,
4146,
2853,
1528,
18,
542,
1528,
12,
12062,
7901,
3773,
18,
588,
1868,
7675,
588,
1868,
751,
2853,
10663,
202,
202,
759,
1610,
9895,
751,
21272,
18,
542,
6233,
12,
588,
9624,
2257,
7675,
588,
1868,
5507,
12,
12062,
7901,
2174,
682,
3773,
18,
24875,
67,
15580,
67,
4883,
10019,
202,
202,
6006,
6946,
9506,
202,
18,
542,
6233,
12,
588,
9624,
2257,
7675,
588,
1868,
5507,
12,
2174,
682,
9624,
2918,
18,
22710,
67,
11437,
67,
13208,
10019,
202,
202,
6006,
3061,
18,
542,
6233,
12,
588,
9624,
2257,
7675,
588,
1868,
5507,
12,
9506,
202,
2174,
682,
9624,
2918,
18,
22710,
67,
11437,
67,
14005,
10019,
202,
202,
759,
2605,
6841,
18,
542,
6233,
12,
588,
9624,
2257,
7675,
588,
1868,
5507,
12,
12062,
7901,
2174,
682,
3773,
18,
22710,
67,
11437,
67,
2294,
11702,
10019,
202,
202,
4146,
1785,
2244,
1528,
18,
542,
1528,
12,
588,
9624,
2257,
7675,
588,
1868,
780,
12,
2174,
682,
9624,
2918,
18,
5280,
67,
1785,
67,
6307,
10019,
202,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3073,
7019,
1435,
288,
202,
202,
9565,
18,
16092,
7019,
5621,
202,
202,
3530,
9895,
751,
21272,
18,
542,
6233,
12,
3767,
1769,
202,
202,
759,
467,
743,
13959,
273,
202,
202,
759,
8128,
3773,
18,
588,
8241,
7675,
588,
2375,
7675,
588,
2735,
5621,
202,
202,
759,
514,
1562,
2853,
273,
13959,
18,
10492,
1435,
397,
4016,
397,
202,
202,
759,
8005,
7901,
3773,
18,
4883,
67,
4537,
67,
1985,
31,
202,
202,
4146,
2853,
1528,
18,
542,
1528,
12,
12062,
7901,
3773,
18,
588,
1868,
7675,
588,
1868,
751,
2853,
10663,
202,
202,
759,
1610,
9895,
751,
21272,
18,
542,
6233,
12,
588,
9624,
2257,
7675,
588,
1868,
5507,
12,
12062,
7901,
2174,
2
] |
/* package*/void setOverriddenDescriptor(
|
/* package */void setOverriddenDescriptor(
|
/* package*/void setOverriddenDescriptor( INavigatorContentDescriptor theOverriddenDescriptor) { overriddenDescriptor = theOverriddenDescriptor; }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c93d807ed962723d90daba76fc2003e2c1801cbc/NavigatorContentDescriptor.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/extensions/NavigatorContentDescriptor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
20308,
2181,
5549,
6459,
444,
22042,
2794,
3187,
12,
1082,
202,
706,
13061,
1350,
3187,
326,
22042,
2794,
3187,
13,
288,
202,
202,
83,
1107,
2794,
3187,
273,
326,
22042,
2794,
3187,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
20308,
2181,
5549,
6459,
444,
22042,
2794,
3187,
12,
1082,
202,
706,
13061,
1350,
3187,
326,
22042,
2794,
3187,
13,
288,
202,
202,
83,
1107,
2794,
3187,
273,
326,
22042,
2794,
3187,
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
] |
private void pushURL ( boolean isPE, String ename, String ids [], Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush (); scratch.setPublicId (ids [0]); scratch.setSystemId (ids [1]); if (doResolve) { source = handler.resolveEntity (isPE, ename, scratch, ids [2]); if (source == null) { handler.warn ("skipping entity: " + ename); handler.skippedEntity (ename); if (isPE) skippedPE = true; return; } systemId = source.getSystemId (); /* if (systemId == null) { handler.warn ("missing system ID, using " + ids [1]); systemId = ids [1]; } */ } else { scratch.setCharacterStream (reader); scratch.setByteStream (stream); scratch.setEncoding (encoding); source = scratch; systemId = ids [1]; if (handler.getFeature (SAXDriver.FEATURE + "string-interning")) { handler.startExternalEntity (ename, systemId, "[document]" == ename); } else { handler.startExternalEntity (ename, systemId, "[document]".equals(ename)); } } if (source.getCharacterStream () != null) { if (source.getByteStream () != null) error ("InputSource has two streams!"); reader = source.getCharacterStream (); } else if (source.getByteStream () != null) { encoding = source.getEncoding (); if (encoding == null) stream = source.getByteStream (); else try { reader = new InputStreamReader ( source.getByteStream (), encoding); } catch (IOException e) { stream = source.getByteStream (); } } else if (systemId == null) error ("InputSource has no URI!"); scratch.setCharacterStream (null); scratch.setByteStream (null); scratch.setEncoding (null); pushInput (ename); readBuffer = new char [READ_BUFFER_MAX + 4]; readBufferPos = 0; readBufferLength = 0; readBufferOverflow = -1; is = null; line = 1; column = 0; currentByteCount = 0; if (reader != null) { sourceType = INPUT_READER; this.reader = reader; tryEncodingDecl (true); return; } sourceType = INPUT_STREAM; if (stream != null) { is = stream; } else { URL url = new URL (systemId); externalEntity = url.openConnection (); externalEntity.connect (); is = externalEntity.getInputStream (); } if (!is.markSupported ()) { is = new BufferedInputStream (is); } if (encoding == null && externalEntity != null) { if (!"file".equals (externalEntity.getURL ().getProtocol ())) { int temp; encoding = externalEntity.getContentType (); if (encoding==null) { temp = -1; } else { temp = encoding.indexOf ("charset"); } if (temp < 0) encoding = null; else { if ((temp = encoding.indexOf (';')) > 0) encoding = encoding.substring (0, temp); if ((temp = encoding.indexOf ('=', temp + 7)) > 0) { encoding = encoding.substring (temp + 1); if ((temp = encoding.indexOf ('(')) > 0) encoding = encoding.substring (0, temp); if ((temp = encoding.indexOf ('"')) > 0) encoding = encoding.substring (temp + 1, encoding.indexOf ('"', temp + 2)); encoding.trim (); } else { handler.warn ("ignoring illegal MIME attribute: " + encoding); encoding = null; } } } } if (encoding != null) { this.encoding = ENCODING_EXTERNAL; setupDecoding (encoding); ignoreEncoding = true; } else { detectEncoding (); ignoreEncoding = false; } try { tryEncodingDecl (ignoreEncoding); } catch (UnsupportedEncodingException x) { encoding = x.getMessage (); try { if (sourceType != INPUT_STREAM) throw x; is.reset (); readBufferPos = 0; readBufferLength = 0; readBufferOverflow = -1; line = 1; currentByteCount = column = 0; sourceType = INPUT_READER; this.reader = new InputStreamReader (is, encoding); is = null; tryEncodingDecl (true); } catch (IOException e) { error ("unsupported text encoding", encoding, null); } } }
|
private void pushURL(boolean isPE, String ename, ExternalIdentifiers ids, Reader reader, InputStream stream, String encoding, boolean doResolve) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) { dataBufferFlush(); } scratch.setPublicId(ids.publicId); scratch.setSystemId(ids.systemId); if (doResolve) { source = handler.resolveEntity(isPE, ename, scratch, ids.baseUri); if (source == null) { handler.warn("skipping entity: " + ename); handler.skippedEntity(ename); if (isPE) { skippedPE = true; } return; } systemId = source.getSystemId(); /* if (systemId == null) { handler.warn ("missing system ID, using " + ids.systemId); systemId = ids.systemId; } */ } else { scratch.setCharacterStream(reader); scratch.setByteStream(stream); scratch.setEncoding(encoding); source = scratch; systemId = ids.systemId; if (handler.stringInterning) { handler.startExternalEntity(ename, systemId, "[document]" == ename); } else { handler.startExternalEntity(ename, systemId, "[document]".equals(ename)); } } if (source.getCharacterStream() != null) { if (source.getByteStream() != null) error("InputSource has two streams!"); reader = source.getCharacterStream(); } else if (source.getByteStream() != null) { encoding = source.getEncoding(); if (encoding == null) { stream = source.getByteStream(); } else { try { reader = new InputStreamReader(source.getByteStream(), encoding); } catch (IOException e) { stream = source.getByteStream(); } } } else if (systemId == null) { error("InputSource has no URI!"); } scratch.setCharacterStream(null); scratch.setByteStream(null); scratch.setEncoding(null); pushInput(ename); readBuffer = new char[READ_BUFFER_MAX + 4]; readBufferPos = 0; readBufferLength = 0; readBufferOverflow = -1; is = null; line = 1; column = 0; currentByteCount = 0; if (reader != null) { sourceType = INPUT_READER; this.reader = reader; tryEncodingDecl(true); return; } sourceType = INPUT_STREAM; if (stream != null) { is = stream; } else { URL url = new URL(systemId); externalEntity = url.openConnection(); externalEntity.connect(); is = externalEntity.getInputStream(); } if (!is.markSupported()) { is = new BufferedInputStream(is); } if (encoding == null && externalEntity != null) { if (!"file".equals(externalEntity.getURL().getProtocol())) { int temp; encoding = externalEntity.getContentType(); if (encoding == null) { temp = -1; } else { temp = encoding.indexOf("charset"); } if (temp < 0) { encoding = null; } else { if ((temp = encoding.indexOf(';')) > 0) { encoding = encoding.substring(0, temp); } if ((temp = encoding.indexOf('=', temp + 7)) > 0) { encoding = encoding.substring(temp + 1); if ((temp = encoding.indexOf('(')) > 0) { encoding = encoding.substring(0, temp); } if ((temp = encoding.indexOf('"')) > 0) { encoding = encoding.substring(temp + 1, encoding.indexOf('"', temp + 2)); } encoding.trim(); } else { handler.warn("ignoring illegal MIME attribute: " + encoding); encoding = null; } } } } if (encoding != null) { this.encoding = ENCODING_EXTERNAL; setupDecoding(encoding); ignoreEncoding = true; } else { detectEncoding(); ignoreEncoding = false; } try { tryEncodingDecl(ignoreEncoding); } catch (UnsupportedEncodingException x) { encoding = x.getMessage(); try { if (sourceType != INPUT_STREAM) { throw x; } is.reset(); readBufferPos = 0; readBufferLength = 0; readBufferOverflow = -1; line = 1; currentByteCount = column = 0; sourceType = INPUT_READER; this.reader = new InputStreamReader(is, encoding); is = null; tryEncodingDecl(true); } catch (IOException e) { error("unsupported text encoding", encoding, null); } } }
|
private void pushURL ( boolean isPE, String ename, String ids [], // public, system, baseURI Reader reader, InputStream stream, String encoding, boolean doResolve ) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) dataBufferFlush (); scratch.setPublicId (ids [0]); scratch.setSystemId (ids [1]); // See if we should skip or substitute the entity. // If we're not skipping, resolving reports startEntity() // and updates the (handler's) stack of URIs. if (doResolve) { // assert (stream == null && reader == null && encoding == null) source = handler.resolveEntity (isPE, ename, scratch, ids [2]); if (source == null) { handler.warn ("skipping entity: " + ename); handler.skippedEntity (ename); if (isPE) skippedPE = true; return; } // we might be using alternate IDs/encoding systemId = source.getSystemId (); // The following warning and setting systemId was deleted bcause // the application has the option of not setting systemId // provided that it has set the characte/byte stream. /* if (systemId == null) { handler.warn ("missing system ID, using " + ids [1]); systemId = ids [1]; } */ } else { // "[document]", or "[dtd]" via getExternalSubset() scratch.setCharacterStream (reader); scratch.setByteStream (stream); scratch.setEncoding (encoding); source = scratch; systemId = ids [1]; if (handler.getFeature (SAXDriver.FEATURE + "string-interning")) { handler.startExternalEntity (ename, systemId, "[document]" == ename); } else { handler.startExternalEntity (ename, systemId, "[document]".equals(ename)); } } // we may have been given I/O streams directly if (source.getCharacterStream () != null) { if (source.getByteStream () != null) error ("InputSource has two streams!"); reader = source.getCharacterStream (); } else if (source.getByteStream () != null) { encoding = source.getEncoding (); if (encoding == null) stream = source.getByteStream (); else try { reader = new InputStreamReader ( source.getByteStream (), encoding); } catch (IOException e) { stream = source.getByteStream (); } } else if (systemId == null) error ("InputSource has no URI!"); scratch.setCharacterStream (null); scratch.setByteStream (null); scratch.setEncoding (null); // Push the existing status. pushInput (ename); // Create a new read buffer. // (Note the four-character margin) readBuffer = new char [READ_BUFFER_MAX + 4]; readBufferPos = 0; readBufferLength = 0; readBufferOverflow = -1; is = null; line = 1; column = 0; currentByteCount = 0; // If there's an explicit character stream, just // ignore encoding declarations. if (reader != null) { sourceType = INPUT_READER; this.reader = reader; tryEncodingDecl (true); return; } // Else we handle the conversion, and need to ensure // it's done right. sourceType = INPUT_STREAM; if (stream != null) { is = stream; } else { // We have to open our own stream to the URL. URL url = new URL (systemId); externalEntity = url.openConnection (); externalEntity.connect (); is = externalEntity.getInputStream (); } // If we get to here, there must be // an InputStream available. if (!is.markSupported ()) { is = new BufferedInputStream (is); } // Get any external encoding label. if (encoding == null && externalEntity != null) { // External labels can be untrustworthy; filesystems in // particular often have the wrong default for content // that wasn't locally originated. Those we autodetect. if (!"file".equals (externalEntity.getURL ().getProtocol ())) { int temp; // application/xml;charset=something;otherAttr=... // ... with many variants on 'something' encoding = externalEntity.getContentType (); // MHK code (fix for Saxon 5.5.1/007): // protect against encoding==null if (encoding==null) { temp = -1; } else { temp = encoding.indexOf ("charset"); } // RFC 2376 sez MIME text defaults to ASCII, but since the // JDK will create a MIME type out of thin air, we always // autodetect when there's no explicit charset attribute. if (temp < 0) encoding = null; // autodetect else { // only this one attribute if ((temp = encoding.indexOf (';')) > 0) encoding = encoding.substring (0, temp); if ((temp = encoding.indexOf ('=', temp + 7)) > 0) { encoding = encoding.substring (temp + 1); // attributes can have comment fields (RFC 822) if ((temp = encoding.indexOf ('(')) > 0) encoding = encoding.substring (0, temp); // ... and values may be quoted if ((temp = encoding.indexOf ('"')) > 0) encoding = encoding.substring (temp + 1, encoding.indexOf ('"', temp + 2)); encoding.trim (); } else { handler.warn ("ignoring illegal MIME attribute: " + encoding); encoding = null; } } } } // if we got an external encoding label, use it ... if (encoding != null) { this.encoding = ENCODING_EXTERNAL; setupDecoding (encoding); ignoreEncoding = true; // ... else autodetect from first bytes. } else { detectEncoding (); ignoreEncoding = false; } // Read any XML or text declaration. // If we autodetected, it may tell us the "real" encoding. try { tryEncodingDecl (ignoreEncoding); } catch (UnsupportedEncodingException x) { encoding = x.getMessage (); // if we don't handle the declared encoding, // try letting a JVM InputStreamReader do it try { if (sourceType != INPUT_STREAM) throw x; is.reset (); readBufferPos = 0; readBufferLength = 0; readBufferOverflow = -1; line = 1; currentByteCount = column = 0; sourceType = INPUT_READER; this.reader = new InputStreamReader (is, encoding); is = null; tryEncodingDecl (true); } catch (IOException e) { error ("unsupported text encoding", encoding, null); } } }
|
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/7fb7568e63c3fe14af521de4699cb37898923ca7/XmlParser.java/clean/libjava/gnu/xml/aelfred2/XmlParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1817,
1785,
261,
3639,
1250,
202,
202,
291,
1423,
16,
202,
780,
202,
202,
1069,
16,
202,
780,
202,
202,
2232,
5378,
16,
202,
202,
759,
1071,
16,
2619,
16,
1026,
3098,
202,
2514,
202,
202,
10530,
16,
202,
4348,
202,
3256,
16,
202,
780,
202,
202,
5999,
16,
202,
6494,
202,
202,
2896,
8460,
565,
262,
1216,
14366,
16,
1860,
565,
288,
202,
6494,
202,
202,
6185,
4705,
31,
202,
780,
202,
202,
4299,
548,
31,
202,
1210,
1830,
202,
3168,
31,
202,
430,
16051,
291,
1423,
13,
202,
565,
501,
1892,
8207,
261,
1769,
202,
24638,
505,
18,
542,
4782,
548,
261,
2232,
306,
20,
19226,
202,
24638,
505,
18,
542,
3163,
548,
261,
2232,
306,
21,
19226,
202,
759,
2164,
309,
732,
1410,
2488,
578,
14811,
326,
1522,
18,
202,
759,
971,
732,
4565,
486,
14195,
16,
17188,
10557,
787,
1943,
1435,
202,
759,
471,
4533,
326,
261,
4176,
1807,
13,
2110,
434,
24565,
18,
202,
430,
261,
2896,
8460,
13,
288,
202,
565,
368,
1815,
261,
3256,
422,
446,
597,
2949,
422,
446,
597,
2688,
422,
446,
13,
202,
565,
1084,
273,
1838,
18,
10828,
1943,
261,
291,
1423,
16,
570,
339,
16,
15289,
16,
3258,
306,
22,
19226,
202,
565,
309,
261,
3168,
422,
446,
13,
288,
202,
202,
4176,
18,
8935,
7566,
7457,
1382,
1522,
30,
315,
397,
570,
339,
1769,
202,
202,
4176,
18,
25346,
1943,
261,
1069,
1769,
202,
202,
430,
261,
291,
1423,
13,
1082,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1817,
1785,
261,
3639,
1250,
202,
202,
291,
1423,
16,
202,
780,
202,
202,
1069,
16,
202,
780,
202,
202,
2232,
5378,
16,
202,
202,
759,
1071,
16,
2619,
16,
1026,
3098,
202,
2514,
202,
202,
10530,
16,
202,
4348,
202,
3256,
16,
202,
780,
202,
202,
5999,
16,
202,
6494,
202,
202,
2896,
8460,
565,
262,
1216,
14366,
16,
1860,
565,
288,
202,
6494,
202,
202,
6185,
4705,
31,
202,
780,
202,
202,
4299,
548,
31,
202,
1210,
1830,
202,
3168,
31,
202,
430,
16051,
291,
1423,
13,
202,
565,
501,
1892,
8207,
261,
1769,
202,
24638,
505,
18,
542,
4782,
548,
261,
2232,
306,
20,
19226,
202,
24638,
505,
18,
542,
3163,
548,
261,
2
] |
if(log.isInfoEnabled()) log.info("created unicast receiver thread");
|
if(log.isDebugEnabled()) log.debug("created unicast receiver thread");
|
void startThreads() throws Exception { if(ucast_receiver == null) { //start the listener thread of the ucast_recv_sock ucast_receiver=new UcastReceiver(); ucast_receiver.start(); if(log.isInfoEnabled()) log.info("created unicast receiver thread"); } if(ip_mcast) { if(mcast_receiver != null) { if(mcast_receiver.isAlive()) { if(log.isInfoEnabled()) log.info("did not create new multicastreceiver thread as existing " + "multicast receiver thread is still running"); } else mcast_receiver=null; // will be created just below... } if(mcast_receiver == null) { mcast_receiver=new Thread(this, "UDP mcast receiver"); mcast_receiver.setPriority(Thread.MAX_PRIORITY); // needed ???? mcast_receiver.setDaemon(true); mcast_receiver.start(); } } if(use_outgoing_packet_handler) outgoing_packet_handler.start(); if(use_incoming_packet_handler) incoming_packet_handler.start(); }
|
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/f4d48c5d12530ffb09ab46034b71d9594b0f1287/UDP.java/buggy/src/org/jgroups/protocols/UDP.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
787,
13233,
1435,
1216,
1185,
288,
3639,
309,
12,
89,
4155,
67,
24454,
422,
446,
13,
288,
5411,
368,
1937,
326,
2991,
2650,
434,
326,
582,
4155,
67,
18334,
67,
15031,
5411,
582,
4155,
67,
24454,
33,
2704,
587,
4155,
12952,
5621,
5411,
582,
4155,
67,
24454,
18,
1937,
5621,
2398,
309,
12,
1330,
18,
291,
2829,
1526,
10756,
613,
18,
4148,
2932,
4824,
640,
12544,
5971,
2650,
8863,
3639,
289,
3639,
309,
12,
625,
67,
81,
4155,
13,
288,
5411,
309,
12,
81,
4155,
67,
24454,
480,
446,
13,
288,
7734,
309,
12,
81,
4155,
67,
24454,
18,
291,
10608,
10756,
288,
13491,
309,
12,
1330,
18,
291,
966,
1526,
10756,
613,
18,
1376,
2932,
14044,
486,
752,
394,
24470,
24454,
2650,
487,
2062,
315,
397,
4766,
282,
315,
5421,
12544,
5971,
2650,
353,
4859,
3549,
8863,
7734,
289,
7734,
469,
10792,
312,
4155,
67,
24454,
33,
2011,
31,
368,
903,
506,
2522,
2537,
5712,
2777,
5411,
289,
5411,
309,
12,
81,
4155,
67,
24454,
422,
446,
13,
288,
7734,
312,
4155,
67,
24454,
33,
2704,
4884,
12,
2211,
16,
315,
20352,
312,
4155,
5971,
8863,
7734,
312,
4155,
67,
24454,
18,
542,
8183,
12,
3830,
18,
6694,
67,
19804,
1769,
368,
3577,
5317,
14646,
7734,
312,
4155,
67,
24454,
18,
542,
12858,
12,
3767,
1769,
7734,
312,
4155,
67,
24454,
18,
1937,
5621,
5411,
289,
3639,
289,
3639,
309,
12,
1202,
67,
31891,
67,
11482,
67,
4176,
13,
5411,
12902,
67,
11482,
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,
918,
787,
13233,
1435,
1216,
1185,
288,
3639,
309,
12,
89,
4155,
67,
24454,
422,
446,
13,
288,
5411,
368,
1937,
326,
2991,
2650,
434,
326,
582,
4155,
67,
18334,
67,
15031,
5411,
582,
4155,
67,
24454,
33,
2704,
587,
4155,
12952,
5621,
5411,
582,
4155,
67,
24454,
18,
1937,
5621,
2398,
309,
12,
1330,
18,
291,
2829,
1526,
10756,
613,
18,
4148,
2932,
4824,
640,
12544,
5971,
2650,
8863,
3639,
289,
3639,
309,
12,
625,
67,
81,
4155,
13,
288,
5411,
309,
12,
81,
4155,
67,
24454,
480,
446,
13,
288,
7734,
309,
12,
81,
4155,
67,
24454,
18,
291,
10608,
10756,
288,
13491,
309,
12,
1330,
18,
291,
966,
1526,
10756,
613,
18,
1376,
2932,
14044,
2
] |
if (part.getToolBar() != null)
|
} if (part.getToolBar() != null) {
|
public Control[] getTabList(IPresentablePart part) { ArrayList list = new ArrayList(); if (paneFolder.getTabPosition() == SWT.BOTTOM) { if (part.getToolBar() != null) list.add(part.getToolBar()); if (part.getControl() != null) list.add(part.getControl()); if (getPaneFolder() != null) list.add(getPaneFolder().getControl()); } else { if (getPaneFolder() != null) list.add(getPaneFolder().getControl()); if (part.getToolBar() != null) list.add(part.getToolBar()); if (part.getControl() != null) list.add(part.getControl()); } return (Control[]) list.toArray(new Control[list.size()]); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3a23c3b9bac4db696a0452560047155775a707b7/R21BasicStackPresentation.java/buggy/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/R21BasicStackPresentation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8888,
8526,
3181,
378,
682,
12,
2579,
1581,
429,
1988,
1087,
13,
288,
202,
202,
19558,
666,
273,
394,
2407,
5621,
202,
202,
430,
261,
29009,
3899,
18,
588,
5661,
2555,
1435,
422,
348,
8588,
18,
28891,
13,
288,
1082,
202,
430,
261,
2680,
18,
588,
6364,
5190,
1435,
480,
446,
13,
9506,
202,
1098,
18,
1289,
12,
2680,
18,
588,
6364,
5190,
10663,
1082,
202,
430,
261,
2680,
18,
588,
3367,
1435,
480,
446,
13,
9506,
202,
1098,
18,
1289,
12,
2680,
18,
588,
3367,
10663,
1082,
202,
430,
261,
588,
8485,
3899,
1435,
480,
446,
13,
9506,
202,
1098,
18,
1289,
12,
588,
8485,
3899,
7675,
588,
3367,
10663,
202,
202,
97,
469,
288,
1082,
202,
430,
261,
588,
8485,
3899,
1435,
480,
446,
13,
9506,
202,
1098,
18,
1289,
12,
588,
8485,
3899,
7675,
588,
3367,
10663,
1082,
202,
430,
261,
2680,
18,
588,
6364,
5190,
1435,
480,
446,
13,
9506,
202,
1098,
18,
1289,
12,
2680,
18,
588,
6364,
5190,
10663,
1082,
202,
430,
261,
2680,
18,
588,
3367,
1435,
480,
446,
13,
9506,
202,
1098,
18,
1289,
12,
2680,
18,
588,
3367,
10663,
202,
202,
97,
202,
202,
2463,
261,
3367,
63,
5717,
666,
18,
31447,
12,
2704,
8888,
63,
1098,
18,
1467,
1435,
19226,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
8888,
8526,
3181,
378,
682,
12,
2579,
1581,
429,
1988,
1087,
13,
288,
202,
202,
19558,
666,
273,
394,
2407,
5621,
202,
202,
430,
261,
29009,
3899,
18,
588,
5661,
2555,
1435,
422,
348,
8588,
18,
28891,
13,
288,
1082,
202,
430,
261,
2680,
18,
588,
6364,
5190,
1435,
480,
446,
13,
9506,
202,
1098,
18,
1289,
12,
2680,
18,
588,
6364,
5190,
10663,
1082,
202,
430,
261,
2680,
18,
588,
3367,
1435,
480,
446,
13,
9506,
202,
1098,
18,
1289,
12,
2680,
18,
588,
3367,
10663,
1082,
202,
430,
261,
588,
8485,
3899,
1435,
480,
446,
13,
9506,
202,
1098,
18,
1289,
12,
588,
8485,
3899,
7675,
588,
3367,
10663,
202,
202,
97,
469,
288,
2
] |
Connection con = null; PreparedStatement pstmt = null; try { con = DbConnectionManager.getConnection(); pstmt = con.prepareStatement(DELETE_OFFLINE_MESSAGE); pstmt.setString(1, username); pstmt.setString(2, StringUtils.dateToMillis(creationDate)); pstmt.executeUpdate(); removeUsernameFromSizeCache(username); } catch (Exception e) { Log.error("Error deleting offline messages of username: " + username + " creationDate: " + creationDate, e); } finally { try { if (pstmt != null) { pstmt.close(); } } catch (Exception e) { Log.error(e); } try { if (con != null) { con.close(); } } catch (Exception e) { Log.error(e); } }
|
public void deleteMessage(String username, Date creationDate) { Connection con = null; PreparedStatement pstmt = null; try { con = DbConnectionManager.getConnection(); pstmt = con.prepareStatement(DELETE_OFFLINE_MESSAGE); pstmt.setString(1, username); pstmt.setString(2, StringUtils.dateToMillis(creationDate)); pstmt.executeUpdate(); //force a refresh for next call to getSize(username) //its easier than loading the msg to be deleted just //to update the cache. removeUsernameFromSizeCache(username); } catch (Exception e) { Log.error("Error deleting offline messages of username: " + username + " creationDate: " + creationDate, e); } finally { try { if (pstmt != null) { pstmt.close(); } } catch (Exception e) { Log.error(e); } try { if (con != null) { con.close(); } } catch (Exception e) { Log.error(e); } } }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/7e4a3aa5147f0e6e563081e1ad67cb8de96075be/OfflineMessageStore.java/buggy/ZimbraServer/src/java/com/zimbra/cs/im/xmpp/srv/OfflineMessageStore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1430,
1079,
12,
780,
2718,
16,
2167,
6710,
1626,
13,
288,
3639,
4050,
356,
273,
446,
31,
3639,
16913,
293,
10589,
273,
446,
31,
3639,
775,
288,
5411,
356,
273,
8408,
1952,
1318,
18,
588,
1952,
5621,
5411,
293,
10589,
273,
356,
18,
9366,
3406,
12,
6460,
67,
8797,
5997,
67,
8723,
1769,
5411,
293,
10589,
18,
542,
780,
12,
21,
16,
2718,
1769,
5411,
293,
10589,
18,
542,
780,
12,
22,
16,
5778,
18,
712,
774,
4814,
12,
17169,
1626,
10019,
5411,
293,
10589,
18,
8837,
1891,
5621,
13491,
368,
5734,
279,
4460,
364,
1024,
745,
358,
9950,
12,
5053,
13,
5411,
368,
1282,
15857,
2353,
7153,
326,
1234,
358,
506,
4282,
2537,
5411,
368,
869,
1089,
326,
1247,
18,
5411,
1206,
8575,
1265,
1225,
1649,
12,
5053,
1769,
3639,
289,
3639,
1044,
261,
503,
425,
13,
288,
5411,
1827,
18,
1636,
2932,
668,
12993,
13493,
2743,
434,
2718,
30,
315,
397,
2718,
397,
10792,
315,
6710,
1626,
30,
315,
397,
6710,
1626,
16,
425,
1769,
3639,
289,
3639,
3095,
288,
5411,
775,
288,
309,
261,
84,
10589,
480,
446,
13,
288,
293,
10589,
18,
4412,
5621,
289,
289,
5411,
1044,
261,
503,
425,
13,
288,
1827,
18,
1636,
12,
73,
1769,
289,
5411,
775,
288,
309,
261,
591,
480,
446,
13,
288,
356,
18,
4412,
5621,
289,
289,
5411,
1044,
261,
503,
425,
13,
288,
1827,
18,
1636,
12,
73,
1769,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1430,
1079,
12,
780,
2718,
16,
2167,
6710,
1626,
13,
288,
3639,
4050,
356,
273,
446,
31,
3639,
16913,
293,
10589,
273,
446,
31,
3639,
775,
288,
5411,
356,
273,
8408,
1952,
1318,
18,
588,
1952,
5621,
5411,
293,
10589,
273,
356,
18,
9366,
3406,
12,
6460,
67,
8797,
5997,
67,
8723,
1769,
5411,
293,
10589,
18,
542,
780,
12,
21,
16,
2718,
1769,
5411,
293,
10589,
18,
542,
780,
12,
22,
16,
5778,
18,
712,
774,
4814,
12,
17169,
1626,
10019,
5411,
293,
10589,
18,
8837,
1891,
5621,
13491,
368,
5734,
279,
4460,
364,
1024,
745,
358,
9950,
12,
5053,
13,
5411,
368,
1282,
15857,
2353,
7153,
326,
1234,
358,
506,
4282,
2537,
5411,
368,
2
] |
|
logger.info("Loading ConceptDAO bean");
|
logger.debug("Loading ConceptDAO bean");
|
public synchronized static void init() { ApplicationContextFactory.init(new String[] {"spring-datasources.xml", "applicationContext.xml" }); logger.info("Loading DataElementDAO bean"); dataElementDAO = (DataElementDAO) ApplicationContextFactory.getApplicationContext() .getBean("dataElementDAO"); logger.info("Loading AdminComponentDAO bean"); adminComponentDAO = (AdminComponentDAO) ApplicationContextFactory.getApplicationContext() .getBean("adminComponentDAO"); logger.info("Loading DataElementConceptDAO bean"); dataElementConceptDAO = (DataElementConceptDAO) ApplicationContextFactory.getApplicationContext() .getBean("dataElementConceptDAO"); logger.info("Loading VDDAO bean"); valueDomainDAO = (ValueDomainDAO) ApplicationContextFactory.getApplicationContext() .getBean("valueDomainDAO"); logger.info("Loading PropertyDAO bean"); propertyDAO = (PropertyDAO) ApplicationContextFactory.getApplicationContext() .getBean("propertyDAO"); logger.info("Loading ObjectClassDAO bean"); objectClassDAO = (ObjectClassDAO) ApplicationContextFactory.getApplicationContext() .getBean("objectClassDAO"); logger.info("Loading ObjectClassRelationshipDAO bean"); objectClassRelationshipDAO = (ObjectClassRelationshipDAO) ApplicationContextFactory.getApplicationContext() .getBean("objectClassRelationshipDAO"); logger.info("Loading CSDAO bean"); classificationSchemeDAO = (ClassificationSchemeDAO) ApplicationContextFactory.getApplicationContext() .getBean("classificationSchemeDAO"); logger.info("Loading CSIDAO bean"); classificationSchemeItemDAO = (ClassificationSchemeItemDAO) ApplicationContextFactory.getApplicationContext() .getBean("classificationSchemeItemDAO"); logger.info("Loading CSIDAO bean"); classSchemeClassSchemeItemDAO = (ClassSchemeClassSchemeItemDAO) ApplicationContextFactory.getApplicationContext() .getBean("classSchemeClassSchemeItemDAO"); logger.info("Loading ConceptDAO bean"); conceptDAO = (ConceptDAO) ApplicationContextFactory.getApplicationContext() .getBean("conceptDAO"); logger.info("Loading ContextDAO bean"); contextDAO = (ContextDAO) ApplicationContextFactory.getApplicationContext() .getBean("contextDAO"); logger.info("Loading CDDAO bean"); conceptualDomainDAO = (ConceptualDomainDAO) ApplicationContextFactory.getApplicationContext() .getBean("conceptualDomainDAO"); logger.info("Loading LoaderDAO bean"); loaderDAO = (LoaderDAO) ApplicationContextFactory.getApplicationContext() .getBean("loaderDAO"); }
|
55019 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55019/e61c2b6eb7027760d71990e4e8586b04e6f94b90/DAOAccessor.java/buggy/src/gov/nih/nci/ncicb/cadsr/loader/util/DAOAccessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
760,
918,
1208,
1435,
225,
288,
565,
4257,
29871,
18,
2738,
12,
2704,
514,
8526,
12528,
87,
11638,
17,
13178,
1418,
18,
2902,
3113,
315,
3685,
1042,
18,
2902,
6,
15549,
565,
1194,
18,
1376,
2932,
10515,
1910,
1046,
18485,
3931,
8863,
565,
501,
1046,
18485,
273,
261,
751,
1046,
18485,
13,
4257,
29871,
18,
588,
28278,
1435,
1377,
263,
588,
3381,
2932,
892,
1046,
18485,
8863,
565,
1194,
18,
1376,
2932,
10515,
7807,
1841,
18485,
3931,
8863,
565,
3981,
1841,
18485,
273,
261,
4446,
1841,
18485,
13,
4257,
29871,
18,
588,
28278,
1435,
1377,
263,
588,
3381,
2932,
3666,
1841,
18485,
8863,
565,
1194,
18,
1376,
2932,
10515,
1910,
1046,
15433,
18485,
3931,
8863,
565,
501,
1046,
15433,
18485,
273,
261,
751,
1046,
15433,
18485,
13,
4257,
29871,
18,
588,
28278,
1435,
1377,
263,
588,
3381,
2932,
892,
1046,
15433,
18485,
8863,
565,
1194,
18,
1376,
2932,
10515,
776,
5698,
20463,
3931,
8863,
565,
460,
3748,
18485,
273,
261,
620,
3748,
18485,
13,
4257,
29871,
18,
588,
28278,
1435,
1377,
263,
588,
3381,
2932,
1132,
3748,
18485,
8863,
565,
1194,
18,
1376,
2932,
10515,
4276,
18485,
3931,
8863,
565,
1272,
18485,
273,
261,
1396,
18485,
13,
4257,
29871,
18,
588,
28278,
1435,
1377,
263,
588,
3381,
2932,
4468,
18485,
8863,
565,
1194,
18,
1376,
2932,
10515,
1033,
797,
18485,
3931,
8863,
565,
23992,
18485,
273,
261,
921,
797,
18485,
13,
4257,
29871,
18,
588,
28278,
1435,
1377,
263,
588,
3381,
2932,
1612,
797,
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,
3852,
760,
918,
1208,
1435,
225,
288,
565,
4257,
29871,
18,
2738,
12,
2704,
514,
8526,
12528,
87,
11638,
17,
13178,
1418,
18,
2902,
3113,
315,
3685,
1042,
18,
2902,
6,
15549,
565,
1194,
18,
1376,
2932,
10515,
1910,
1046,
18485,
3931,
8863,
565,
501,
1046,
18485,
273,
261,
751,
1046,
18485,
13,
4257,
29871,
18,
588,
28278,
1435,
1377,
263,
588,
3381,
2932,
892,
1046,
18485,
8863,
565,
1194,
18,
1376,
2932,
10515,
7807,
1841,
18485,
3931,
8863,
565,
3981,
1841,
18485,
273,
261,
4446,
1841,
18485,
13,
4257,
29871,
18,
588,
28278,
1435,
1377,
263,
588,
3381,
2932,
3666,
1841,
18485,
8863,
565,
1194,
18,
1376,
2932,
10515,
1910,
1046,
15433,
18485,
3931,
8863,
565,
2
] |
public void testDenialTuple() throws Exception { MaxImmSubFilter filter = new MaxImmSubFilter(); Collection tuples = new ArrayList(); tuples.add( new ACITuple( EMPTY_COLLECTION, AuthenticationLevel.NONE, PROTECTED_ITEMS, EMPTY_SET, false, 0 ) ); tuples = Collections.unmodifiableCollection( tuples ); Assert.assertEquals( tuples, filter.filter( tuples, OperationScope.ENTRY, NEXT_INTERCEPTOR_A, null, null, null, null, ENTRY_NAME, null, null, ENTRY, null ) ); }
|
10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/b94e3a1b9e6127d9b400a876f96637dc4a790ad4/MaxImmSubFilterTest.java/buggy/core/src/test/org/apache/ldap/server/authz/support/MaxImmSubFilterTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
8517,
649,
9038,
1435,
1216,
1185,
565,
288,
3639,
4238,
1170,
81,
1676,
1586,
1034,
273,
394,
4238,
1170,
81,
1676,
1586,
5621,
3639,
2200,
10384,
273,
394,
2407,
5621,
3639,
10384,
18,
1289,
12,
394,
12048,
1285,
2268,
12,
7734,
8984,
67,
25964,
16,
8665,
2355,
18,
9826,
16,
4629,
26729,
67,
29887,
16,
7734,
8984,
67,
4043,
16,
629,
16,
374,
262,
11272,
7734,
10384,
273,
5737,
18,
318,
13388,
2532,
12,
10384,
11272,
7734,
5452,
18,
11231,
8867,
12,
7734,
10384,
16,
1034,
18,
2188,
12,
13491,
10384,
16,
4189,
3876,
18,
19083,
16,
19252,
67,
9125,
14514,
916,
67,
37,
16,
446,
16,
446,
16,
13491,
446,
16,
446,
16,
25516,
67,
1985,
16,
446,
16,
446,
16,
25516,
16,
446,
262,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
8517,
649,
9038,
1435,
1216,
1185,
565,
288,
3639,
4238,
1170,
81,
1676,
1586,
1034,
273,
394,
4238,
1170,
81,
1676,
1586,
5621,
3639,
2200,
10384,
273,
394,
2407,
5621,
3639,
10384,
18,
1289,
12,
394,
12048,
1285,
2268,
12,
7734,
8984,
67,
25964,
16,
8665,
2355,
18,
9826,
16,
4629,
26729,
67,
29887,
16,
7734,
8984,
67,
4043,
16,
629,
16,
374,
262,
11272,
7734,
10384,
273,
5737,
18,
318,
13388,
2532,
12,
10384,
11272,
7734,
5452,
18,
11231,
8867,
12,
7734,
10384,
16,
1034,
18,
2188,
12,
13491,
10384,
16,
4189,
3876,
18,
19083,
16,
19252,
67,
9125,
14514,
916,
67,
37,
16,
446,
16,
446,
16,
13491,
446,
16,
446,
16,
25516,
2
] |
||
final boolean showProgress = PrefUtil.getAPIPreferenceStore().getBoolean(IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP); if(!showProgress) {
|
final boolean showProgress = PrefUtil.getAPIPreferenceStore() .getBoolean( IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP); if (!showProgress) {
|
/* package */void openFirstTimeWindow() { final boolean showProgress = PrefUtil.getAPIPreferenceStore().getBoolean(IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP); if(!showProgress) { doOpenFirstTimeWindow(); } else { // We don't know how many plug-ins will be loaded, // assume we are loading a tenth of the installed plug-ins. // (The Eclipse SDK loads 7 of 86 plug-ins at startup as of 2005-5-20) final int expectedProgressCount = Math.max(1, WorkbenchPlugin .getDefault().getBundleCount() / 10); runStartupWithProgress(expectedProgressCount, new Runnable() { public void run() { doOpenFirstTimeWindow(); } }); } }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/73333dbcd42e60f1026cd0a1b14e2ddb08c2b396/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,
20308,
2181,
1195,
6459,
1696,
3759,
950,
3829,
1435,
288,
202,
202,
6385,
1250,
2405,
5491,
273,
28184,
1304,
18,
588,
2557,
9624,
2257,
7675,
588,
5507,
12,
45,
2421,
22144,
9624,
2918,
18,
16677,
67,
24022,
67,
673,
67,
7570,
3079,
1769,
9506,
202,
430,
12,
5,
4500,
5491,
13,
288,
1082,
202,
2896,
3678,
3759,
950,
3829,
5621,
202,
202,
97,
469,
288,
1082,
202,
759,
1660,
2727,
1404,
5055,
3661,
4906,
15852,
17,
2679,
903,
506,
4203,
16,
1082,
202,
759,
6750,
732,
854,
7153,
279,
268,
319,
76,
434,
326,
5876,
15852,
17,
2679,
18,
1082,
202,
759,
261,
1986,
20840,
10472,
3881,
6277,
2371,
434,
20457,
15852,
17,
2679,
622,
11850,
487,
434,
4044,
25,
17,
25,
17,
3462,
13,
1082,
202,
6385,
509,
2665,
5491,
1380,
273,
2361,
18,
1896,
12,
21,
16,
4147,
22144,
3773,
6862,
202,
18,
588,
1868,
7675,
588,
3405,
1380,
1435,
342,
1728,
1769,
1082,
202,
2681,
22178,
1190,
5491,
12,
3825,
5491,
1380,
16,
394,
10254,
1435,
288,
9506,
202,
482,
918,
1086,
1435,
288,
6862,
202,
2896,
3678,
3759,
950,
3829,
5621,
9506,
202,
97,
1082,
202,
22938,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
20308,
2181,
1195,
6459,
1696,
3759,
950,
3829,
1435,
288,
202,
202,
6385,
1250,
2405,
5491,
273,
28184,
1304,
18,
588,
2557,
9624,
2257,
7675,
588,
5507,
12,
45,
2421,
22144,
9624,
2918,
18,
16677,
67,
24022,
67,
673,
67,
7570,
3079,
1769,
9506,
202,
430,
12,
5,
4500,
5491,
13,
288,
1082,
202,
2896,
3678,
3759,
950,
3829,
5621,
202,
202,
97,
469,
288,
1082,
202,
759,
1660,
2727,
1404,
5055,
3661,
4906,
15852,
17,
2679,
903,
506,
4203,
16,
1082,
202,
759,
6750,
732,
854,
7153,
279,
268,
319,
76,
434,
326,
5876,
15852,
17,
2679,
18,
1082,
202,
759,
261,
1986,
20840,
10472,
3881,
6277,
2371,
434,
20457,
15852,
17,
2679,
622,
11850,
487,
2
] |
Collections.sort(actions, actionComparator); for (Iterator i = actions.iterator(); i.hasNext();) { innerMgr.add((IAction) i.next()); } innerMgr.add(new Separator()); innerMgr.add(showDlgAction); }
|
protected void fillMenu() { // Remove all. IMenuManager innerMgr = getMenuManager(); innerMgr.removeAll(); // If no page disable all. IWorkbenchPage page = getWindow().getActivePage(); if (page == null) return; // If no active perspective disable all if (page.getPerspective() == null) return; // Get visible actions. List viewIds = ((WorkbenchPage) page).getShowViewActions(); viewIds = addOpenedViews(viewIds); List actions = new ArrayList(viewIds.size()); for (Iterator i = viewIds.iterator(); i.hasNext();) { String id = (String) i.next(); IAction action = getAction(id); if (action != null) { actions.add(action); } } Collections.sort(actions, actionComparator); for (Iterator i = actions.iterator(); i.hasNext();) { innerMgr.add((IAction) i.next()); } // Add Other .. innerMgr.add(new Separator()); innerMgr.add(showDlgAction);}
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e20e950fad87c9434ea5cb423007f610e35ee559/ShowViewMenu.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/ShowViewMenu.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
3636,
4599,
1435,
288,
202,
759,
3581,
777,
18,
202,
3445,
2104,
1318,
3443,
9455,
273,
25877,
1318,
5621,
202,
7872,
9455,
18,
4479,
1595,
5621,
202,
759,
971,
1158,
1363,
4056,
777,
18,
202,
45,
2421,
22144,
1964,
1363,
273,
26156,
7675,
588,
3896,
1964,
5621,
202,
430,
261,
2433,
422,
446,
13,
202,
202,
2463,
31,
1082,
202,
759,
971,
1158,
2695,
26651,
4056,
777,
202,
430,
261,
2433,
18,
588,
14781,
16772,
1435,
422,
446,
13,
202,
202,
2463,
31,
1082,
202,
759,
968,
6021,
4209,
18,
202,
682,
1476,
2673,
273,
14015,
2421,
22144,
1964,
13,
1363,
2934,
588,
5706,
1767,
6100,
5621,
202,
1945,
2673,
273,
527,
23115,
9959,
12,
1945,
2673,
1769,
202,
682,
4209,
273,
394,
2407,
12,
1945,
2673,
18,
1467,
10663,
202,
1884,
261,
3198,
277,
273,
1476,
2673,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
202,
202,
780,
612,
273,
261,
780,
13,
277,
18,
4285,
5621,
202,
202,
45,
1803,
1301,
273,
12473,
12,
350,
1769,
202,
202,
430,
261,
1128,
480,
446,
13,
288,
1082,
202,
4905,
18,
1289,
12,
1128,
1769,
202,
202,
97,
202,
97,
202,
15150,
18,
3804,
12,
4905,
16,
1301,
5559,
1769,
202,
1884,
261,
3198,
277,
273,
4209,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
202,
202,
7872,
9455,
18,
1289,
12443,
45,
1803,
13,
277,
18,
4285,
10663,
202,
97,
202,
759,
1436,
4673,
6116,
202,
7872,
9455,
18,
1289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
3636,
4599,
1435,
288,
202,
759,
3581,
777,
18,
202,
3445,
2104,
1318,
3443,
9455,
273,
25877,
1318,
5621,
202,
7872,
9455,
18,
4479,
1595,
5621,
202,
759,
971,
1158,
1363,
4056,
777,
18,
202,
45,
2421,
22144,
1964,
1363,
273,
26156,
7675,
588,
3896,
1964,
5621,
202,
430,
261,
2433,
422,
446,
13,
202,
202,
2463,
31,
1082,
202,
759,
971,
1158,
2695,
26651,
4056,
777,
202,
430,
261,
2433,
18,
588,
14781,
16772,
1435,
422,
446,
13,
202,
202,
2463,
31,
1082,
202,
759,
968,
6021,
4209,
18,
202,
682,
1476,
2673,
273,
14015,
2421,
22144,
1964,
13,
1363,
2934,
588,
5706,
1767,
6100,
5621,
202,
1945,
2673,
273,
527,
23115,
9959,
12,
1945,
2673,
2
] |
|
public DefaultMutableTreeNode(Object userObject)
|
public DefaultMutableTreeNode()
|
public DefaultMutableTreeNode(Object userObject) { this(userObject, true); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2989,
19536,
12513,
1435,
225,
288,
565,
333,
12,
1355,
921,
16,
638,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2989,
19536,
12513,
1435,
225,
288,
565,
333,
12,
1355,
921,
16,
638,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
DomUtil.getRawType(DomUtil.extractCollectionElementType(method.getGenericReturnType())));
|
DomUtil.getRawType(DomImplUtil.extractCollectionElementType(method.getGenericReturnType())));
|
public Object invoke(Object proxy, final Method method, final Object[] args) throws Throwable { if (Object.class.equals(method.getDeclaringClass())) { @NonNls String methodName = method.getName(); if ("toString".equals(methodName)) { return "Merger: " + Arrays.asList(myImplementations); } if ("hashCode".equals(methodName)) { return System.identityHashCode(proxy); } if ("equals".equals(methodName)) { return proxy == args[0]; } return null; } try { if (MergedObject.class.equals(method.getDeclaringClass())) { @NonNls String methodName = method.getName(); if ("findImplementation".equals(methodName)) { return findImplementation((Class<Object>)args[0]); } else if ("getImplementations".equals(methodName)) { return Arrays.asList(myImplementations); } else assert false; } final Class returnType = method.getReturnType(); if (signaturesNotToMerge.size() > 0) { final JavaMethodSignature signature = JavaMethodSignature.getSignature(method); if (signaturesNotToMerge.contains(signature)) { for (final T t : myImplementations) { final Object o = method.invoke(t, args); if (o != null) return o; } return null; } } if (Collection.class.isAssignableFrom(returnType)) { return getMergedImplementations(method, args, DomUtil.getRawType(DomUtil.extractCollectionElementType(method.getGenericReturnType()))); } if (GenericValue.class.isAssignableFrom(returnType)) { return new MergedGenericValue(method, args); } if (void.class == returnType) { for (final T t : myImplementations) { method.invoke(t, args); } return null; } List<Object> results = getMergedImplementations(method, args, method.getReturnType()); return results.isEmpty() ? null : results.get(0); } catch (InvocationTargetException ex) { throw ex.getTargetException(); } }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/fbc827e12bb3beeba28ec217f3893304ec577f78/ModelMerger.java/buggy/source/com/intellij/util/xml/ModelMerger.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
4356,
12,
921,
2889,
16,
727,
2985,
707,
16,
727,
1033,
8526,
833,
13,
1216,
4206,
288,
1377,
309,
261,
921,
18,
1106,
18,
14963,
12,
2039,
18,
588,
3456,
14682,
1435,
3719,
288,
3639,
632,
3989,
50,
3251,
514,
4918,
273,
707,
18,
17994,
5621,
3639,
309,
7566,
10492,
9654,
14963,
12,
2039,
461,
3719,
288,
1850,
327,
315,
8478,
693,
30,
315,
397,
5647,
18,
345,
682,
12,
4811,
5726,
1012,
1769,
3639,
289,
3639,
309,
7566,
2816,
1085,
9654,
14963,
12,
2039,
461,
3719,
288,
1850,
327,
2332,
18,
10781,
21952,
12,
5656,
1769,
3639,
289,
3639,
309,
7566,
14963,
9654,
14963,
12,
2039,
461,
3719,
288,
1850,
327,
2889,
422,
833,
63,
20,
15533,
3639,
289,
3639,
327,
446,
31,
1377,
289,
1377,
775,
288,
3639,
309,
261,
19043,
921,
18,
1106,
18,
14963,
12,
2039,
18,
588,
3456,
14682,
1435,
3719,
288,
1850,
632,
3989,
50,
3251,
514,
4918,
273,
707,
18,
17994,
5621,
1850,
309,
7566,
4720,
13621,
9654,
14963,
12,
2039,
461,
3719,
288,
5411,
327,
1104,
13621,
12443,
797,
32,
921,
23429,
1968,
63,
20,
19226,
1850,
289,
1850,
469,
309,
7566,
588,
5726,
1012,
9654,
14963,
12,
2039,
461,
3719,
288,
5411,
327,
5647,
18,
345,
682,
12,
4811,
5726,
1012,
1769,
1850,
289,
1850,
469,
1815,
629,
31,
3639,
289,
3639,
727,
1659,
9424,
273,
707,
18,
588,
9102,
5621,
3639,
309,
261,
30730,
1248,
774,
6786,
18,
1467,
1435,
405,
374,
13,
288,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
4356,
12,
921,
2889,
16,
727,
2985,
707,
16,
727,
1033,
8526,
833,
13,
1216,
4206,
288,
1377,
309,
261,
921,
18,
1106,
18,
14963,
12,
2039,
18,
588,
3456,
14682,
1435,
3719,
288,
3639,
632,
3989,
50,
3251,
514,
4918,
273,
707,
18,
17994,
5621,
3639,
309,
7566,
10492,
9654,
14963,
12,
2039,
461,
3719,
288,
1850,
327,
315,
8478,
693,
30,
315,
397,
5647,
18,
345,
682,
12,
4811,
5726,
1012,
1769,
3639,
289,
3639,
309,
7566,
2816,
1085,
9654,
14963,
12,
2039,
461,
3719,
288,
1850,
327,
2332,
18,
10781,
21952,
12,
5656,
1769,
3639,
289,
3639,
309,
7566,
14963,
9654,
14963,
12,
2039,
461,
3719,
288,
1850,
327,
2889,
422,
833,
63,
2
] |
try
|
try
|
public void establish_components(IORInfo info) { // see if SAS policy is set if (sasContext == null) return; SASPolicyValues sasValues = null; try { SASPolicy policy = (SASPolicy)((IORInfoImpl)info).get_effective_policy(SAS_POLICY_TYPE.value); if (policy != null) sasValues = policy.value(); } catch (BAD_PARAM e) { if (logger.isDebugEnabled()) logger.debug("No SAS Policy"); } catch (Exception e) { if (logger.isWarnEnabled()) logger.warn("Error fetching SAS policy: "+e); } if (sasValues == null) return; if (sasValues.targetRequires == 0 && sasValues.targetSupports == 0) return; ATLASPolicyValues atlasValues = null; try { ATLASPolicy policy = (ATLASPolicy)info.get_effective_policy(ATLAS_POLICY_TYPE.value); if (policy != null) atlasValues = policy.value(); } catch (BAD_PARAM e) { if (logger.isDebugEnabled()) logger.debug("No ATLAS Policy"); } catch (Exception e) { if (logger.isWarnEnabled()) logger.warn("Error fetching ATLAS policy: "+e); } // generate SAS tag try { if( tc == null ) { // for now, no transport mechanizms TaggedComponent transportMech = new TaggedComponent(TAG_NULL_TAG.value, new byte[0]); // the AS_ContextSec byte[] targetName = sasContext.getClientPrincipal().getBytes(); ServiceConfiguration[] serviceConfiguration = null; if (atlasValues == null) { serviceConfiguration = new ServiceConfiguration[0]; } else { if (atlasValues.atlasCache == null) atlasValues.atlasCache = ""; ATLASLocator atlasLoc = new ATLASLocator(); atlasLoc.the_url(atlasValues.atlasURL); ATLASProfile profile = new ATLASProfile(); profile.the_cache_id = atlasValues.atlasCache.getBytes(); profile.the_locator = atlasLoc; byte[] cdrProfile = new byte[0]; org.omg.CORBA.Any any = orb.create_any(); ATLASProfileHelper.insert( any, profile ); cdrProfile = codec.encode(any); serviceConfiguration = new ServiceConfiguration[1]; serviceConfiguration[0] = new ServiceConfiguration(SCS_ATLAS.value, cdrProfile); } SAS_ContextSec sasContextSec = new SAS_ContextSec((short)0, (short)0, serviceConfiguration, new byte[0][0], 0); // create the security mech list boolean useStateful = config.getAttributeAsBoolean("jacorb.security.sas.stateful", true); CompoundSecMech[] compoundSecMech = new CompoundSecMech[1]; Oid oid = new Oid(sasContext.getMechOID()); byte[] clientAuthenticationMech = oid.getDER(); AS_ContextSec asContextSec = new AS_ContextSec(sasValues.targetSupports, sasValues.targetRequires, clientAuthenticationMech, targetName); compoundSecMech[0] = new CompoundSecMech(sasValues.targetRequires, transportMech, asContextSec, sasContextSec); CompoundSecMechList compoundSecMechList = new CompoundSecMechList(useStateful, compoundSecMech); // export to tagged component CDROutputStream sasDataStream = new CDROutputStream( orb ); sasDataStream.beginEncapsulatedArray(); CompoundSecMechListHelper.write( sasDataStream , compoundSecMechList ); tc = new TaggedComponent( TAG_CSI_SEC_MECH_LIST.value, sasDataStream.getBufferCopy() ); sasDataStream.close (); sasDataStream = null; } info.add_ior_component_to_profile (tc, TAG_INTERNET_IOP.value); } catch (Exception e) { if (logger.isErrorEnabled()) logger.error("establish_components error: ", e); } }
|
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/7dc258e1d898c133fa8113c1af1594d926e8ccff/SASComponentInterceptor.java/buggy/src/org/jacorb/orb/standardInterceptors/SASComponentInterceptor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
18312,
67,
8119,
12,
45,
916,
966,
1123,
13,
565,
288,
3639,
368,
2621,
309,
24380,
3329,
353,
444,
3639,
309,
261,
29361,
1042,
422,
446,
13,
2398,
327,
31,
3639,
24380,
2582,
1972,
16375,
1972,
273,
446,
31,
3639,
775,
540,
288,
5411,
24380,
2582,
3329,
273,
1171,
261,
55,
3033,
2582,
13,
12443,
45,
916,
28015,
13,
1376,
2934,
588,
67,
28894,
67,
5086,
12,
55,
3033,
67,
26366,
67,
2399,
18,
1132,
1769,
5411,
309,
261,
5086,
480,
446,
13,
1171,
16375,
1972,
273,
3329,
18,
1132,
5621,
3639,
289,
540,
1044,
261,
16234,
67,
8388,
425,
13,
540,
288,
5411,
309,
261,
4901,
18,
291,
2829,
1526,
10756,
7734,
1194,
18,
4148,
2932,
2279,
24380,
7436,
8863,
3639,
289,
540,
1044,
261,
503,
425,
13,
540,
288,
5411,
309,
261,
4901,
18,
291,
3160,
1526,
10756,
7734,
1194,
18,
8935,
2932,
668,
16191,
24380,
3329,
30,
13773,
73,
1769,
3639,
289,
3639,
309,
261,
29361,
1972,
422,
446,
13,
2398,
327,
31,
3639,
309,
261,
29361,
1972,
18,
3299,
21671,
422,
374,
597,
16375,
1972,
18,
3299,
27878,
422,
374,
13,
2398,
327,
31,
3639,
14464,
2534,
55,
2582,
1972,
22339,
1972,
273,
446,
31,
3639,
775,
540,
288,
5411,
14464,
2534,
55,
2582,
3329,
273,
1171,
261,
789,
2534,
55,
2582,
13,
1376,
18,
588,
67,
28894,
67,
5086,
12,
789,
2534,
55,
67,
26366,
67,
2399,
18,
1132,
1769,
5411,
309,
261,
5086,
480,
446,
13,
1171,
22339,
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,
18312,
67,
8119,
12,
45,
916,
966,
1123,
13,
565,
288,
3639,
368,
2621,
309,
24380,
3329,
353,
444,
3639,
309,
261,
29361,
1042,
422,
446,
13,
2398,
327,
31,
3639,
24380,
2582,
1972,
16375,
1972,
273,
446,
31,
3639,
775,
540,
288,
5411,
24380,
2582,
3329,
273,
1171,
261,
55,
3033,
2582,
13,
12443,
45,
916,
28015,
13,
1376,
2934,
588,
67,
28894,
67,
5086,
12,
55,
3033,
67,
26366,
67,
2399,
18,
1132,
1769,
5411,
309,
261,
5086,
480,
446,
13,
1171,
16375,
1972,
273,
3329,
18,
1132,
5621,
3639,
289,
540,
1044,
261,
16234,
67,
8388,
425,
13,
540,
288,
5411,
309,
261,
4901,
18,
291,
2829,
1526,
10756,
7734,
1194,
18,
4148,
2
] |
if (pair.startsWith("Length="))
|
if (pair.startsWith("Length=") || pair.startsWith("length="))
|
protected void WriteSpecialResponse(String specialcase) throws IOException { WriteOutFile("docs/generic.res"); StringTokenizer st = new StringTokenizer(specialcase, " &"); while (st.hasMoreTokens()) { String pair = st.nextToken(); if (pair.startsWith("Length=")) { int len = Integer.valueOf(pair.substring(pair.indexOf('=')+1), 10).intValue(); out.println("Date: " + (new Date()).toString()); out.println("Content-Length: " + len); out.println("\n"); for (int i = 0; i<len ; i++) { if ((i % 80) == 0) out.print('\n'); else out.print('#'); out.flush(); } return; } } }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/623ba9e19994c1c14f827fe0a0f8cec8b7a781da/ScriptFile.java/buggy/netwerk/testserver/ScriptFile.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2598,
12193,
1064,
12,
780,
4582,
3593,
13,
1216,
1860,
288,
202,
202,
3067,
1182,
812,
2932,
8532,
19,
13540,
18,
455,
8863,
202,
202,
780,
10524,
384,
273,
394,
16370,
12,
9371,
3593,
16,
315,
473,
8863,
202,
202,
17523,
261,
334,
18,
5332,
7417,
5157,
10756,
288,
1082,
565,
514,
3082,
273,
384,
18,
4285,
1345,
5621,
377,
202,
202,
430,
261,
6017,
18,
17514,
1190,
2932,
1782,
1546,
13,
747,
3082,
18,
17514,
1190,
2932,
2469,
1546,
3719,
377,
202,
202,
95,
7734,
509,
562,
273,
2144,
18,
1132,
951,
12,
6017,
18,
28023,
12,
6017,
18,
31806,
2668,
2218,
27921,
21,
3631,
1728,
2934,
474,
620,
5621,
377,
1082,
202,
659,
18,
8222,
2932,
1626,
30,
315,
397,
261,
2704,
2167,
1435,
2934,
10492,
10663,
377,
1082,
202,
659,
18,
8222,
2932,
1350,
17,
1782,
30,
315,
397,
562,
1769,
377,
1082,
202,
659,
18,
8222,
31458,
82,
8863,
377,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
32,
1897,
274,
277,
27245,
377,
1082,
202,
95,
377,
9506,
565,
309,
14015,
77,
738,
8958,
13,
422,
374,
13,
377,
9506,
3639,
596,
18,
1188,
2668,
64,
82,
8284,
377,
9506,
565,
469,
377,
9506,
3639,
596,
18,
1188,
2668,
7,
8284,
377,
9506,
565,
596,
18,
11330,
5621,
377,
1082,
202,
97,
377,
1082,
202,
2463,
31,
377,
202,
202,
97,
377,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2598,
12193,
1064,
12,
780,
4582,
3593,
13,
1216,
1860,
288,
202,
202,
3067,
1182,
812,
2932,
8532,
19,
13540,
18,
455,
8863,
202,
202,
780,
10524,
384,
273,
394,
16370,
12,
9371,
3593,
16,
315,
473,
8863,
202,
202,
17523,
261,
334,
18,
5332,
7417,
5157,
10756,
288,
1082,
565,
514,
3082,
273,
384,
18,
4285,
1345,
5621,
377,
202,
202,
430,
261,
6017,
18,
17514,
1190,
2932,
1782,
1546,
13,
747,
3082,
18,
17514,
1190,
2932,
2469,
1546,
3719,
377,
202,
202,
95,
7734,
509,
562,
273,
2144,
18,
1132,
951,
12,
6017,
18,
28023,
12,
6017,
18,
31806,
2668,
2218,
27921,
21,
3631,
1728,
2934,
474,
620,
5621,
377,
1082,
202,
659,
2
] |
if (res == null)
|
if (res == null) {
|
public boolean isEnabledFor(Object object) { if (object == null) { return false; } // Try out the object first. if (preciselyMatches(object)) { return true; } // Try out the underlying resource. Class resourceClass = LegacyResourceSupport.getResourceClass(); if (resourceClass == null) { return false; } if (resourceClass.isInstance(object)) { return false; } Object res = null; if (object instanceof IAdaptable) { res = ((IAdaptable) object).getAdapter(resourceClass); } if (res == null) return false; return preciselyMatches(res); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ActionExpression.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionExpression.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
12047,
1290,
12,
921,
733,
13,
288,
1082,
202,
430,
261,
1612,
422,
446,
13,
288,
9506,
202,
2463,
629,
31,
1082,
202,
97,
1082,
202,
759,
6161,
596,
326,
733,
1122,
18,
1082,
202,
430,
261,
4036,
291,
2357,
6869,
12,
1612,
3719,
288,
9506,
202,
2463,
638,
31,
1082,
202,
97,
1082,
202,
759,
6161,
596,
326,
6808,
1058,
18,
1082,
202,
797,
19284,
273,
22781,
1420,
6289,
18,
588,
1420,
797,
5621,
1082,
202,
430,
261,
3146,
797,
422,
446,
13,
288,
9506,
202,
2463,
629,
31,
1082,
202,
97,
1082,
202,
430,
261,
3146,
797,
18,
291,
1442,
12,
1612,
3719,
288,
9506,
202,
2463,
629,
31,
1082,
202,
97,
1082,
202,
921,
400,
273,
446,
31,
1082,
202,
430,
261,
1612,
1276,
467,
13716,
429,
13,
288,
9506,
202,
455,
273,
14015,
45,
13716,
429,
13,
733,
2934,
588,
4216,
12,
3146,
797,
1769,
1082,
202,
97,
1082,
202,
430,
261,
455,
422,
446,
13,
9506,
202,
2463,
629,
31,
1082,
202,
2463,
13382,
291,
2357,
6869,
12,
455,
1769,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1250,
12047,
1290,
12,
921,
733,
13,
288,
1082,
202,
430,
261,
1612,
422,
446,
13,
288,
9506,
202,
2463,
629,
31,
1082,
202,
97,
1082,
202,
759,
6161,
596,
326,
733,
1122,
18,
1082,
202,
430,
261,
4036,
291,
2357,
6869,
12,
1612,
3719,
288,
9506,
202,
2463,
638,
31,
1082,
202,
97,
1082,
202,
759,
6161,
596,
326,
6808,
1058,
18,
1082,
202,
797,
19284,
273,
22781,
1420,
6289,
18,
588,
1420,
797,
5621,
1082,
202,
430,
261,
3146,
797,
422,
446,
13,
288,
9506,
202,
2463,
629,
31,
1082,
202,
97,
1082,
202,
430,
261,
3146,
797,
18,
291,
1442,
12,
1612,
3719,
288,
9506,
202,
2463,
629,
31,
1082,
202,
97,
1082,
2
] |
if (isSaveTransientModels()) { generationSession.saveTransientModels(); addProgressMessage(MessageKind.INFORMATION, "adding module \"" + generationSession.getSessionModuleName() + "\"", progress); File sessionDescriptorFile = generationSession.getSessionDescriptorFile(); generationSession.dispose(); myProject.addProjectSolution(sessionDescriptorFile); } else if (!status.isError()) { generationSession.dispose(); }
|
public void generateModels(List<SModel> _sourceModels, Language targetLanguage, IOperationContext invocationContext, boolean generateText, IAdaptiveProgressMonitor progress) { invocationContext.getProject().saveModels(); List<SModelDescriptor> sourceModels = new ArrayList<SModelDescriptor>(); for (SModel model : _sourceModels) { sourceModels.add(model.getModelDescriptor()); } clearMessages(); addMessage(MessageKind.INFORMATION, "generating " + (generateText ? "text" : "files")); addMessage(MessageKind.INFORMATION, " target language: \"" + targetLanguage.getNamespace() + "\""); String outputFolder = invocationContext.getModule().getGeneratorOutputPath(); if (!new File(outputFolder).exists()) { new File(outputFolder).mkdirs(); try { myProject.getProjectHandler().addSourceRoot(outputFolder); } catch (Exception e) { addMessage(MessageKind.WARNING, "Can't add output folder to IDEA as sources"); } } if (!generateText) { addMessage(MessageKind.INFORMATION, " target root folder: \"" + outputFolder + "\""); } boolean ideaPresent = MPSPlugin.getInstance().isIDEAPresent(); boolean compile = myCompileOnGeneration && ideaPresent; long totalJob = ModelsProgressUtil.estimateTotalGenerationJobMillis(compile, generateText, sourceModels); progress.start("generating", totalJob); try { boolean reloadClasses = true; if (!myCompileOnGeneration) { progress.addText("compilation in IntelliJ IDEA on generation is turned off"); } else if (!ideaPresent) { progress.addText("IntelliJ IDEA with installed MPS is not present"); } else { // -- compile sources before generation checkMonitorCanceled(progress); progress.addText("compiling in IntelliJ IDEA..."); progress.startLeafTask(ModelsProgressUtil.TASK_NAME_REFRESH_FS); myProject.getProjectHandler().refreshFS(); progress.finishTask(ModelsProgressUtil.TASK_NAME_REFRESH_FS); checkMonitorCanceled(progress); progress.startLeafTask(ModelsProgressUtil.TASK_NAME_COMPILE_ON_GENERATION); CompilationResult compilationResult = myProject.getProjectHandler().buildModule(outputFolder); progress.addText("" + compilationResult); if (!compilationResult.isOk()) { reloadClasses = false; } progress.finishTask(ModelsProgressUtil.TASK_NAME_COMPILE_ON_GENERATION); checkMonitorCanceled(progress); } // re-load classes anyway (to be sure that java_stub are up-to-date) if (reloadClasses) { progress.addText("reloading MPS classes..."); progress.startLeafTask(ModelsProgressUtil.TASK_NAME_RELOAD_ALL); ReloadUtils.reloadAll(); progress.finishTask(ModelsProgressUtil.TASK_NAME_RELOAD_ALL); checkMonitorCanceled(progress); } //++ generation GenerationSession generationSession = new GenerationSession(targetLanguage, invocationContext, progress); GenerationStatus status = null; for (SModelDescriptor sourceModelDescriptor : sourceModels) { SModel sourceModel = sourceModelDescriptor.getSModel(); progress.addText(""); String taskName = ModelsProgressUtil.generationModelTaskName(sourceModelDescriptor); progress.startLeafTask(taskName, ModelsProgressUtil.generationModelTaskKind()); status = generationSession.generateModel(sourceModelDescriptor); checkMonitorCanceled(progress); if (status.getOutputModel() != null) { if (generateText) { progress.addText("generate text to Output view"); generateText(status.getOutputModel(), invocationContext); } else { addProgressMessage(MessageKind.INFORMATION, "generate files to folder: \"" + getOutputFolderPath(outputFolder, sourceModel) + "\"", progress); generateFile(outputFolder, sourceModel, status.getOutputModel()); } } progress.finishTask(taskName); if (!status.isOk()) { break; } } //-- generation //update generated sources timestamp updateLanguagesGenerationRequiredStatus(invocationContext); if (isSaveTransientModels()) { generationSession.saveTransientModels(); addProgressMessage(MessageKind.INFORMATION, "adding module \"" + generationSession.getSessionModuleName() + "\"", progress); File sessionDescriptorFile = generationSession.getSessionDescriptorFile(); generationSession.dispose(); // unregister transient models myProject.addProjectSolution(sessionDescriptorFile); } else if (!status.isError()) { // if ERROR - keep transient models: we need them to navigate to from error messages generationSession.dispose(); // unregister transient models } checkMonitorCanceled(progress); progress.addText(""); if (status.isOk()) { if (compile && !generateText) { // -- compile after generation progress.addText("compiling in IntelliJ IDEA..."); progress.startLeafTask(ModelsProgressUtil.TASK_NAME_REFRESH_FS); myProject.getProjectHandler().refreshFS(); progress.finishTask(ModelsProgressUtil.TASK_NAME_REFRESH_FS); checkMonitorCanceled(progress); progress.startLeafTask(ModelsProgressUtil.TASK_NAME_COMPILE_ON_GENERATION); CompilationResult compilationResult = myProject.getProjectHandler().buildModule(outputFolder); progress.addText("" + compilationResult); progress.finishTask(ModelsProgressUtil.TASK_NAME_COMPILE_ON_GENERATION); checkMonitorCanceled(progress); if (compilationResult.isOk()) { progress.addText("reloading MPS classes..."); progress.startLeafTask(ModelsProgressUtil.TASK_NAME_RELOAD_ALL); ReloadUtils.reloadAll(); progress.finishTask(ModelsProgressUtil.TASK_NAME_RELOAD_ALL); checkMonitorCanceled(progress); } } addProgressMessage(MessageKind.INFORMATION, "generation completed successfully", progress); progress.finish(); } else if (status.isError()) { addProgressMessage(MessageKind.WARNING, "generation finished with errors", progress); progress.finishAnyway(); } showMessageView(); } catch (GenerationCanceledException gce) { addProgressMessage(MessageKind.WARNING, "generation canceled", progress); progress.finishAnyway(); showMessageView(); } catch (Throwable t) { LOG.error(t); addProgressMessage(MessageKind.ERROR, t.toString(), progress); } finally { progress.finishAnyway(); System.gc(); } }
|
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/f5dbe486d3ee5c536e152cd60e996733d9ff07ac/GeneratorManager.java/clean/source/jetbrains/mps/generator/GeneratorManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2103,
8430,
12,
682,
32,
55,
1488,
34,
389,
3168,
8430,
16,
9889,
1018,
3779,
16,
1665,
1193,
1042,
9495,
1042,
16,
1250,
2103,
1528,
16,
467,
13716,
688,
5491,
7187,
4007,
13,
288,
565,
9495,
1042,
18,
588,
4109,
7675,
5688,
8430,
5621,
565,
987,
32,
55,
1488,
3187,
34,
1084,
8430,
273,
394,
2407,
32,
55,
1488,
3187,
34,
5621,
565,
364,
261,
55,
1488,
938,
294,
389,
3168,
8430,
13,
288,
1377,
1084,
8430,
18,
1289,
12,
2284,
18,
588,
1488,
3187,
10663,
565,
289,
565,
2424,
5058,
5621,
565,
16487,
12,
1079,
5677,
18,
706,
23805,
16,
315,
3441,
1776,
315,
397,
261,
7163,
1528,
692,
315,
955,
6,
294,
315,
2354,
7923,
1769,
565,
16487,
12,
1079,
5677,
18,
706,
23805,
16,
315,
565,
1018,
2653,
30,
11843,
397,
1018,
3779,
18,
588,
3402,
1435,
397,
11143,
1769,
565,
514,
876,
3899,
273,
9495,
1042,
18,
588,
3120,
7675,
588,
3908,
1447,
743,
5621,
565,
309,
16051,
2704,
1387,
12,
2844,
3899,
2934,
1808,
10756,
288,
1377,
394,
1387,
12,
2844,
3899,
2934,
24816,
8291,
5621,
1377,
775,
288,
3639,
3399,
4109,
18,
588,
4109,
1503,
7675,
1289,
1830,
2375,
12,
2844,
3899,
1769,
1377,
289,
1044,
261,
503,
425,
13,
288,
3639,
16487,
12,
1079,
5677,
18,
9511,
16,
315,
2568,
1404,
527,
876,
3009,
358,
1599,
41,
37,
487,
5550,
8863,
1377,
289,
565,
289,
565,
309,
16051,
7163,
1528,
13,
288,
1377,
16487,
12,
1079,
5677,
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,
2103,
8430,
12,
682,
32,
55,
1488,
34,
389,
3168,
8430,
16,
9889,
1018,
3779,
16,
1665,
1193,
1042,
9495,
1042,
16,
1250,
2103,
1528,
16,
467,
13716,
688,
5491,
7187,
4007,
13,
288,
565,
9495,
1042,
18,
588,
4109,
7675,
5688,
8430,
5621,
565,
987,
32,
55,
1488,
3187,
34,
1084,
8430,
273,
394,
2407,
32,
55,
1488,
3187,
34,
5621,
565,
364,
261,
55,
1488,
938,
294,
389,
3168,
8430,
13,
288,
1377,
1084,
8430,
18,
1289,
12,
2284,
18,
588,
1488,
3187,
10663,
565,
289,
565,
2424,
5058,
5621,
565,
16487,
12,
1079,
5677,
18,
706,
23805,
16,
315,
3441,
1776,
315,
397,
261,
7163,
1528,
692,
315,
955,
6,
294,
315,
2354,
2
] |
|
Logger slf4jLogger = (Logger) loggerMap.get(name); if (slf4jLogger == null) { org.apache.log4j.Logger logger = LogManager.getLogger(name); slf4jLogger = new Log4jLoggerAdapter(logger); loggerMap.put(name, slf4jLogger);
|
Logger slf4jLogger = null; synchronized (this) { slf4jLogger = (Logger) loggerMap.get(name); if (slf4jLogger == null) { org.apache.log4j.Logger logger = LogManager.getLogger(name); slf4jLogger = new Log4jLoggerAdapter(logger); loggerMap.put(name, slf4jLogger); }
|
public Logger getLogger(String name) { Logger slf4jLogger = (Logger) loggerMap.get(name); if (slf4jLogger == null) { org.apache.log4j.Logger logger = LogManager.getLogger(name); slf4jLogger = new Log4jLoggerAdapter(logger); loggerMap.put(name, slf4jLogger); } return slf4jLogger; }
|
46365 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46365/55a650f08cd7afee64689a758942104c88458c85/Log4jLoggerFactory.java/buggy/slf4j-log4j12/src/main/java/org/slf4j/impl/Log4jLoggerFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4242,
7156,
12,
780,
508,
13,
288,
565,
4242,
2020,
74,
24,
78,
3328,
273,
261,
3328,
13,
1194,
863,
18,
588,
12,
529,
1769,
565,
309,
261,
2069,
74,
24,
78,
3328,
422,
446,
13,
288,
1377,
2358,
18,
19211,
18,
1330,
24,
78,
18,
3328,
1194,
273,
1827,
1318,
18,
588,
3328,
12,
529,
1769,
1377,
2020,
74,
24,
78,
3328,
273,
394,
1827,
24,
78,
3328,
4216,
12,
4901,
1769,
377,
1194,
863,
18,
458,
12,
529,
16,
2020,
74,
24,
78,
3328,
1769,
565,
289,
565,
327,
2020,
74,
24,
78,
3328,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4242,
7156,
12,
780,
508,
13,
288,
565,
4242,
2020,
74,
24,
78,
3328,
273,
261,
3328,
13,
1194,
863,
18,
588,
12,
529,
1769,
565,
309,
261,
2069,
74,
24,
78,
3328,
422,
446,
13,
288,
1377,
2358,
18,
19211,
18,
1330,
24,
78,
18,
3328,
1194,
273,
1827,
1318,
18,
588,
3328,
12,
529,
1769,
1377,
2020,
74,
24,
78,
3328,
273,
394,
1827,
24,
78,
3328,
4216,
12,
4901,
1769,
377,
1194,
863,
18,
458,
12,
529,
16,
2020,
74,
24,
78,
3328,
1769,
565,
289,
565,
327,
2020,
74,
24,
78,
3328,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return getInputStream();
|
return ch.getContent(this);
|
public Object getContent() throws IOException { if (!connected) connect(); // FIXME: Doc indicates that other criteria should be applied as // heuristics to determine the true content type, e.g. see // guessContentTypeFromName() and guessContentTypeFromStream methods // as well as FileNameMap class & fileNameMap field & get/set methods. String type = getContentType(); ContentHandler ch = setContentHandler(type); if (ch != null) return ch.getContent(this); return getInputStream(); }
|
27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/2a81deb9769ceea4775c22641c27bc9bc5399c18/URLConnection.java/buggy/libjava/java/net/URLConnection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
5154,
1435,
1216,
1860,
225,
288,
565,
309,
16051,
8537,
13,
1377,
3077,
5621,
565,
368,
9852,
30,
3521,
8527,
716,
1308,
3582,
1410,
506,
6754,
487,
565,
368,
3904,
295,
4287,
358,
4199,
326,
638,
913,
618,
16,
425,
18,
75,
18,
2621,
377,
368,
7274,
8046,
29732,
1435,
471,
7274,
8046,
1265,
1228,
2590,
565,
368,
487,
5492,
487,
25075,
863,
667,
473,
3968,
863,
652,
473,
336,
19,
542,
2590,
18,
565,
514,
618,
273,
17470,
5621,
565,
3697,
1503,
462,
273,
10651,
1503,
12,
723,
1769,
565,
309,
261,
343,
480,
446,
13,
1377,
327,
462,
18,
588,
1350,
12,
2211,
1769,
565,
327,
462,
18,
588,
1350,
12,
2211,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
5154,
1435,
1216,
1860,
225,
288,
565,
309,
16051,
8537,
13,
1377,
3077,
5621,
565,
368,
9852,
30,
3521,
8527,
716,
1308,
3582,
1410,
506,
6754,
487,
565,
368,
3904,
295,
4287,
358,
4199,
326,
638,
913,
618,
16,
425,
18,
75,
18,
2621,
377,
368,
7274,
8046,
29732,
1435,
471,
7274,
8046,
1265,
1228,
2590,
565,
368,
487,
5492,
487,
25075,
863,
667,
473,
3968,
863,
652,
473,
336,
19,
542,
2590,
18,
565,
514,
618,
273,
17470,
5621,
565,
3697,
1503,
462,
273,
10651,
1503,
12,
723,
1769,
565,
309,
261,
343,
480,
446,
13,
1377,
327,
462,
18,
588,
1350,
12,
2211,
1769,
565,
327,
462,
18,
588,
1350,
12,
2211,
1769,
225,
2
] |
for(int i = visibleLines - firstScreenLine; i < visibleLines; i++)
|
if(DEBUG)
|
void setFirstLine(int firstLine, int physFirstLine, boolean bufferSwitch) { int visibleLines = lineInfo.length; // rely on the fact that when we're called physLastLine not updated yet if(bufferSwitch || (!textArea.softWrap && Math.abs(firstLine - this.firstLine) >= visibleLines) || (textArea.softWrap && physFirstLine > textArea.getLastPhysicalLine())) { //System.err.println("too far"); for(int i = 0; i < visibleLines; i++) { lineInfo[i].chunksValid = false; } } else if(firstLine > this.firstLine) { int firstScreenLine = 0; for(int i = 0; i < visibleLines; i++) { if(lineInfo[i].physicalLine == physFirstLine) { firstScreenLine = i; break; } } if(firstScreenLine != visibleLines) { System.arraycopy(lineInfo,firstScreenLine, lineInfo,0,visibleLines - firstScreenLine); } for(int i = visibleLines - firstScreenLine; i < visibleLines; i++) { lineInfo[i] = new LineInfo(); } //System.err.println("only " + firstScreenLine // + " need updates"); } else if(this.firstLine > firstLine) { LinkedList list = new LinkedList(); for(int i = firstLine; i < this.firstLine; i++) { int physicalLine = textArea.virtualToPhysical(i); out.clear(); lineToChunkList(physicalLine,out); if(out.size() == 0) out.add(null); getLineInfosForPhysicalLine(physicalLine,list); } if(list.size() < visibleLines) { System.arraycopy(lineInfo,0,lineInfo,list.size(), visibleLines - list.size()); } int firstScreenLine = Math.min(list.size(),visibleLines); Iterator iter = list.iterator(); for(int i = 0; iter.hasNext(); i++) { lineInfo[i] = (LineInfo)iter.next(); } //System.err.println("only " + firstScreenLine // + " need updates"); } lastScreenLine = lastScreenLineP = -1; this.firstLine = firstLine; } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/b88f4c97d10b37f2eedc355b4dafc8a7e9257437/ChunkCache.java/clean/org/gjt/sp/jedit/textarea/ChunkCache.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
24789,
1670,
12,
474,
24415,
16,
509,
24758,
3759,
1670,
16,
1250,
1613,
10200,
13,
202,
95,
202,
202,
474,
6021,
5763,
273,
980,
966,
18,
2469,
31,
202,
202,
759,
21187,
603,
326,
5410,
716,
1347,
732,
4565,
2566,
24758,
3024,
1670,
486,
3526,
4671,
202,
202,
430,
12,
4106,
10200,
1082,
202,
20081,
16051,
955,
5484,
18,
9269,
2964,
597,
2361,
18,
5113,
12,
3645,
1670,
300,
333,
18,
3645,
1670,
13,
1545,
6021,
5763,
13,
1082,
202,
20081,
261,
955,
5484,
18,
9269,
2964,
597,
24758,
3759,
1670,
405,
977,
5484,
18,
588,
3024,
18136,
1670,
1435,
3719,
202,
202,
95,
1082,
202,
759,
3163,
18,
370,
18,
8222,
2932,
16431,
10247,
8863,
1082,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
6021,
5763,
31,
277,
27245,
1082,
202,
95,
9506,
202,
1369,
966,
63,
77,
8009,
14691,
1556,
273,
629,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
309,
12,
3645,
1670,
405,
333,
18,
3645,
1670,
13,
202,
202,
95,
1082,
202,
474,
1122,
7956,
1670,
273,
374,
31,
1082,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
6021,
5763,
31,
277,
27245,
1082,
202,
95,
9506,
202,
430,
12,
1369,
966,
63,
77,
8009,
20441,
1670,
422,
24758,
3759,
1670,
13,
9506,
202,
95,
6862,
202,
3645,
7956,
1670,
273,
277,
31,
6862,
202,
8820,
31,
9506,
202,
97,
1082,
202,
97,
1082,
202,
430,
12,
3645,
7956,
1670,
480,
6021,
5763,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
24789,
1670,
12,
474,
24415,
16,
509,
24758,
3759,
1670,
16,
1250,
1613,
10200,
13,
202,
95,
202,
202,
474,
6021,
5763,
273,
980,
966,
18,
2469,
31,
202,
202,
759,
21187,
603,
326,
5410,
716,
1347,
732,
4565,
2566,
24758,
3024,
1670,
486,
3526,
4671,
202,
202,
430,
12,
4106,
10200,
1082,
202,
20081,
16051,
955,
5484,
18,
9269,
2964,
597,
2361,
18,
5113,
12,
3645,
1670,
300,
333,
18,
3645,
1670,
13,
1545,
6021,
5763,
13,
1082,
202,
20081,
261,
955,
5484,
18,
9269,
2964,
597,
24758,
3759,
1670,
405,
977,
5484,
18,
588,
3024,
18136,
1670,
1435,
3719,
202,
202,
95,
1082,
202,
759,
3163,
18,
370,
18,
8222,
2932,
16431,
10247,
8863,
2
] |
return typeManager.getFactory( role );
|
return typeManager.getFactory( roleType );
|
protected final TypeFactory getTypeFactory( final String role ) throws TaskException { final TypeManager typeManager = (TypeManager)getService( TypeManager.class ); try { return typeManager.getFactory( role ); } catch( final TypeException te ) { final String message = REZ.getString( "container.no-factory.error", role ); throw new TaskException( message, te ); } }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/bc34bb06ca8b29568e31990be726d04559ca2972/AbstractContainerTask.java/buggy/proposal/myrmidon/src/java/org/apache/myrmidon/framework/AbstractContainerTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
1412,
1733,
3130,
1733,
12,
727,
514,
2478,
262,
3639,
1216,
3837,
503,
565,
288,
3639,
727,
1412,
1318,
618,
1318,
273,
261,
559,
1318,
13,
588,
1179,
12,
1412,
1318,
18,
1106,
11272,
3639,
775,
3639,
288,
5411,
327,
618,
1318,
18,
588,
1733,
12,
2478,
559,
11272,
3639,
289,
3639,
1044,
12,
727,
1412,
503,
6489,
262,
3639,
288,
5411,
727,
514,
883,
273,
2438,
62,
18,
588,
780,
12,
315,
3782,
18,
2135,
17,
6848,
18,
1636,
3113,
2478,
11272,
5411,
604,
394,
3837,
503,
12,
883,
16,
6489,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
1412,
1733,
3130,
1733,
12,
727,
514,
2478,
262,
3639,
1216,
3837,
503,
565,
288,
3639,
727,
1412,
1318,
618,
1318,
273,
261,
559,
1318,
13,
588,
1179,
12,
1412,
1318,
18,
1106,
11272,
3639,
775,
3639,
288,
5411,
327,
618,
1318,
18,
588,
1733,
12,
2478,
559,
11272,
3639,
289,
3639,
1044,
12,
727,
1412,
503,
6489,
262,
3639,
288,
5411,
727,
514,
883,
273,
2438,
62,
18,
588,
780,
12,
315,
3782,
18,
2135,
17,
6848,
18,
1636,
3113,
2478,
11272,
5411,
604,
394,
3837,
503,
12,
883,
16,
6489,
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
] |
String value = getServletConfig().getInitParameter("debug"); try { debug = Integer.parseInt(value); } catch (Throwable t) { debug = 0; }
|
String value = getServletConfig().getInitParameter("debug"); try { debug = Integer.parseInt(value); } catch (Throwable t) { debug = 0;
|
protected void initDebug() throws ServletException { String value = getServletConfig().getInitParameter("debug"); try { debug = Integer.parseInt(value); } catch (Throwable t) { debug = 0; } }
|
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/893cf1f05ff2aed2f868307f45763b5b3bc5a257/ActionServlet.java/clean/src/share/org/apache/struts/action/ActionServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
2829,
1435,
1216,
16517,
288,
202,
780,
460,
273,
19136,
809,
7675,
588,
2570,
1662,
2932,
4148,
8863,
202,
698,
288,
202,
565,
1198,
273,
2144,
18,
2670,
1702,
12,
1132,
1769,
202,
97,
1044,
261,
15155,
268,
13,
288,
202,
565,
1198,
273,
374,
31,
202,
97,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
2829,
1435,
1216,
16517,
288,
202,
780,
460,
273,
19136,
809,
7675,
588,
2570,
1662,
2932,
4148,
8863,
202,
698,
288,
202,
565,
1198,
273,
2144,
18,
2670,
1702,
12,
1132,
1769,
202,
97,
1044,
261,
15155,
268,
13,
288,
202,
565,
1198,
273,
374,
31,
202,
97,
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
] |
BitSet bytecodeSet = ClassContext.getBytecodeSet(classContext.getJavaClass(), method);
|
BitSet bytecodeSet = classContext.getBytecodeSet(method);
|
public boolean prescreen(ClassContext classContext, Method method) { BitSet bytecodeSet = ClassContext.getBytecodeSet(classContext.getJavaClass(), method); return bytecodeSet != null && (bytecodeSet.get(Constants.CHECKCAST) || bytecodeSet.get(Constants.INSTANCEOF)); }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/760e9f2de9953a4738e80fcfc7aa2bba801e7169/FindBadCast2.java/clean/findbugs/src/java/edu/umd/cs/findbugs/detect/FindBadCast2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
4075,
8780,
12,
797,
1042,
667,
1042,
16,
2985,
707,
13,
288,
202,
202,
5775,
694,
22801,
694,
273,
1659,
1042,
18,
588,
858,
16651,
694,
12,
1106,
1042,
18,
588,
5852,
797,
9334,
707,
1769,
202,
202,
2463,
22801,
694,
480,
446,
597,
261,
1637,
16651,
694,
18,
588,
12,
2918,
18,
10687,
21871,
13,
9506,
202,
20081,
22801,
694,
18,
588,
12,
2918,
18,
13341,
3932,
10019,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
4075,
8780,
12,
797,
1042,
667,
1042,
16,
2985,
707,
13,
288,
202,
202,
5775,
694,
22801,
694,
273,
1659,
1042,
18,
588,
858,
16651,
694,
12,
1106,
1042,
18,
588,
5852,
797,
9334,
707,
1769,
202,
202,
2463,
22801,
694,
480,
446,
597,
261,
1637,
16651,
694,
18,
588,
12,
2918,
18,
10687,
21871,
13,
9506,
202,
20081,
22801,
694,
18,
588,
12,
2918,
18,
13341,
3932,
10019,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
s = s + "}\n"; s = s + "elementInfoStack : int[] = {";
|
buffer.append("}\n"); buffer.append("elementInfoStack : int[] = {");
|
public String toString() { String s = ""; //$NON-NLS-1$ s = s + "elementKindStack : int[] = {"; //$NON-NLS-1$ for (int i = 0; i <= elementPtr; i++) { s = s + String.valueOf(elementKindStack[i]) + ","; //$NON-NLS-1$ } s = s + "}\n"; //$NON-NLS-1$ s = s + "elementInfoStack : int[] = {"; //$NON-NLS-1$ for (int i = 0; i <= elementPtr; i++) { s = s + String.valueOf(elementInfoStack[i]) + ","; //$NON-NLS-1$ } s = s + "}\n"; //$NON-NLS-1$ return s + super.toString();}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/473e73e956d6ff2c0ecfedc365eaef22bfab27ea/CompletionParser.java/clean/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
225,
514,
1762,
1435,
288,
202,
780,
272,
273,
1408,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
87,
273,
272,
397,
315,
2956,
5677,
2624,
294,
509,
8526,
273,
12528,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
1648,
930,
5263,
31,
277,
27245,
288,
202,
202,
87,
273,
272,
397,
514,
18,
1132,
951,
12,
2956,
5677,
2624,
63,
77,
5717,
397,
5753,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
97,
202,
87,
273,
272,
397,
315,
6280,
82,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
202,
87,
273,
272,
397,
315,
2956,
966,
2624,
294,
509,
8526,
273,
12528,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
1648,
930,
5263,
31,
277,
27245,
288,
202,
202,
87,
273,
272,
397,
514,
18,
1132,
951,
12,
2956,
966,
2624,
63,
77,
5717,
397,
5753,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
97,
202,
87,
273,
272,
397,
315,
6280,
82,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
202,
2463,
272,
397,
2240,
18,
10492,
5621,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
225,
514,
1762,
1435,
288,
202,
780,
272,
273,
1408,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
87,
273,
272,
397,
315,
2956,
5677,
2624,
294,
509,
8526,
273,
12528,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
1648,
930,
5263,
31,
277,
27245,
288,
202,
202,
87,
273,
272,
397,
514,
18,
1132,
951,
12,
2956,
5677,
2624,
63,
77,
5717,
397,
5753,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
97,
202,
87,
273,
272,
397,
315,
6280,
82,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
202,
87,
273,
272,
397,
315,
2956,
966,
2624,
294,
509,
8526,
273,
12528,
31,
4329,
3993,
2
] |
String addedUser = (String) params.get("admin"); groupUserAdded(group, addedUser);
|
else { groupUserAdded(group, addedUser); }
|
public void adminAdded(Group group, Map params) { // Do nothing if the group is not being shown in group members' rosters if (!isSharedGroup(group)) { return; } String addedUser = (String) params.get("admin"); groupUserAdded(group, addedUser); }
|
51636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51636/3ce290cb4d4a543f48477b72a9a5be95568b2763/RosterManager.java/buggy/src/java/org/jivesoftware/messenger/roster/RosterManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3981,
8602,
12,
1114,
1041,
16,
1635,
859,
13,
288,
3639,
368,
2256,
5083,
309,
326,
1041,
353,
486,
3832,
12188,
316,
1041,
4833,
11,
721,
334,
414,
3639,
309,
16051,
291,
7887,
1114,
12,
1655,
3719,
288,
5411,
327,
31,
3639,
289,
3639,
514,
3096,
1299,
273,
261,
780,
13,
859,
18,
588,
2932,
3666,
8863,
3639,
1041,
1299,
8602,
12,
1655,
16,
3096,
1299,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3981,
8602,
12,
1114,
1041,
16,
1635,
859,
13,
288,
3639,
368,
2256,
5083,
309,
326,
1041,
353,
486,
3832,
12188,
316,
1041,
4833,
11,
721,
334,
414,
3639,
309,
16051,
291,
7887,
1114,
12,
1655,
3719,
288,
5411,
327,
31,
3639,
289,
3639,
514,
3096,
1299,
273,
261,
780,
13,
859,
18,
588,
2932,
3666,
8863,
3639,
1041,
1299,
8602,
12,
1655,
16,
3096,
1299,
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
] |
buffer.append( File.separatorChar );
|
strbuff.append( File.separatorChar );
|
static String reconcilePath(String originalPath ) { if( originalPath == null ) return null; originalPath = removeQuotes( originalPath ); String [] segments = originalPath.split( "[/\\\\]" ); //$NON-NLS-1$ if( segments.length == 1 ) return originalPath; Vector results = new Vector(); for( int i = 0; i < segments.length; ++i ) { String segment = segments[i]; if( segment.equals( ".") ) continue; //$NON-NLS-1$ if( segment.equals("..") ) //$NON-NLS-1$ { if( results.size() > 0 ) results.removeElementAt( results.size() - 1 ); } else results.add( segment ); } StringBuffer buffer = new StringBuffer(); Iterator i = results.iterator(); while( i.hasNext() ) { buffer.append( (String)i.next() ); if( i.hasNext() ) buffer.append( File.separatorChar ); } return buffer.toString(); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/9ebf2c99093949be13d33b05a6695fc9d76e14fc/ScannerUtility.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ScannerUtility.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
514,
27163,
743,
12,
780,
2282,
743,
262,
288,
202,
202,
430,
12,
2282,
743,
422,
446,
262,
327,
446,
31,
202,
202,
8830,
743,
273,
1206,
14292,
12,
2282,
743,
11272,
9506,
202,
780,
5378,
5155,
273,
2282,
743,
18,
4939,
12,
5158,
19,
13011,
4279,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
430,
12,
5155,
18,
2469,
422,
404,
262,
327,
2282,
743,
31,
202,
202,
5018,
1686,
273,
394,
5589,
5621,
3196,
202,
1884,
12,
509,
277,
273,
374,
31,
277,
411,
5155,
18,
2469,
31,
965,
77,
262,
202,
202,
95,
1082,
202,
780,
3267,
273,
5155,
63,
77,
15533,
1082,
202,
430,
12,
3267,
18,
14963,
12,
4585,
13,
262,
1324,
31,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
430,
12,
3267,
18,
14963,
2932,
838,
7923,
262,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
95,
9506,
202,
430,
12,
1686,
18,
1467,
1435,
405,
374,
262,
4405,
202,
4717,
18,
4479,
1046,
861,
12,
1686,
18,
1467,
1435,
300,
404,
11272,
1082,
202,
97,
1082,
202,
12107,
9506,
202,
4717,
18,
1289,
12,
3267,
11272,
202,
202,
97,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
3196,
202,
3198,
277,
273,
1686,
18,
9838,
5621,
202,
202,
17523,
12,
277,
18,
5332,
2134,
1435,
262,
202,
202,
95,
1082,
202,
4106,
18,
6923,
12,
261,
780,
13,
77,
18,
4285,
1435,
11272,
1082,
202,
430,
12,
277,
18,
5332,
2134,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
514,
27163,
743,
12,
780,
2282,
743,
262,
288,
202,
202,
430,
12,
2282,
743,
422,
446,
262,
327,
446,
31,
202,
202,
8830,
743,
273,
1206,
14292,
12,
2282,
743,
11272,
9506,
202,
780,
5378,
5155,
273,
2282,
743,
18,
4939,
12,
5158,
19,
13011,
4279,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
430,
12,
5155,
18,
2469,
422,
404,
262,
327,
2282,
743,
31,
202,
202,
5018,
1686,
273,
394,
5589,
5621,
3196,
202,
1884,
12,
509,
277,
273,
374,
31,
277,
411,
5155,
18,
2469,
31,
965,
77,
262,
202,
202,
95,
1082,
202,
780,
3267,
273,
5155,
63,
77,
15533,
1082,
202,
430,
12,
3267,
18,
14963,
12,
4585,
2
] |
public void SetModeForLine(String currentCommand) { if (lastLine == null || !(lastLine.equals(currentCommand))) { if (currentCommand.indexOf(DESCRIBE) >= 0) SetDescribeMode(); else if (currentCommand.indexOf(HELP) >= 0) SetHelpMode(); else if (currentCommand.indexOf(USE) >= 0) SetDatasetMode(); else { int usingInd = currentCommand.lastIndexOf(MartShellLib.USINGQSTART); if (usingInd >= 0) { usingLocalDataset = true; //set currentDataset String testString = currentCommand.substring(usingInd); Matcher qModeMatcher = qModePattern.matcher(testString); if (qModeMatcher.matches()) { String datasetName = qModeMatcher.group(1); if (martconf.containsDataset(datasetName)) currentDataset = martconf.getDatasetByName(datasetName); else currentDataset = null; // if not contained, no dataset should be set } } String[] lineWords = currentCommand.split(" "); // split on single space // determine which mode to be in during a query int getInd = currentCommand.lastIndexOf(MartShellLib.GETQSTART); int seqInd = currentCommand.lastIndexOf(MartShellLib.QSEQUENCE); int whereInd = currentCommand.lastIndexOf(MartShellLib.QWHERE); int limitInd = currentCommand.lastIndexOf(MartShellLib.QLIMIT); if ((usingInd > seqInd) && (usingInd > getInd) && (usingInd > whereInd) && (usingInd > limitInd)) SetDatasetMode(); if ((seqInd > usingInd) && (seqInd > getInd) && (seqInd > whereInd) && (seqInd > limitInd)) SetSequenceMode(); if ((getInd > usingInd) && (getInd > seqInd) && (getInd > whereInd) && (getInd > limitInd)) attributeMode = true; if ((whereInd > usingInd) && (whereInd > seqInd) && (whereInd > getInd) && (whereInd > limitInd)) { attributeMode = false; whereMode = true; } if ((limitInd > usingInd) && (limitInd > getInd) && (limitInd > seqInd) && (limitInd > whereInd)) { attributeMode = false; whereMode = false; SetEmptyMode(); } // if none of the key placeholders are present, may still need to further refine the mode if (attributeMode) { if (lineWords.length > 0) { String lastWord = lineWords[lineWords.length - 1]; if (!(lastWord.equals(MartShellLib.GETQSTART))) { if (lastWord.endsWith(",")) { lastAttributeName = lastWord.substring(0, lastWord.length() - 1); pruneAttributePages(); } } SetAttributeNames(); } } if (whereMode) { if (! (whereNamesMode || whereQualifiersMode || whereValuesMode) ) { //first time in whereNamesMode = true; whereQualifiersMode = false; whereValuesMode = true; SetWhereNames(); } if (lineWords.length > 0) { String lastWord = lineWords[lineWords.length - 1]; if (lastWord.equals(MartShellLib.QWHERE)) { lastFilterName = null; whereNamesMode = true; whereQualifiersMode = false; whereValuesMode = true; SetWhereNames(); } if (whereNamesMode) { logger.info("Still in whereNamesMode\n"); if (currentDataset != null) { if (currentDataset.containsFilterDescription(lastWord)) { String thisField = currentDataset.getFilterDescriptionByInternalName(lastWord).getField(lastWord); if (thisField != null && thisField.length() > 0) { lastFilterName = lastWord; pruneFilterPages(); logger.info(lastWord + " appears to be a filter, going to whereQualifiersMode\n"); whereNamesMode = false; whereQualifiersMode = true; whereValuesMode = false; SetWhereQualifiers(); } } } else if (!usingLocalDataset && envDataset != null) { if (envDataset.containsFilterDescription(lastWord)) { logger.info(lastWord + " is part of dataset, but is it a real filter?\n"); FilterDescription thisFilter = envDataset.getFilterDescriptionByInternalName(lastWord); String thisField = thisFilter.getField(lastWord); logger.info("Filter " + thisFilter.getInternalName() + " returned for " + lastWord + " has field " + thisField + "\n"); if (thisField != null && thisField.length() > 0) { lastFilterName = lastWord; pruneFilterPages(); logger.info(lastWord + " appears to be a filter, going to whereQualifiersMode\n"); whereNamesMode = false; whereQualifiersMode = true; whereValuesMode = false; SetWhereQualifiers(); } } } else SetNoDatasetMode(); } else if (whereQualifiersMode) { logger.info("Still in whereQualifiersMode\n"); if (MartShellLib.ALLQUALIFIERS.contains(lastWord)) { logger.info(lastWord + " appears to be a qualifier"); if (lineWords.length > 1) { lastFilterName = lineWords[lineWords.length - 2]; pruneFilterPages(); } if (MartShellLib.BOOLEANQUALIFIERS.contains(lastWord)) { logger.info(" staying in whereQualifiers Mode after boolean qualifier\n"); SetEmptyMode(); } else { logger.info(" going to whereValuesMode\n"); whereQualifiersMode = false; whereValuesMode = true; SetWhereValues(); } } else if (lastWord.equalsIgnoreCase(MartShellLib.FILTERDELIMITER)) { whereNamesMode = true; whereQualifiersMode = false; whereValuesMode = false; logger.info("and encountered after boolean qualifier, going to whereNamesMode\n"); pruneFilterPages(); SetWhereNames(); } } else if (whereValuesMode) { logger.info("Still in whereValuesMode\n"); if (lastWord.equalsIgnoreCase(MartShellLib.FILTERDELIMITER)) { whereNamesMode = true; whereQualifiersMode = false; whereValuesMode = false; logger.info("and encountered after value, going to whereNamesMode\n"); pruneFilterPages(); SetWhereNames(); } } } } } lastLine = currentCommand; } }
|
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/a7fdb0c76c1e35ce769ae06a1fa50dbd342639d8/MartCompleter.java/clean/src/java/org/ensembl/mart/shell/MartCompleter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1000,
2309,
1290,
1670,
12,
780,
783,
2189,
13,
288,
202,
202,
430,
261,
2722,
1670,
422,
446,
747,
401,
12,
2722,
1670,
18,
14963,
12,
2972,
2189,
20349,
288,
1082,
202,
430,
261,
2972,
2189,
18,
31806,
12,
1639,
26469,
13,
1545,
374,
13,
9506,
202,
694,
8782,
2309,
5621,
1082,
202,
12107,
309,
261,
2972,
2189,
18,
31806,
12,
27396,
13,
1545,
374,
13,
9506,
202,
694,
6696,
2309,
5621,
1082,
202,
12107,
309,
261,
2972,
2189,
18,
31806,
12,
8001,
13,
1545,
374,
13,
9506,
202,
694,
10656,
2309,
5621,
1082,
202,
12107,
288,
9506,
202,
474,
1450,
3866,
273,
783,
2189,
18,
2722,
31985,
12,
49,
485,
13220,
5664,
18,
3378,
1360,
53,
7570,
1769,
9506,
202,
430,
261,
9940,
3866,
1545,
374,
13,
288,
6862,
202,
9940,
2042,
10656,
273,
638,
31,
6862,
202,
759,
542,
783,
10656,
6862,
202,
780,
1842,
780,
273,
783,
2189,
18,
28023,
12,
9940,
3866,
1769,
6862,
202,
6286,
1043,
2309,
6286,
273,
1043,
2309,
3234,
18,
22761,
12,
3813,
780,
1769,
6862,
202,
430,
261,
85,
2309,
6286,
18,
8436,
10756,
288,
25083,
202,
780,
3709,
461,
273,
1043,
2309,
6286,
18,
1655,
12,
21,
1769,
25083,
202,
430,
261,
81,
485,
3923,
18,
12298,
10656,
12,
8682,
461,
3719,
6862,
1082,
202,
2972,
10656,
273,
312,
485,
3923,
18,
588,
10656,
5911,
12,
8682,
461,
1769,
25083,
202,
12107,
6862,
1082,
202,
2972,
10656,
273,
446,
31,
368,
309,
486,
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,
1000,
2309,
1290,
1670,
12,
780,
783,
2189,
13,
288,
202,
202,
430,
261,
2722,
1670,
422,
446,
747,
401,
12,
2722,
1670,
18,
14963,
12,
2972,
2189,
20349,
288,
1082,
202,
430,
261,
2972,
2189,
18,
31806,
12,
1639,
26469,
13,
1545,
374,
13,
9506,
202,
694,
8782,
2309,
5621,
1082,
202,
12107,
309,
261,
2972,
2189,
18,
31806,
12,
27396,
13,
1545,
374,
13,
9506,
202,
694,
6696,
2309,
5621,
1082,
202,
12107,
309,
261,
2972,
2189,
18,
31806,
12,
8001,
13,
1545,
374,
13,
9506,
202,
694,
10656,
2309,
5621,
1082,
202,
12107,
288,
9506,
202,
474,
1450,
3866,
273,
783,
2189,
18,
2722,
31985,
12,
49,
485,
13220,
5664,
18,
3378,
2
] |
||
final Item clonedItem = new Item(item);
|
final Item clonedItem; if (item instanceof ExpirableItem) { clonedItem = new ExpirableItem((ExpirableItem)item); } else { throw new IllegalArgumentException(); }
|
public void duplicate(final Item item) { final Item clonedItem = new Item(item); add(clonedItem); }
|
13936 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13936/169730120ad331fb41b8084cfd070334ce01dbef/ItemManager.java/clean/Housekeeper/trunk/housekeeper/src/java/net/sf/housekeeper/domain/ItemManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6751,
12,
6385,
4342,
761,
13,
565,
288,
3639,
727,
4342,
13027,
1180,
31,
309,
261,
1726,
1276,
1312,
7259,
354,
7119,
1180,
13,
288,
13027,
1180,
273,
394,
1312,
7259,
354,
7119,
1180,
12443,
2966,
26063,
1180,
13,
1726,
1769,
289,
469,
288,
604,
394,
2754,
5621,
289,
3639,
527,
12,
830,
8184,
1180,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6751,
12,
6385,
4342,
761,
13,
565,
288,
3639,
727,
4342,
13027,
1180,
31,
309,
261,
1726,
1276,
1312,
7259,
354,
7119,
1180,
13,
288,
13027,
1180,
273,
394,
1312,
7259,
354,
7119,
1180,
12443,
2966,
26063,
1180,
13,
1726,
1769,
289,
469,
288,
604,
394,
2754,
5621,
289,
3639,
527,
12,
830,
8184,
1180,
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
] |
if (debugLevel >= 1) { aload(contextLocal); aload(variableObjectLocal); iload(debug_pcLocal); addStaticInvoke("org/mozilla/javascript/debug/NativeDelegate", "setPC", "(Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;I)", "V"); }
|
private void visitRegularCall(Node node, int type, Node child, boolean firstArgDone) { /* * Generate code for call. * * push <arity> * anewarray Ljava/lang/Object; * // "initCount" instances of code from here... * dup * push <i> * <gen code for child> * aastore * //...to here * invokestatic call */ OptFunctionNode target = (OptFunctionNode)node.getProp(Node.DIRECTCALL_PROP); Node chelsea = child; int childCount = 0; int argSkipCount = (type == TokenStream.NEW) ? 1 : 2; while (child != null) { childCount++; child = child.getNextSibling(); } child = chelsea; // re-start the iterator from the first child, // REMIND - too bad we couldn't just back-patch the count ? int argIndex = -argSkipCount; if (firstArgDone && (child != null)) { child = child.getNextSibling(); argIndex++; aload(contextLocal); addByteCode(ByteCode.SWAP); } else aload(contextLocal); if (firstArgDone && (type == TokenStream.NEW)) constructArgArray(childCount - argSkipCount); boolean isSpecialCall = node.getProp(Node.SPECIALCALL_PROP) != null; boolean isSimpleCall = false; String simpleCallName = null; if (type != TokenStream.NEW) { simpleCallName = getSimpleCallName(node); if (simpleCallName != null && !isSpecialCall && debugLevel < 3) { isSimpleCall = true; push(simpleCallName); aload(variableObjectLocal); child = child.getNextSibling().getNextSibling(); argIndex = 0; push(childCount - argSkipCount); addByteCode(ByteCode.ANEWARRAY, "java/lang/Object"); } } while (child != null) { if (argIndex < 0) // not moving these arguments to the array generateCodeFromNode(child, node, -1, -1); else { addByteCode(ByteCode.DUP); push(argIndex); if (target != null) {/* If this has also been a directCall sequence, the Number flag will have remained set for any parameter so that the values could be copied directly into the outgoing args. Here we want to force it to be treated as not in a Number context, so we set the flag off.*/ boolean handled = false; if ((child.getType() == TokenStream.GETVAR) && inDirectCallFunction) { OptLocalVariable lVar = (OptLocalVariable)(child.getProp(Node.VARIABLE_PROP)); if (lVar.isParameter()) { child.putProp(Node.ISNUMBER_PROP, null); generateCodeFromNode(child, node, -1, -1); handled = true; } } if (!handled) { Integer childNumberFlag = (Integer)(child.getProp(Node.ISNUMBER_PROP)); if ((childNumberFlag != null) && (childNumberFlag.intValue() == Node.BOTH)) { addByteCode(ByteCode.NEW,"java/lang/Double"); addByteCode(ByteCode.DUP); generateCodeFromNode(child, node, -1, -1); addDoubleConstructor(); } else generateCodeFromNode(child, node, -1, -1); } } else generateCodeFromNode(child, node, -1, -1); addByteCode(ByteCode.AASTORE); } argIndex++; if (argIndex == 0) { // now we need to construct the array // (even if there are no args to load // into it) - REMIND could pass null // instead ? constructArgArray(childCount - argSkipCount); } child = child.getNextSibling(); } // set our pc into the top frame if (debugLevel >= 1) { aload(contextLocal); aload(variableObjectLocal); iload(debug_pcLocal); addStaticInvoke("org/mozilla/javascript/debug/NativeDelegate", "setPC", "(Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;I)", "V"); } String className; String methodNameNewObj; String methodNameCall; String callSignature; if (isSpecialCall) { className = "org/mozilla/javascript/ScriptRuntime"; methodNameNewObj = "newObjectSpecial"; methodNameCall = "callSpecial"; if (type != TokenStream.NEW) { callSignature = "(Lorg/mozilla/javascript/Context;" + "Ljava/lang/Object;" + "Ljava/lang/Object;" + "[Ljava/lang/Object;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "Ljava/lang/String;I)"; // filename & linenumber aload(thisObjLocal); aload(variableObjectLocal); push(itsSourceFile == null ? "" : itsSourceFile); push(itsLineNumber); } else { callSignature = "(Lorg/mozilla/javascript/Context;" + "Ljava/lang/Object;" + "[Ljava/lang/Object;" + "Lorg/mozilla/javascript/Scriptable;)"; aload(variableObjectLocal); } } else { methodNameNewObj = "newObject"; if (isSimpleCall) { callSignature = "(Lorg/mozilla/javascript/Context;" + "Ljava/lang/String;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)"; methodNameCall = "callSimple"; className = "org/mozilla/javascript/optimizer/OptRuntime"; } else { aload(variableObjectLocal); if (type == TokenStream.NEW) { callSignature = "(Lorg/mozilla/javascript/Context;" + "Ljava/lang/Object;" + "[Ljava/lang/Object;" + "Lorg/mozilla/javascript/Scriptable;)"; } else { callSignature = "(Lorg/mozilla/javascript/Context;" + "Ljava/lang/Object;" + "Ljava/lang/Object;" + "[Ljava/lang/Object;" + "Lorg/mozilla/javascript/Scriptable;)"; } methodNameCall = "call"; className = "org/mozilla/javascript/ScriptRuntime"; } } /* NOTE: we assure above !(isSimpleCall && debugLevel >= 3). So * we don't need to worry about the SimpleCall case in debug code. */ if (debugLevel >= 3) { className = "org/mozilla/javascript/debug/NativeDelegate"; if (isSpecialCall) { methodNameNewObj = "newObjectSpecialDebug"; methodNameCall = "callSpecialDebug"; } else { methodNameNewObj = "newObjectDebug"; methodNameCall = "callDebug"; } } if (type == TokenStream.NEW) { addStaticInvoke(className, methodNameNewObj, callSignature, "Lorg/mozilla/javascript/Scriptable;"); } else { addStaticInvoke(className, methodNameCall, callSignature, "Ljava/lang/Object;"); } }
|
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/9ad35a1fffb9bcd2d764ce33979ed3f91bfe8393/Codegen.java/buggy/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
17974,
1477,
12,
907,
756,
16,
509,
618,
16,
21394,
2029,
1151,
16,
1250,
1122,
4117,
7387,
13,
565,
288,
3639,
1748,
540,
380,
6654,
981,
364,
745,
18,
540,
380,
540,
380,
1817,
411,
20498,
34,
540,
380,
392,
359,
1126,
511,
6290,
19,
4936,
19,
921,
31,
540,
380,
368,
315,
2738,
1380,
6,
3884,
434,
981,
628,
2674,
2777,
540,
380,
9417,
540,
380,
1817,
411,
77,
34,
540,
380,
411,
4507,
981,
364,
1151,
34,
540,
380,
279,
689,
479,
540,
380,
368,
2777,
869,
2674,
540,
380,
5770,
395,
2126,
745,
540,
1195,
3639,
12056,
2083,
907,
1018,
273,
261,
6179,
2083,
907,
13,
2159,
18,
588,
4658,
12,
907,
18,
17541,
13730,
67,
15811,
1769,
3639,
2029,
462,
12107,
69,
273,
1151,
31,
3639,
509,
31492,
273,
374,
31,
3639,
509,
1501,
6368,
1380,
273,
261,
723,
422,
3155,
1228,
18,
12917,
13,
692,
404,
294,
576,
31,
3639,
1323,
261,
3624,
480,
446,
13,
288,
5411,
31492,
9904,
31,
5411,
1151,
273,
1151,
18,
588,
2134,
10291,
5621,
3639,
289,
3639,
1151,
273,
462,
12107,
69,
31,
565,
368,
283,
17,
1937,
326,
2775,
628,
326,
1122,
1151,
16,
10792,
368,
2438,
49,
2356,
300,
4885,
5570,
732,
17991,
1404,
2537,
1473,
17,
2272,
326,
1056,
692,
3639,
509,
1501,
1016,
273,
300,
3175,
6368,
1380,
31,
3639,
309,
261,
3645,
4117,
7387,
597,
261,
3624,
480,
446,
3719,
288,
5411,
1151,
273,
1151,
18,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
17974,
1477,
12,
907,
756,
16,
509,
618,
16,
21394,
2029,
1151,
16,
1250,
1122,
4117,
7387,
13,
565,
288,
3639,
1748,
540,
380,
6654,
981,
364,
745,
18,
540,
380,
540,
380,
1817,
411,
20498,
34,
540,
380,
392,
359,
1126,
511,
6290,
19,
4936,
19,
921,
31,
540,
380,
368,
315,
2738,
1380,
6,
3884,
434,
981,
628,
2674,
2777,
540,
380,
9417,
540,
380,
1817,
411,
77,
34,
540,
380,
411,
4507,
981,
364,
1151,
34,
540,
380,
279,
689,
479,
540,
380,
368,
2777,
869,
2674,
540,
380,
5770,
395,
2126,
745,
540,
1195,
3639,
12056,
2083,
907,
1018,
273,
261,
6179,
2083,
907,
13,
2159,
18,
588,
4658,
12,
907,
2
] |
|
if (bugInstance.isExperimental()) result.append("EXP: "); result.append(fullDescriptionsItem.isSelected() ? bugInstance.getMessage() : bugInstance.toString()); return result.toString(); } catch (Exception e) { return "Error formatting message for bug: " + e.toString(); } }
|
public String toString() { try { BugInstance bugInstance = (BugInstance) getUserObject(); StringBuffer result = new StringBuffer(); if (count >= 0) { result.append(count); result.append(": "); } if (bugInstance.isExperimental()) result.append("EXP: "); result.append(fullDescriptionsItem.isSelected() ? bugInstance.getMessage() : bugInstance.toString()); return result.toString(); } catch (Exception e) { return "Error formatting message for bug: " + e.toString(); } }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/4748a5a9b76f3dd763ee6bc7755c932a711bd6a6/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
1762,
1435,
288,
202,
565,
775,
288,
7734,
16907,
1442,
7934,
1442,
273,
261,
19865,
1442,
13,
4735,
921,
5621,
7734,
6674,
563,
273,
394,
6674,
5621,
202,
202,
430,
261,
1883,
1545,
374,
13,
288,
1082,
565,
563,
18,
6923,
12,
1883,
1769,
1082,
565,
563,
18,
6923,
2932,
30,
315,
1769,
202,
202,
97,
202,
202,
430,
261,
925,
1442,
18,
291,
22338,
287,
10756,
1082,
565,
563,
18,
6923,
2932,
16109,
30,
315,
1769,
202,
202,
2088,
18,
6923,
12,
2854,
16844,
1180,
18,
291,
7416,
1435,
692,
7934,
1442,
18,
24906,
1435,
294,
7934,
1442,
18,
10492,
10663,
202,
202,
2463,
563,
18,
10492,
5621,
202,
565,
289,
1044,
261,
503,
425,
13,
288,
202,
202,
2463,
315,
668,
10407,
883,
364,
7934,
30,
315,
397,
425,
18,
10492,
5621,
202,
565,
289,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
1762,
1435,
288,
202,
565,
775,
288,
7734,
16907,
1442,
7934,
1442,
273,
261,
19865,
1442,
13,
4735,
921,
5621,
7734,
6674,
563,
273,
394,
6674,
5621,
202,
202,
430,
261,
1883,
1545,
374,
13,
288,
1082,
565,
563,
18,
6923,
12,
1883,
1769,
1082,
565,
563,
18,
6923,
2932,
30,
315,
1769,
202,
202,
97,
202,
202,
430,
261,
925,
1442,
18,
291,
22338,
287,
10756,
1082,
565,
563,
18,
6923,
2932,
16109,
30,
315,
1769,
202,
202,
2088,
18,
6923,
12,
2854,
16844,
1180,
18,
291,
7416,
1435,
692,
7934,
1442,
18,
24906,
1435,
294,
7934,
1442,
18,
10492,
10663,
202,
202,
2463,
563,
18,
10492,
5621,
202,
565,
289,
1044,
261,
503,
425,
2
] |
|
_this_object( orb );
|
this.orb = orb;
|
public DynAnyFactoryImpl(org.jacorb.orb.ORB orb) { _this_object( orb ); }
|
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/424118ac7ca50e6dc46f74870b14157a45400f98/DynAnyFactoryImpl.java/clean/src/org/jacorb/orb/dynany/DynAnyFactoryImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
463,
878,
2961,
1733,
2828,
12,
3341,
18,
31390,
16640,
18,
16640,
18,
916,
38,
16823,
13,
565,
288,
202,
2211,
18,
16640,
273,
16823,
31,
377,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
463,
878,
2961,
1733,
2828,
12,
3341,
18,
31390,
16640,
18,
16640,
18,
916,
38,
16823,
13,
565,
288,
202,
2211,
18,
16640,
273,
16823,
31,
377,
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
] |
PUSH_ITER(ITER_NOT);
|
rubyIter.push(Iter.ITER_NOT);
|
private BLOCK BEGIN_CALLARGS() { BLOCK tmp_block = ruby_block; if (ruby_iter.iter == ITER_PRE) { ruby_block = ruby_block.prev; } PUSH_ITER(ITER_NOT); return tmp_block; }
|
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/f1e2c45b99e6f9a2be3f15f5fd7ad91c7e086a2c/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
14073,
19270,
67,
13730,
22439,
1435,
288,
3639,
14073,
1853,
67,
2629,
273,
22155,
67,
2629,
31,
3639,
309,
261,
27768,
67,
2165,
18,
2165,
422,
467,
2560,
67,
3670,
13,
288,
5411,
22155,
67,
2629,
273,
22155,
67,
2629,
18,
10001,
31,
3639,
289,
3639,
22155,
2360,
18,
6206,
12,
2360,
18,
11844,
67,
4400,
1769,
3639,
327,
1853,
67,
2629,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
14073,
19270,
67,
13730,
22439,
1435,
288,
3639,
14073,
1853,
67,
2629,
273,
22155,
67,
2629,
31,
3639,
309,
261,
27768,
67,
2165,
18,
2165,
422,
467,
2560,
67,
3670,
13,
288,
5411,
22155,
67,
2629,
273,
22155,
67,
2629,
18,
10001,
31,
3639,
289,
3639,
22155,
2360,
18,
6206,
12,
2360,
18,
11844,
67,
4400,
1769,
3639,
327,
1853,
67,
2629,
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
] |
" DECLARE @tablename nvarchar(256), @constraintname nvarchar(256)\n"+
|
" DECLARE @" + tableNameVars[1] + " nvarchar(256), @" + constraintNameVars[1] + " nvarchar(256)\n"+
|
public void testTableConstraints() throws Exception { assertEqualsIgnoringWhitespaces( "SET quoted_identifier on;\n"+ "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'F' AND name = 'testfk')\n"+ " ALTER TABLE \"table3\" DROP CONSTRAINT \"testfk\";\n"+ "SET quoted_identifier on;\n"+ "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'F' AND name = 'table2_FK_COL_FK_1_COL_FK_2_table1')\n"+ " ALTER TABLE \"table2\" DROP CONSTRAINT \"table2_FK_COL_FK_1_COL_FK_2_table1\";\n"+ "SET quoted_identifier on;\n"+ "SET quoted_identifier on;\n"+ "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'table3')\n"+ "BEGIN\n"+ " DECLARE @tablename nvarchar(256), @constraintname nvarchar(256)\n"+ " DECLARE refcursor CURSOR FOR\n"+ " SELECT object_name(objs.parent_obj) tablename, objs.name constraintname\n"+ " FROM sysobjects objs JOIN sysconstraints cons ON objs.id = cons.constid\n"+ " WHERE objs.xtype != 'PK' AND object_name(objs.parent_obj) = 'table3' OPEN refcursor\n"+ " FETCH NEXT FROM refcursor INTO @tablename, @constraintname\n"+ " WHILE @@FETCH_STATUS = 0\n"+ " BEGIN\n"+ " EXEC ('ALTER TABLE '+@tablename+' DROP CONSTRAINT '+@constraintname)\n"+ " FETCH NEXT FROM refcursor INTO @tablename, @constraintname\n"+ " END\n"+ " CLOSE refcursor\n"+ " DEALLOCATE refcursor\n"+ " DROP TABLE \"table3\"\n"+ "END;\n"+ "SET quoted_identifier on;\n"+ "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'table2')\n"+ "BEGIN\n"+ " DECLARE @tablename nvarchar(256), @constraintname nvarchar(256)\n"+ " DECLARE refcursor CURSOR FOR\n"+ " SELECT object_name(objs.parent_obj) tablename, objs.name constraintname\n"+ " FROM sysobjects objs JOIN sysconstraints cons ON objs.id = cons.constid\n"+ " WHERE objs.xtype != 'PK' AND object_name(objs.parent_obj) = 'table2' OPEN refcursor\n"+ " FETCH NEXT FROM refcursor INTO @tablename, @constraintname\n"+ " WHILE @@FETCH_STATUS = 0\n"+ " BEGIN\n"+ " EXEC ('ALTER TABLE '+@tablename+' DROP CONSTRAINT '+@constraintname)\n"+ " FETCH NEXT FROM refcursor INTO @tablename, @constraintname\n"+ " END\n"+ " CLOSE refcursor\n"+ " DEALLOCATE refcursor\n"+ " DROP TABLE \"table2\"\n"+ "END;\n"+ "SET quoted_identifier on;\n"+ "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'table1')\n"+ "BEGIN\n"+ " DECLARE @tablename nvarchar(256), @constraintname nvarchar(256)\n"+ " DECLARE refcursor CURSOR FOR\n"+ " SELECT object_name(objs.parent_obj) tablename, objs.name constraintname\n"+ " FROM sysobjects objs JOIN sysconstraints cons ON objs.id = cons.constid\n"+ " WHERE objs.xtype != 'PK' AND object_name(objs.parent_obj) = 'table1' OPEN refcursor\n"+ " FETCH NEXT FROM refcursor INTO @tablename, @constraintname\n"+ " WHILE @@FETCH_STATUS = 0\n"+ " BEGIN\n"+ " EXEC ('ALTER TABLE '+@tablename+' DROP CONSTRAINT '+@constraintname)\n"+ " FETCH NEXT FROM refcursor INTO @tablename, @constraintname\n"+ " END\n"+ " CLOSE refcursor\n"+ " DEALLOCATE refcursor\n"+ " DROP TABLE \"table1\"\n"+ "END;\n"+ "SET quoted_identifier on;\n"+ "CREATE TABLE \"table1\"\n"+ "(\n"+ " \"COL_PK_1\" VARCHAR(32) NOT NULL,\n"+ " \"COL_PK_2\" INT,\n"+ " \"COL_INDEX_1\" BINARY(100) NOT NULL,\n"+ " \"COL_INDEX_2\" FLOAT NOT NULL,\n"+ " \"COL_INDEX_3\" CHAR(4),\n"+ " PRIMARY KEY (\"COL_PK_1\", \"COL_PK_2\")\n"+ ");\n"+ "CREATE INDEX \"testindex1\" ON \"table1\" (\"COL_INDEX_2\");\n"+ "CREATE UNIQUE INDEX \"testindex2\" ON \"table1\" (\"COL_INDEX_3\", \"COL_INDEX_1\");\n"+ "SET quoted_identifier on;\n"+ "CREATE TABLE \"table2\"\n"+ "(\n"+ " \"COL_PK\" INT,\n"+ " \"COL_FK_1\" INT,\n"+ " \"COL_FK_2\" VARCHAR(32) NOT NULL,\n"+ " PRIMARY KEY (\"COL_PK\")\n"+ ");\n"+ "SET quoted_identifier on;\n"+ "CREATE TABLE \"table3\"\n"+ "(\n"+ " \"COL_PK\" VARCHAR(16),\n"+ " \"COL_FK\" INT NOT NULL,\n"+ " PRIMARY KEY (\"COL_PK\")\n"+ ");\n"+ "ALTER TABLE \"table2\" ADD CONSTRAINT \"table2_FK_COL_FK_1_COL_FK_2_table1\" FOREIGN KEY (\"COL_FK_1\", \"COL_FK_2\") REFERENCES \"table1\" (\"COL_PK_2\", \"COL_PK_1\");\n"+ "ALTER TABLE \"table3\" ADD CONSTRAINT \"testfk\" FOREIGN KEY (\"COL_FK\") REFERENCES \"table2\" (\"COL_PK\");\n", createTestDatabase(TABLE_CONSTRAINT_TEST_SCHEMA)); }
|
3517 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3517/b18ab2f7d5ab65951d49530e955171abbf76fedc/TestMSSqlPlatform.java/buggy/src/test/org/apache/ddlutils/platform/TestMSSqlPlatform.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1388,
4878,
1435,
1216,
1185,
565,
288,
3639,
1815,
8867,
21702,
2888,
21693,
12,
5411,
315,
4043,
9298,
67,
5644,
603,
9747,
82,
6,
15,
5411,
315,
5501,
20476,
261,
4803,
404,
4571,
2589,
6911,
4852,
618,
273,
296,
42,
11,
4116,
508,
273,
296,
3813,
23120,
11,
5153,
82,
6,
15,
5411,
315,
377,
7981,
2560,
7567,
1239,
2121,
23,
2412,
25736,
29316,
1239,
3813,
23120,
2412,
9747,
82,
6,
15,
5411,
315,
4043,
9298,
67,
5644,
603,
9747,
82,
6,
15,
5411,
315,
5501,
20476,
261,
4803,
404,
4571,
2589,
6911,
4852,
618,
273,
296,
42,
11,
4116,
508,
273,
296,
2121,
22,
67,
13121,
67,
4935,
67,
13121,
67,
21,
67,
4935,
67,
13121,
67,
22,
67,
2121,
21,
11,
5153,
82,
6,
15,
5411,
315,
377,
7981,
2560,
7567,
1239,
2121,
22,
2412,
25736,
29316,
1239,
2121,
22,
67,
13121,
67,
4935,
67,
13121,
67,
21,
67,
4935,
67,
13121,
67,
22,
67,
2121,
21,
2412,
9747,
82,
6,
15,
5411,
315,
4043,
9298,
67,
5644,
603,
9747,
82,
6,
15,
5411,
315,
4043,
9298,
67,
5644,
603,
9747,
82,
6,
15,
5411,
315,
5501,
20476,
261,
4803,
404,
4571,
2589,
6911,
4852,
618,
273,
296,
57,
11,
4116,
508,
273,
296,
2121,
23,
11,
5153,
82,
6,
15,
5411,
315,
16061,
64,
82,
6,
15,
5411,
315,
225,
2030,
15961,
862,
632,
6,
397,
4775,
5555,
63,
21,
65,
397,
315,
8779,
22483,
12,
5034,
3631,
632,
6,
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,
1388,
4878,
1435,
1216,
1185,
565,
288,
3639,
1815,
8867,
21702,
2888,
21693,
12,
5411,
315,
4043,
9298,
67,
5644,
603,
9747,
82,
6,
15,
5411,
315,
5501,
20476,
261,
4803,
404,
4571,
2589,
6911,
4852,
618,
273,
296,
42,
11,
4116,
508,
273,
296,
3813,
23120,
11,
5153,
82,
6,
15,
5411,
315,
377,
7981,
2560,
7567,
1239,
2121,
23,
2412,
25736,
29316,
1239,
3813,
23120,
2412,
9747,
82,
6,
15,
5411,
315,
4043,
9298,
67,
5644,
603,
9747,
82,
6,
15,
5411,
315,
5501,
20476,
261,
4803,
404,
4571,
2589,
6911,
4852,
618,
273,
296,
42,
11,
4116,
508,
273,
296,
2121,
22,
67,
13121,
67,
4935,
67,
13121,
67,
21,
67,
4935,
2
] |
if (contextManagerChanged) fireContextManagerChanged( new ContextManagerEvent(this, false, true));
|
if (!contextsEnabled.isEmpty() || !contextsDisabled.isEmpty()) { fireContextManagerChanged(new ContextManagerEvent(this, (String[]) contextsEnabled.toArray(new String[contextsEnabled.size()]), (String[]) contextsDisabled.toArray(new String[contextsDisabled.size()]), null)); }
|
public void setEnabledContextIds(Set enabledContextIds) { enabledContextIds = Util.safeCopy(enabledContextIds, String.class); Set requiredContextIds = new HashSet(enabledContextIds); getRequiredContextIds(enabledContextIds, requiredContextIds); enabledContextIds = requiredContextIds; boolean contextManagerChanged = false; Map contextEventsByContextId = null; if (!this.enabledContextIds.equals(enabledContextIds)) { this.enabledContextIds = enabledContextIds; contextManagerChanged = true; contextEventsByContextId = updateContexts(contextsById.keySet()); } if (contextEventsByContextId != null) notifyContexts(contextEventsByContextId); if (contextManagerChanged) fireContextManagerChanged( new ContextManagerEvent(this, false, true)); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/50f2ca10ca784c3f46f44a5bd58b7f66c39fbf84/MutableContextManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/contexts/MutableContextManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12888,
1042,
2673,
12,
694,
3696,
1042,
2673,
13,
288,
202,
202,
5745,
1042,
2673,
273,
3564,
18,
4626,
2951,
12,
5745,
1042,
2673,
16,
514,
18,
1106,
1769,
202,
202,
694,
1931,
1042,
2673,
273,
394,
6847,
12,
5745,
1042,
2673,
1769,
202,
202,
588,
3705,
1042,
2673,
12,
5745,
1042,
2673,
16,
1931,
1042,
2673,
1769,
202,
202,
5745,
1042,
2673,
273,
1931,
1042,
2673,
31,
202,
202,
6494,
819,
1318,
5033,
273,
629,
31,
202,
202,
863,
819,
3783,
858,
1042,
548,
273,
446,
31,
202,
202,
430,
16051,
2211,
18,
5745,
1042,
2673,
18,
14963,
12,
5745,
1042,
2673,
3719,
288,
1082,
202,
2211,
18,
5745,
1042,
2673,
273,
3696,
1042,
2673,
31,
1082,
202,
2472,
1318,
5033,
273,
638,
31,
1082,
202,
2472,
3783,
858,
1042,
548,
273,
1089,
15518,
12,
18332,
5132,
18,
856,
694,
10663,
202,
202,
97,
202,
202,
430,
261,
2472,
3783,
858,
1042,
548,
480,
446,
13,
1082,
202,
12336,
15518,
12,
2472,
3783,
858,
1042,
548,
1769,
9506,
202,
430,
261,
2472,
1318,
5033,
13,
1082,
202,
12179,
1042,
1318,
5033,
12,
9506,
202,
2704,
1772,
1318,
1133,
12,
2211,
16,
629,
16,
638,
10019,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12888,
1042,
2673,
12,
694,
3696,
1042,
2673,
13,
288,
202,
202,
5745,
1042,
2673,
273,
3564,
18,
4626,
2951,
12,
5745,
1042,
2673,
16,
514,
18,
1106,
1769,
202,
202,
694,
1931,
1042,
2673,
273,
394,
6847,
12,
5745,
1042,
2673,
1769,
202,
202,
588,
3705,
1042,
2673,
12,
5745,
1042,
2673,
16,
1931,
1042,
2673,
1769,
202,
202,
5745,
1042,
2673,
273,
1931,
1042,
2673,
31,
202,
202,
6494,
819,
1318,
5033,
273,
629,
31,
202,
202,
863,
819,
3783,
858,
1042,
548,
273,
446,
31,
202,
202,
430,
16051,
2211,
18,
5745,
1042,
2673,
18,
14963,
12,
5745,
1042,
2673,
3719,
288,
1082,
202,
2211,
18,
5745,
1042,
2673,
273,
3696,
1042,
2
] |
bufferPos[bufferStackPos], false, false);
|
bufferPos[bufferStackPos]+1, false, false);
|
protected void skipOverConditionalCode(boolean checkelse) { char[] buffer = bufferStack[bufferStackPos]; int limit = bufferLimit[bufferStackPos]; int nesting = 0; while (bufferPos[bufferStackPos] < limit) { skipOverWhiteSpace(); if (++bufferPos[bufferStackPos] >= limit) return; char c = buffer[bufferPos[bufferStackPos]]; if (c == '#') { int startPos = bufferPos[bufferStackPos]; skipOverWhiteSpace(); // find the directive int start = ++bufferPos[bufferStackPos]; // if new line or end of buffer, we're done if (start >= limit || buffer[start] == '\n') continue; c = buffer[start]; if ((c >= 'a' && c <= 'z')) { while (++bufferPos[bufferStackPos] < limit) { c = buffer[bufferPos[bufferStackPos]]; if ((c >= 'a' && c <= 'z')) continue; break; } --bufferPos[bufferStackPos]; int len = bufferPos[bufferStackPos] - start + 1; int type = ppKeywords.get(buffer, start, len); if (type != ppKeywords.undefined) { switch (type) { case ppIfdef: case ppIfndef: case ppIf: ++nesting; branchState(BRANCH_IF); skipToNewLine(); if (type == ppIfdef) processIfdef(startPos, bufferPos[bufferStackPos], true, false); else if (type == ppIfndef) processIfdef(startPos, bufferPos[bufferStackPos], false, false); else processIf(startPos, bufferPos[bufferStackPos], false); break; case ppElse: if (branchState(BRANCH_ELSE)) { skipToNewLine(); if (checkelse && nesting == 0) { processElse(startPos, bufferPos[bufferStackPos], true); return; } processElse(startPos, bufferPos[bufferStackPos], false); } else { //problem, ignore this one. handleProblem( IProblem.PREPROCESSOR_UNBALANCE_CONDITION, start, ppKeywords.findKey(buffer, start, len)); skipToNewLine(); } break; case ppElif: if (branchState(BRANCH_ELIF)) { if (checkelse && nesting == 0) { // check the condition start = bufferPos[bufferStackPos] + 1; skipToNewLine(); len = bufferPos[bufferStackPos] - start; if (expressionEvaluator .evaluate( buffer, start, len, definitions, getLineNumber(bufferPos[bufferStackPos]), getCurrentFilename()) != 0) { // condition passed, we're good processElsif(startPos, bufferPos[bufferStackPos], true); return; } processElsif(startPos, bufferPos[bufferStackPos], false); } else { skipToNewLine(); processElsif(startPos, bufferPos[bufferStackPos], false); } } else { //problem, ignore this one. handleProblem( IProblem.PREPROCESSOR_UNBALANCE_CONDITION, start, ppKeywords.findKey(buffer, start, len)); skipToNewLine(); } break; case ppEndif: if (branchState(BRANCH_END)) { processEndif(startPos, bufferPos[bufferStackPos] + 1); if (nesting > 0) { --nesting; } else { skipToNewLine(); return; } } else { //problem, ignore this one. handleProblem( IProblem.PREPROCESSOR_UNBALANCE_CONDITION, start, ppKeywords.findKey(buffer, start, len)); skipToNewLine(); } break; } } } } else if (c != '\n') skipToNewLine(); } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/fdabd9645c02460b6cbe435e46247c1b6cd0db21/BaseScanner.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/BaseScanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2488,
4851,
14132,
1085,
12,
6494,
866,
12107,
13,
288,
3639,
1149,
8526,
1613,
273,
1613,
2624,
63,
4106,
2624,
1616,
15533,
3639,
509,
1800,
273,
1613,
3039,
63,
4106,
2624,
1616,
15533,
3639,
509,
17174,
273,
374,
31,
3639,
1323,
261,
4106,
1616,
63,
4106,
2624,
1616,
65,
411,
1800,
13,
288,
5411,
2488,
4851,
23108,
5621,
5411,
309,
261,
9904,
4106,
1616,
63,
4106,
2624,
1616,
65,
1545,
1800,
13,
7734,
327,
31,
5411,
1149,
276,
273,
1613,
63,
4106,
1616,
63,
4106,
2624,
1616,
13563,
31,
5411,
309,
261,
71,
422,
2946,
6134,
288,
7734,
509,
16013,
273,
1613,
1616,
63,
4106,
2624,
1616,
15533,
7734,
2488,
4851,
23108,
5621,
7734,
368,
1104,
326,
8655,
7734,
509,
787,
273,
965,
4106,
1616,
63,
4106,
2624,
1616,
15533,
7734,
368,
309,
394,
980,
578,
679,
434,
1613,
16,
732,
4565,
2731,
7734,
309,
261,
1937,
1545,
1800,
747,
1613,
63,
1937,
65,
422,
2337,
82,
6134,
10792,
1324,
31,
7734,
276,
273,
1613,
63,
1937,
15533,
7734,
309,
14015,
71,
1545,
296,
69,
11,
597,
276,
1648,
296,
94,
26112,
288,
10792,
1323,
261,
9904,
4106,
1616,
63,
4106,
2624,
1616,
65,
411,
1800,
13,
288,
13491,
276,
273,
1613,
63,
4106,
1616,
63,
4106,
2624,
1616,
13563,
31,
13491,
309,
14015,
71,
1545,
296,
69,
11,
597,
276,
1648,
296,
94,
26112,
18701,
1324,
31,
13491,
898,
31,
10792,
289,
10792,
1493,
4106,
1616,
63,
4106,
2624,
1616,
15533,
10792,
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,
4750,
918,
2488,
4851,
14132,
1085,
12,
6494,
866,
12107,
13,
288,
3639,
1149,
8526,
1613,
273,
1613,
2624,
63,
4106,
2624,
1616,
15533,
3639,
509,
1800,
273,
1613,
3039,
63,
4106,
2624,
1616,
15533,
3639,
509,
17174,
273,
374,
31,
3639,
1323,
261,
4106,
1616,
63,
4106,
2624,
1616,
65,
411,
1800,
13,
288,
5411,
2488,
4851,
23108,
5621,
5411,
309,
261,
9904,
4106,
1616,
63,
4106,
2624,
1616,
65,
1545,
1800,
13,
7734,
327,
31,
5411,
1149,
276,
273,
1613,
63,
4106,
1616,
63,
4106,
2624,
1616,
13563,
31,
5411,
309,
261,
71,
422,
2946,
6134,
288,
7734,
509,
16013,
273,
1613,
1616,
63,
4106,
2624,
1616,
15533,
7734,
2488,
4851,
23108,
5621,
7734,
368,
1104,
2
] |
public SortSpec( int[] sortKeyIndexes, boolean[] sortAscending )
|
public SortSpec( int[] sortKeyIndexes, String[] sortKeyColumns, boolean[] sortAscending )
|
public SortSpec( int[] sortKeyIndexes, boolean[] sortAscending ) { this.sortKeyIndexes = sortKeyIndexes; this.sortAscending = sortAscending; }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/83c61e18ec014b0a0d7683b4196d0a84fb37ac77/SortSpec.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/SortSpec.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5928,
1990,
12,
509,
8526,
1524,
653,
8639,
16,
1250,
8526,
1524,
13665,
2846,
262,
202,
95,
202,
202,
2211,
18,
3804,
653,
8639,
273,
1524,
653,
8639,
31,
202,
202,
2211,
18,
3804,
13665,
2846,
273,
1524,
13665,
2846,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5928,
1990,
12,
509,
8526,
1524,
653,
8639,
16,
1250,
8526,
1524,
13665,
2846,
262,
202,
95,
202,
202,
2211,
18,
3804,
653,
8639,
273,
1524,
653,
8639,
31,
202,
202,
2211,
18,
3804,
13665,
2846,
273,
1524,
13665,
2846,
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
] |
if (intrprtr.getScope_vmode() == SCOPE_PRIVATE) {
|
if (intrprtr.getActMethodScope() == SCOPE_PRIVATE) {
|
public void addAttribute(RubyId id, boolean read, boolean write, boolean ex) { RubyInterpreter intrprtr = getRuby().getInterpreter(); int noex = NOEX_PUBLIC; if (ex) { if (intrprtr.getScope_vmode() == SCOPE_PRIVATE) { noex = NOEX_PRIVATE; } else if (intrprtr.getScope_vmode() == SCOPE_PROTECTED) { noex = NOEX_PROTECTED; } else { noex = NOEX_PUBLIC; } } String name = id.toName(); RubyId attrIV = getRuby().intern("@" + name); if (read) { addMethod(id, NODE.newIVar(attrIV), noex); // id.clearCache(); funcall(getRuby().intern("method_added"), id.toSymbol()); } if (write) { id = getRuby().intern(name + "="); addMethod(id, NODE.newAttrSet(attrIV), noex); // id.clearCache(); funcall(getRuby().intern("method_added"), id.toSymbol()); } }
|
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/60d09f0d06e157ff7d9bb828d89273706e4e2798/RubyModule.java/clean/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
10759,
12,
54,
10340,
548,
612,
16,
1250,
855,
16,
1250,
1045,
16,
1250,
431,
13,
288,
3639,
19817,
30010,
28600,
683,
313,
273,
4170,
10340,
7675,
588,
30010,
5621,
10792,
509,
1158,
338,
273,
3741,
2294,
67,
14939,
31,
7734,
309,
261,
338,
13,
288,
5411,
309,
261,
267,
313,
683,
313,
18,
588,
2459,
1305,
3876,
1435,
422,
19296,
67,
20055,
13,
288,
7734,
1158,
338,
273,
3741,
2294,
67,
20055,
31,
5411,
289,
469,
309,
261,
267,
313,
683,
313,
18,
588,
3876,
67,
90,
3188,
1435,
422,
19296,
67,
3373,
26729,
13,
288,
7734,
1158,
338,
273,
3741,
2294,
67,
3373,
26729,
31,
5411,
289,
469,
288,
7734,
1158,
338,
273,
3741,
2294,
67,
14939,
31,
5411,
289,
3639,
289,
7734,
514,
508,
273,
612,
18,
869,
461,
5621,
7734,
19817,
548,
1604,
8188,
273,
4170,
10340,
7675,
267,
798,
2932,
27614,
397,
508,
1769,
7734,
309,
261,
896,
13,
288,
5411,
18223,
12,
350,
16,
11922,
18,
2704,
45,
1537,
12,
1747,
8188,
3631,
1158,
338,
1769,
5411,
368,
612,
18,
8507,
1649,
5621,
5411,
1326,
454,
12,
588,
54,
10340,
7675,
267,
798,
2932,
2039,
67,
9665,
6,
3631,
612,
18,
869,
5335,
10663,
3639,
289,
7734,
309,
261,
2626,
13,
288,
5411,
612,
273,
4170,
10340,
7675,
267,
798,
12,
529,
397,
9671,
1769,
5411,
18223,
12,
350,
16,
11922,
18,
2704,
3843,
694,
12,
1747,
8188,
3631,
1158,
338,
1769,
5411,
368,
612,
18,
8507,
1649,
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,
10759,
12,
54,
10340,
548,
612,
16,
1250,
855,
16,
1250,
1045,
16,
1250,
431,
13,
288,
3639,
19817,
30010,
28600,
683,
313,
273,
4170,
10340,
7675,
588,
30010,
5621,
10792,
509,
1158,
338,
273,
3741,
2294,
67,
14939,
31,
7734,
309,
261,
338,
13,
288,
5411,
309,
261,
267,
313,
683,
313,
18,
588,
2459,
1305,
3876,
1435,
422,
19296,
67,
20055,
13,
288,
7734,
1158,
338,
273,
3741,
2294,
67,
20055,
31,
5411,
289,
469,
309,
261,
267,
313,
683,
313,
18,
588,
3876,
67,
90,
3188,
1435,
422,
19296,
67,
3373,
26729,
13,
288,
7734,
1158,
338,
273,
3741,
2294,
67,
3373,
26729,
31,
5411,
289,
469,
288,
7734,
1158,
338,
273,
3741,
2
] |
}
|
}*/
|
public void setAccessClass(PsiClass accessClass) { if (isConstructor() && accessClass instanceof PsiAnonymousClass) { myAccessClass = ((PsiAnonymousClass)accessClass).getBaseClassType().resolve(); } else { myAccessClass = accessClass; } if (isConstructor() && myAccessClass != null) { setName(myAccessClass.getName()); } }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/62af85b1ea0161357ca2f9b807dcad548ed9c058/MethodsProcessor.java/clean/source/com/intellij/psi/scope/processor/MethodsProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
1862,
797,
12,
52,
7722,
797,
2006,
797,
13,
288,
565,
309,
261,
291,
6293,
1435,
597,
2006,
797,
1276,
453,
7722,
18792,
797,
13,
288,
1377,
3399,
1862,
797,
273,
14015,
52,
7722,
18792,
797,
13,
3860,
797,
2934,
588,
2171,
18328,
7675,
10828,
5621,
565,
289,
5549,
565,
469,
288,
1377,
3399,
1862,
797,
273,
2006,
797,
31,
565,
289,
5549,
565,
309,
261,
291,
6293,
1435,
597,
3399,
1862,
797,
480,
446,
13,
288,
1377,
6788,
12,
4811,
1862,
797,
18,
17994,
10663,
565,
289,
5549,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
1862,
797,
12,
52,
7722,
797,
2006,
797,
13,
288,
565,
309,
261,
291,
6293,
1435,
597,
2006,
797,
1276,
453,
7722,
18792,
797,
13,
288,
1377,
3399,
1862,
797,
273,
14015,
52,
7722,
18792,
797,
13,
3860,
797,
2934,
588,
2171,
18328,
7675,
10828,
5621,
565,
289,
5549,
565,
469,
288,
1377,
3399,
1862,
797,
273,
2006,
797,
31,
565,
289,
5549,
565,
309,
261,
291,
6293,
1435,
597,
3399,
1862,
797,
480,
446,
13,
288,
1377,
6788,
12,
4811,
1862,
797,
18,
17994,
10663,
565,
289,
5549,
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
] |
if (aClass == null) {
|
if(aClass == null){
|
public void visitMethod(@NotNull PsiMethod method) { final PsiClass aClass = method.getContainingClass(); if (aClass == null) { return; } if (method.hasModifierProperty(PsiModifier.PRIVATE) || method.hasModifierProperty(PsiModifier.STATIC)) { return; } final PsiMethod[] superMethods = PsiSuperMethodUtil.findSuperMethods(method); if(superMethods!=null && superMethods.length!=0) { return; } PsiClass ancestorClass = aClass.getSuperClass(); final Set<PsiClass> visitedClasses = new HashSet<PsiClass>(); while (ancestorClass != null) { if (!visitedClasses.add(ancestorClass)) { return; } if (methodOverloads(method, ancestorClass)) { registerMethodError(method); return; } ancestorClass = ancestorClass.getSuperClass(); } }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/2d2d5a2a31b1804a2f58e4a9df770e410283777f/MethodOverloadsParentMethodInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/visibility/MethodOverloadsParentMethodInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
25138,
26964,
5962,
453,
7722,
1305,
707,
13,
288,
5411,
727,
453,
7722,
797,
20148,
273,
707,
18,
588,
24344,
797,
5621,
5411,
309,
12,
69,
797,
422,
446,
15329,
7734,
327,
31,
5411,
289,
5411,
309,
261,
2039,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
20055,
13,
10792,
747,
707,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
22741,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
1305,
8526,
2240,
4712,
273,
453,
7722,
8051,
1305,
1304,
18,
4720,
8051,
4712,
12,
2039,
1769,
5411,
309,
12,
9565,
4712,
5,
33,
2011,
597,
2240,
4712,
18,
2469,
5,
33,
20,
13,
5411,
288,
7734,
327,
31,
5411,
289,
5411,
453,
7722,
797,
9731,
797,
273,
20148,
18,
588,
8051,
797,
5621,
5411,
727,
1000,
32,
52,
7722,
797,
34,
9711,
4818,
273,
394,
6847,
32,
52,
7722,
797,
34,
5621,
5411,
1323,
261,
28798,
797,
480,
446,
13,
288,
7734,
309,
16051,
30129,
4818,
18,
1289,
12,
28798,
797,
3719,
288,
10792,
327,
31,
7734,
289,
7734,
309,
261,
2039,
4851,
17135,
12,
2039,
16,
9731,
797,
3719,
288,
10792,
1744,
1305,
668,
12,
2039,
1769,
10792,
327,
31,
7734,
289,
7734,
9731,
797,
273,
9731,
797,
18,
588,
8051,
797,
5621,
5411,
289,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
25138,
26964,
5962,
453,
7722,
1305,
707,
13,
288,
5411,
727,
453,
7722,
797,
20148,
273,
707,
18,
588,
24344,
797,
5621,
5411,
309,
12,
69,
797,
422,
446,
15329,
7734,
327,
31,
5411,
289,
5411,
309,
261,
2039,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
20055,
13,
10792,
747,
707,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
22741,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
1305,
8526,
2240,
4712,
273,
453,
7722,
8051,
1305,
1304,
18,
4720,
8051,
4712,
12,
2039,
1769,
5411,
309,
12,
9565,
4712,
5,
33,
2011,
597,
2240,
4712,
18,
2469,
5,
33,
20,
13,
5411,
288,
7734,
327,
31,
5411,
289,
5411,
2
] |
case LE:
|
case Operators.LE:
|
public void translateDesynthesized(ClassGenerator classGen, MethodGenerator methodGen) { if (hasNodeSetArgs() || hasReferenceArgs()) { translate(classGen, methodGen); desynthesize(classGen, methodGen); } else { BranchInstruction bi = null; final InstructionList il = methodGen.getInstructionList(); _left.translate(classGen, methodGen); _right.translate(classGen, methodGen); // TODO: optimize if one of the args is 0 boolean tozero = false; Type tleft = _left.getType(); if (tleft instanceof RealType) { il.append(tleft.CMP(_op == LT || _op == LE)); tleft = Type.Int; tozero = true; } switch (_op) { case LT: bi = tleft.GE(tozero); break; case GT: bi = tleft.LE(tozero); break; case LE: bi = tleft.GT(tozero); break; case GE: bi = tleft.LT(tozero); break; default: ErrorMsg msg = new ErrorMsg(ErrorMsg.ILLEGAL_RELAT_OP_ERR,this); getParser().reportError(Constants.FATAL, msg); } _falseList.add(il.append(bi)); // must be backpatched } }
|
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/2d07c253b814672a82d969836d58577bfa628b88/RelationalExpr.java/clean/src/org/apache/xalan/xsltc/compiler/RelationalExpr.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4204,
6305,
878,
7915,
1235,
12,
797,
3908,
667,
7642,
16,
6862,
4202,
2985,
3908,
707,
7642,
13,
288,
202,
430,
261,
5332,
907,
694,
2615,
1435,
747,
711,
2404,
2615,
10756,
288,
202,
565,
4204,
12,
1106,
7642,
16,
707,
7642,
1769,
202,
565,
2832,
878,
7915,
554,
12,
1106,
7642,
16,
707,
7642,
1769,
202,
97,
202,
12107,
288,
202,
565,
15449,
11983,
10054,
273,
446,
31,
202,
565,
727,
24605,
682,
14254,
273,
707,
7642,
18,
588,
11983,
682,
5621,
202,
565,
389,
4482,
18,
13929,
12,
1106,
7642,
16,
707,
7642,
1769,
202,
565,
389,
4083,
18,
13929,
12,
1106,
7642,
16,
707,
7642,
1769,
202,
565,
368,
2660,
30,
10979,
309,
1245,
434,
326,
833,
353,
374,
202,
565,
1250,
358,
7124,
273,
629,
31,
202,
565,
1412,
268,
4482,
273,
389,
4482,
18,
588,
559,
5621,
3196,
565,
309,
261,
88,
4482,
1276,
15987,
559,
13,
288,
202,
202,
330,
18,
6923,
12,
88,
4482,
18,
39,
4566,
24899,
556,
422,
11807,
747,
389,
556,
422,
5380,
10019,
202,
202,
88,
4482,
273,
1412,
18,
1702,
31,
202,
202,
869,
7124,
273,
638,
31,
202,
565,
289,
202,
565,
1620,
261,
67,
556,
13,
288,
202,
565,
648,
11807,
30,
202,
202,
13266,
273,
268,
4482,
18,
7113,
12,
869,
7124,
1769,
1082,
202,
8820,
31,
9506,
565,
648,
19688,
30,
202,
202,
13266,
273,
268,
4482,
18,
900,
12,
869,
7124,
1769,
202,
202,
8820,
31,
9506,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4204,
6305,
878,
7915,
1235,
12,
797,
3908,
667,
7642,
16,
6862,
4202,
2985,
3908,
707,
7642,
13,
288,
202,
430,
261,
5332,
907,
694,
2615,
1435,
747,
711,
2404,
2615,
10756,
288,
202,
565,
4204,
12,
1106,
7642,
16,
707,
7642,
1769,
202,
565,
2832,
878,
7915,
554,
12,
1106,
7642,
16,
707,
7642,
1769,
202,
97,
202,
12107,
288,
202,
565,
15449,
11983,
10054,
273,
446,
31,
202,
565,
727,
24605,
682,
14254,
273,
707,
7642,
18,
588,
11983,
682,
5621,
202,
565,
389,
4482,
18,
13929,
12,
1106,
7642,
16,
707,
7642,
1769,
202,
565,
389,
4083,
18,
13929,
12,
1106,
7642,
16,
707,
7642,
1769,
202,
565,
368,
2660,
30,
10979,
309,
2
] |
assert testOut!= null;
|
assert testOut != null;
|
protected void outputQueryResult( IResultIterator resultIt, String[] expressions ) throws Exception { assert testOut!= null; // output result testPrintln( "*****A new Report Start!*****" ); while ( resultIt.next( ) ) { testPrint( "S:" ); testPrint( Integer.toString( resultIt.getStartingGroupLevel( ) ) ); testPrint( " E:" ); testPrint( Integer.toString( resultIt.getEndingGroupLevel( ) ) ); testPrint( " " ); for ( int i = 0; i < expressions.length; i++ ) { testPrint( evalAsString( expressions[i], resultIt ) ); testPrint( " " ); } testPrintln( "" ); } testPrintln( "" ); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/a6517270d3ab712ad61d0d7ce18b0f674f02bcdb/APITestCase.java/buggy/testsuites/org.eclipse.birt.tests.data/src/testutil/APITestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
876,
23583,
12,
467,
1253,
3198,
563,
7193,
16,
1082,
202,
780,
8526,
8041,
262,
1216,
1185,
202,
95,
202,
202,
11231,
1842,
1182,
5,
33,
446,
31,
202,
202,
759,
876,
563,
202,
202,
3813,
5108,
2370,
12,
315,
23490,
37,
394,
8706,
3603,
5,
1007,
7388,
11272,
202,
202,
17523,
261,
563,
7193,
18,
4285,
12,
262,
262,
202,
202,
95,
1082,
202,
3813,
5108,
12,
315,
55,
2773,
11272,
1082,
202,
3813,
5108,
12,
2144,
18,
10492,
12,
563,
7193,
18,
588,
11715,
1114,
2355,
12,
262,
262,
11272,
1082,
202,
3813,
5108,
12,
315,
512,
2773,
11272,
1082,
202,
3813,
5108,
12,
2144,
18,
10492,
12,
563,
7193,
18,
588,
25674,
1114,
2355,
12,
262,
262,
11272,
1082,
202,
3813,
5108,
12,
315,
315,
11272,
1082,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
8041,
18,
2469,
31,
277,
9904,
262,
1082,
202,
95,
9506,
202,
3813,
5108,
12,
5302,
8092,
12,
8041,
63,
77,
6487,
563,
7193,
262,
11272,
9506,
202,
3813,
5108,
12,
315,
565,
315,
11272,
1082,
202,
97,
1082,
202,
3813,
5108,
2370,
12,
1408,
11272,
202,
202,
97,
202,
202,
3813,
5108,
2370,
12,
1408,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
876,
23583,
12,
467,
1253,
3198,
563,
7193,
16,
1082,
202,
780,
8526,
8041,
262,
1216,
1185,
202,
95,
202,
202,
11231,
1842,
1182,
5,
33,
446,
31,
202,
202,
759,
876,
563,
202,
202,
3813,
5108,
2370,
12,
315,
23490,
37,
394,
8706,
3603,
5,
1007,
7388,
11272,
202,
202,
17523,
261,
563,
7193,
18,
4285,
12,
262,
262,
202,
202,
95,
1082,
202,
3813,
5108,
12,
315,
55,
2773,
11272,
1082,
202,
3813,
5108,
12,
2144,
18,
10492,
12,
563,
7193,
18,
588,
11715,
1114,
2355,
12,
262,
262,
11272,
1082,
202,
3813,
5108,
12,
315,
512,
2773,
11272,
1082,
202,
3813,
5108,
12,
2144,
18,
10492,
12,
563,
7193,
18,
588,
25674,
2
] |
public void testIsQuoted() { assertTrue("#0.0", !lparen.isQuoted()); lparen.setState(ReducedToken.INSIDE_QUOTE); assertTrue("#0.1", lparen.isQuoted()); lparen.setState(ReducedToken.INSIDE_BLOCK_COMMENT); assertTrue("#0.2", !lparen.isQuoted()); }
|
public void testIsQuoted() { assertTrue("#0.0", !lparen.isQuoted()); lparen.setState(ReducedToken.INSIDE_QUOTE); assertTrue("#0.1", lparen.isQuoted()); lparen.setState(ReducedToken.INSIDE_BLOCK_COMMENT); assertTrue("#0.2", !lparen.isQuoted()); }
|
public void testIsQuoted() { assertTrue("#0.0", !lparen.isQuoted()); lparen.setState(ReducedToken.INSIDE_QUOTE); assertTrue("#0.1", lparen.isQuoted()); lparen.setState(ReducedToken.INSIDE_BLOCK_COMMENT); assertTrue("#0.2", !lparen.isQuoted()); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/e325016b29b8dde8e3ba0908ae34d55edb22c64f/BraceTest.java/clean/drjava/src/edu/rice/cs/drjava/model/definitions/reducedmodel/BraceTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
2520,
15919,
1435,
202,
202,
95,
1082,
202,
11231,
5510,
2932,
7,
20,
18,
20,
3113,
401,
80,
13012,
18,
291,
15919,
10663,
1082,
202,
80,
13012,
18,
542,
1119,
12,
16911,
3263,
1345,
18,
706,
26498,
67,
18980,
1769,
1082,
202,
11231,
5510,
2932,
7,
20,
18,
21,
3113,
328,
13012,
18,
291,
15919,
10663,
1082,
202,
80,
13012,
18,
542,
1119,
12,
16911,
3263,
1345,
18,
706,
26498,
67,
11403,
67,
12200,
1769,
1082,
202,
11231,
5510,
2932,
7,
20,
18,
22,
3113,
401,
80,
13012,
18,
291,
15919,
10663,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2520,
15919,
1435,
202,
202,
95,
1082,
202,
11231,
5510,
2932,
7,
20,
18,
20,
3113,
401,
80,
13012,
18,
291,
15919,
10663,
1082,
202,
80,
13012,
18,
542,
1119,
12,
16911,
3263,
1345,
18,
706,
26498,
67,
18980,
1769,
1082,
202,
11231,
5510,
2932,
7,
20,
18,
21,
3113,
328,
13012,
18,
291,
15919,
10663,
1082,
202,
80,
13012,
18,
542,
1119,
12,
16911,
3263,
1345,
18,
706,
26498,
67,
11403,
67,
12200,
1769,
1082,
202,
11231,
5510,
2932,
7,
20,
18,
22,
3113,
401,
80,
13012,
18,
291,
15919,
10663,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void compileEnded(){ synchronized (this){ notify(); }
|
public void compileEnded() { synchronized (this) { notify(); }
|
public void compileEnded(){ synchronized (this){ notify(); } }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/35da9b77b7d75aca3d6277e27e3ba3dc86f3eaa9/MainFrameTest.java/clean/drjava/src/edu/rice/cs/drjava/ui/MainFrameTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4074,
28362,
1435,
95,
1377,
3852,
261,
2211,
15329,
5066,
5621,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4074,
28362,
1435,
95,
1377,
3852,
261,
2211,
15329,
5066,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
GBeanMBean entityGBean = createBean(earContext, ejbModule, entityObjectName.getCanonicalName(), entityBean, openejbEntityBean, ejbSchema, sqlSchema, connectionFactoryName, transactionPolicyHelper, security, cl);
|
GBeanMBean entityGBean = createBean(earContext, ejbModule, entityObjectName.getCanonicalName(), entityBean, openejbEntityBean, ejbSchema, sqlSchema, globalSchema, connectionFactoryName, transactionPolicyHelper, security, cl, tmDelegate);
|
protected void buildBeans(EARContext earContext, Module module, ClassLoader cl, EJBModule ejbModule, String connectionFactoryName, EJBSchema ejbSchema, SQL92Schema sqlSchema, Map openejbBeans, TransactionPolicyHelper transactionPolicyHelper, Security security, EnterpriseBeansType enterpriseBeans) throws DeploymentException { // CMP Entity Beans EntityBeanType[] entityBeans = enterpriseBeans.getEntityArray(); for (int i = 0; i < entityBeans.length; i++) { EntityBeanType entityBean = entityBeans[i]; if (!"Container".equals(getString(entityBean.getPersistenceType()))) { continue; } OpenejbEntityBeanType openejbEntityBean = (OpenejbEntityBeanType) openejbBeans.get(getString(entityBean.getEjbName())); ObjectName entityObjectName = super.createEJBObjectName(earContext, module.getName(), entityBean); GBeanMBean entityGBean = createBean(earContext, ejbModule, entityObjectName.getCanonicalName(), entityBean, openejbEntityBean, ejbSchema, sqlSchema, connectionFactoryName, transactionPolicyHelper, security, cl); earContext.addGBean(entityObjectName, entityGBean); } }
|
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/6ee14f7e222bbc6380bcc14b983db00230a346d9/CMPEntityBuilder.java/buggy/openejb2/modules/core/src/java/org/openejb/deployment/CMPEntityBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1361,
14495,
12,
9250,
1042,
6897,
1042,
16,
5924,
1605,
16,
9403,
927,
16,
12157,
3120,
18024,
3120,
16,
514,
1459,
1733,
461,
16,
12157,
3078,
18024,
3078,
16,
3063,
9975,
3078,
1847,
3078,
16,
1635,
1696,
73,
10649,
14495,
16,
5947,
2582,
2276,
2492,
2582,
2276,
16,
6036,
4373,
16,
26919,
14495,
559,
21167,
14495,
13,
1216,
8587,
503,
288,
3639,
368,
385,
4566,
3887,
4823,
634,
3639,
3887,
3381,
559,
8526,
1522,
14495,
273,
21167,
14495,
18,
588,
1943,
1076,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1522,
14495,
18,
2469,
31,
277,
27245,
288,
5411,
3887,
3381,
559,
1522,
3381,
273,
1522,
14495,
63,
77,
15533,
5411,
309,
261,
4442,
2170,
9654,
14963,
12,
588,
780,
12,
1096,
3381,
18,
588,
13182,
559,
1435,
20349,
288,
7734,
1324,
31,
5411,
289,
5411,
3502,
73,
10649,
1943,
3381,
559,
1696,
73,
10649,
1943,
3381,
273,
261,
3678,
73,
10649,
1943,
3381,
559,
13,
1696,
73,
10649,
14495,
18,
588,
12,
588,
780,
12,
1096,
3381,
18,
588,
41,
10649,
461,
1435,
10019,
5411,
21013,
1522,
16707,
273,
2240,
18,
2640,
22719,
16707,
12,
2091,
1042,
16,
1605,
18,
17994,
9334,
1522,
3381,
1769,
5411,
611,
3381,
18089,
1522,
43,
3381,
273,
752,
3381,
12,
2091,
1042,
16,
18024,
3120,
16,
1522,
16707,
18,
588,
15512,
461,
9334,
1522,
3381,
16,
1696,
73,
10649,
1943,
3381,
16,
18024,
3078,
16,
1847,
3078,
16,
2552,
3078,
16,
1459,
1733,
461,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1361,
14495,
12,
9250,
1042,
6897,
1042,
16,
5924,
1605,
16,
9403,
927,
16,
12157,
3120,
18024,
3120,
16,
514,
1459,
1733,
461,
16,
12157,
3078,
18024,
3078,
16,
3063,
9975,
3078,
1847,
3078,
16,
1635,
1696,
73,
10649,
14495,
16,
5947,
2582,
2276,
2492,
2582,
2276,
16,
6036,
4373,
16,
26919,
14495,
559,
21167,
14495,
13,
1216,
8587,
503,
288,
3639,
368,
385,
4566,
3887,
4823,
634,
3639,
3887,
3381,
559,
8526,
1522,
14495,
273,
21167,
14495,
18,
588,
1943,
1076,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1522,
14495,
18,
2469,
31,
277,
27245,
288,
5411,
3887,
3381,
559,
1522,
3381,
273,
1522,
14495,
63,
77,
15533,
5411,
309,
261,
2
] |
try { return CmsXmlUtils.marshal(createDocument(locale), encoding); } catch (CmsXmlException e) { LOG.error(Messages.get().key(Messages.ERR_XML_PAGE_FACT_CREATE_DOC_0), e); return null; }
|
Document doc = DocumentHelper.createDocument(); Element pages = doc.addElement(CmsXmlPage.NODE_PAGES); pages.add(I_CmsXmlSchemaType.XSI_NAMESPACE); pages.addAttribute( I_CmsXmlSchemaType.XSI_NAMESPACE_ATTRIBUTE_NO_SCHEMA_LOCATION, CmsXmlPage.C_XMLPAGE_XSD_SYSTEM_ID); Element page = pages.addElement(CmsXmlPage.NODE_PAGE); page.addAttribute(CmsXmlPage.ATTRIBUTE_LANGUAGE, locale.toString()); return doc;
|
public static String createDocument(Locale locale, String encoding) { try { return CmsXmlUtils.marshal(createDocument(locale), encoding); } catch (CmsXmlException e) { // this should never happen LOG.error(Messages.get().key(Messages.ERR_XML_PAGE_FACT_CREATE_DOC_0), e); return null; } }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/0abaf9e2cd7b40be6257fbe506683783295516ca/CmsXmlPageFactory.java/buggy/src/org/opencms/xml/page/CmsXmlPageFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
27569,
12,
3916,
2573,
16,
514,
2688,
13,
288,
3639,
775,
288,
5411,
327,
16084,
1989,
18,
3108,
12,
2640,
2519,
12,
6339,
3631,
2688,
1769,
3639,
289,
1044,
261,
4747,
4432,
503,
425,
13,
288,
5411,
368,
333,
1410,
5903,
5865,
5411,
2018,
18,
1636,
12,
5058,
18,
588,
7675,
856,
12,
5058,
18,
9712,
67,
4201,
67,
11219,
67,
11625,
67,
9344,
67,
19693,
67,
20,
3631,
425,
1769,
5411,
327,
446,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
377,
1071,
760,
514,
27569,
12,
3916,
2573,
16,
514,
2688,
13,
288,
3639,
775,
288,
5411,
327,
16084,
1989,
18,
3108,
12,
2640,
2519,
12,
6339,
3631,
2688,
1769,
3639,
289,
1044,
261,
4747,
4432,
503,
425,
13,
288,
5411,
368,
333,
1410,
5903,
5865,
5411,
2018,
18,
1636,
12,
5058,
18,
588,
7675,
856,
12,
5058,
18,
9712,
67,
4201,
67,
11219,
67,
11625,
67,
9344,
67,
19693,
67,
20,
3631,
425,
1769,
5411,
327,
446,
31,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.