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 |
|---|---|---|---|---|---|---|
treeRecoveryFailed(sha1); | treeRecoveryFailed(downloadSHA1); | private URN scanForCorruption(int iteration) { // if we already were told to stop, then stop. if (corruptState==CORRUPT_STOP_STATE) return null; //if the user has not been asked before. URN fileHash=null; try { // let the user know we're hashing the file setState(HASHING); fileHash = URN.createSHA1Urn(incompleteFile); } catch(IOException ignored) {} catch(InterruptedException ignored) {} // If we have no hash, we can't check at all. if(sha1 == null) return fileHash; // If they're equal, everything's fine. //if fileHash == null, it will be a mismatch if(sha1.equals(fileHash)) return fileHash; if(LOG.isWarnEnabled()) LOG.warn("hash verification problem, fileHash="+ fileHash+", ourHash="+sha1); synchronized(corruptStateLock) { // immediately set as corrupt, // will change to non-corrupt later if user ignores setState(CORRUPT_FILE); // Note that no prompting or waiting will be done if hashTree // is null, but we still want to use promptAboutCorruptDownload // because it removes the file from being shared. promptAboutCorruptDownload(); waitForCorruptResponse(); } // If we wanted to stop, stop. if (corruptState==CORRUPT_STOP_STATE) return fileHash; // only try recovering MAX_CURROPTION_RECOVERY_ATTEMPTS times. if(iteration == MAX_CORRUPTION_RECOVERY_ATTEMPTS) { treeRecoveryFailed(sha1); } else if (hashTree != null) { // we can try to use the hashtree to identify corrupt ranges! try { setState(IDENTIFY_CORRUPTION); LOG.debug("identifying corruption..."); int deleted = commonOutFile.deleteCorruptedBlocks(hashTree, incompleteFile); if(LOG.isDebugEnabled()) LOG.debug("deleted " + deleted + " blocks"); corruptState = NOT_CORRUPT_STATE; if(deleted == 0) treeRecoveryFailed(sha1); } catch (IOException ioe) { LOG.debug(ioe); treeRecoveryFailed(sha1); } } return fileHash; } | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/981458889d200dc56874c93616b533602d7ce9ae/ManagedDownloader.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/downloader/ManagedDownloader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1618,
50,
4135,
1290,
6217,
21421,
12,
474,
6532,
13,
288,
3639,
368,
309,
732,
1818,
4591,
268,
1673,
358,
2132,
16,
1508,
2132,
18,
3639,
309,
261,
3850,
10433,
1119,
631,
9428,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1618,
50,
4135,
1290,
6217,
21421,
12,
474,
6532,
13,
288,
3639,
368,
309,
732,
1818,
4591,
268,
1673,
358,
2132,
16,
1508,
2132,
18,
3639,
309,
261,
3850,
10433,
1119,
631,
9428,
... |
aPaintContext.getScale() > SCALE_THRESHOLD){ | aPaintContext.getScale() > SCALE_THRESHOLD){ | public void paint(PPaintContext aPaintContext) { if (thumbnailNode == null || selected == true || aPaintContext.getScale() > SCALE_THRESHOLD){ if (thumbnailNode != null) { thumbnailNode.setVisible(false); thumbnailNode.setPickable(false); } imagesNode.setVisible(true); setPickable(true); } else { // show images node imagesNode.setVisible(false); if (thumbnailNode != null) { thumbnailNode.setVisible(true); thumbnailNode.setPickable(true); } setPickable(false); } super.paint(aPaintContext); } | 55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/148dd42583e6f2e2118b9ee4227530b5e86d9087/DatasetImagesNode.java/buggy/SRC/org/openmicroscopy/shoola/agents/zoombrowser/piccolo/DatasetImagesNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12574,
12,
6584,
1598,
1042,
279,
12699,
1042,
13,
288,
9506,
202,
430,
261,
14904,
907,
422,
446,
747,
3170,
422,
638,
747,
1875,
202,
69,
12699,
1042,
18,
588,
5587,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12574,
12,
6584,
1598,
1042,
279,
12699,
1042,
13,
288,
9506,
202,
430,
261,
14904,
907,
422,
446,
747,
3170,
422,
638,
747,
1875,
202,
69,
12699,
1042,
18,
588,
5587,
14... |
public WeakReferenceListNode(Object ref, ReferenceQueue queue, WeakReferenceListNode prev) { | public WeakReferenceListNode(Object ref, ReferenceQueue queue, WeakReferenceListNode next) { | public WeakReferenceListNode(Object ref, ReferenceQueue queue, WeakReferenceListNode prev) { super(ref, queue); this.prev = prev; if (prev != null) { prev.next = this; } } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/b174080e1ae646a0fc8e25372ec51dc664d92f79/ObjectSpace.java/buggy/src/org/jruby/runtime/ObjectSpace.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
23632,
2404,
682,
907,
12,
921,
1278,
16,
6268,
3183,
2389,
16,
23632,
2404,
682,
907,
1024,
13,
288,
5411,
2240,
12,
1734,
16,
2389,
1769,
13491,
333,
18,
10001,
273,
2807,
31,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
23632,
2404,
682,
907,
12,
921,
1278,
16,
6268,
3183,
2389,
16,
23632,
2404,
682,
907,
1024,
13,
288,
5411,
2240,
12,
1734,
16,
2389,
1769,
13491,
333,
18,
10001,
273,
2807,
31,
5... |
if (domain_id == 0) | if (domain_id == 0) { | public void parse(Defaults d, LinkedList args) throws ParseFailedException, CommandFailedException { int domain_id = getIntParameter(args, 'n', 0); boolean force = getFlagParameter(args, 'f'); String partition_name = getStringParameter(args, 'p', ""); boolean write = getFlagParameter(args, 'w'); if (domain_id == 0) throw new ParseFailedException("Expected -n<domain_id>"); if (partition_name.equals("")) throw new ParseFailedException("Expected -p<partition_name>"); Mode mode; if (write) mode = Mode.READ_WRITE; else mode = Mode.READ_ONLY; // Initialise the partition manager and look up the partition loadState(); Partition p = PartitionManager.IT.getPartition(partition_name); if ( p == null ) throw new CommandFailedException("Partition " + partition_name + " does not exist."); // Check if this partition belongs to the VDM if (p.isXeno() && !force) throw new CommandFailedException("Refusing to grant physical access as the given partition is allocated to the virtual disk manager. Use -f if you are sure."); String output = new CommandPhysicalGrant( d, domain_id, p, mode ).execute(); if ( output != null ) System.out.println( output ); } | 3920 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3920/c9e5232d3bb25a56d2243e9927a9f834c51f687a/ParsePhysicalGrant.java/clean/tools/control/src/org/xenoserver/cmdline/ParsePhysicalGrant.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1109,
12,
7019,
302,
16,
10688,
833,
13,
1216,
2884,
12417,
16,
3498,
12417,
288,
565,
509,
2461,
67,
350,
273,
8145,
1662,
12,
1968,
16,
296,
82,
2187,
374,
1769,
565,
1250,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1109,
12,
7019,
302,
16,
10688,
833,
13,
1216,
2884,
12417,
16,
3498,
12417,
288,
565,
509,
2461,
67,
350,
273,
8145,
1662,
12,
1968,
16,
296,
82,
2187,
374,
1769,
565,
1250,... |
return InspectionGadgetsBundle.message("constant.conditional.expression.simplify.quickfix"); } | return InspectionGadgetsBundle.message( "constant.conditional.expression.simplify.quickfix"); } | public String getName() { return InspectionGadgetsBundle.message("constant.conditional.expression.simplify.quickfix"); } | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/0c22d3bce35a1ee7d70c329328f649614cf6f21a/ConstantIfStatementInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/controlflow/ConstantIfStatementInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1723,
1435,
288,
1377,
327,
22085,
7017,
43,
361,
14665,
3405,
18,
2150,
2932,
14384,
18,
22019,
18,
8692,
18,
9812,
412,
1164,
18,
19525,
904,
8863,
565,
289,
2,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1723,
1435,
288,
1377,
327,
22085,
7017,
43,
361,
14665,
3405,
18,
2150,
2932,
14384,
18,
22019,
18,
8692,
18,
9812,
412,
1164,
18,
19525,
904,
8863,
565,
289,
2,
-100,
-100,
... |
"true"); | "false"); | private void initIOSettings() { deduceBonding = new BooleanIOSetting("DeduceBonding", IOSetting.LOW, "Should the PDBReader deduce bonding patterns?", "true"); useRebondTool = new BooleanIOSetting("UseRebondTool", IOSetting.LOW, "Should the RebondTool be used (or a heuristic approach otherwise)?", "false"); } | 45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/310f218e48cac0bbb4ed84ed866fc19092c3a7ff/PDBReader.java/buggy/src/org/openscience/cdk/io/PDBReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
4294,
2628,
1435,
288,
3639,
11140,
3965,
9807,
310,
273,
394,
3411,
4294,
5568,
2932,
20563,
3965,
9807,
310,
3113,
1665,
5568,
18,
4130,
16,
1850,
315,
14309,
326,
21601,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
4294,
2628,
1435,
288,
3639,
11140,
3965,
9807,
310,
273,
394,
3411,
4294,
5568,
2932,
20563,
3965,
9807,
310,
3113,
1665,
5568,
18,
4130,
16,
1850,
315,
14309,
326,
21601,... |
public Pointcut getPointcut(String name) { return null; | public Pointcut getPointcut(String name) throws NoSuchPointcutException { Pointcut[] pcs = getDeclaredPointcuts(); for (Pointcut pc : pcs) if (pc.getName().equals(name)) return pc; throw new NoSuchPointcutException(name); | public Pointcut getPointcut(String name) { // TODO Auto-generated method stub return null; } | 53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/92fce1440c9017376efaf544802d8cef07546b03/AjTypeImpl.java/buggy/aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4686,
5150,
15808,
5150,
12,
780,
508,
13,
288,
202,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4686,
5150,
15808,
5150,
12,
780,
508,
13,
288,
202,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
202,
202,
2463,
446,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
if (argCount == 0) { if (itsZeroArgArray >= 0) { cfw.addALoad(itsZeroArgArray); } else { cfw.add(ByteCode.GETSTATIC, "org/mozilla/javascript/ScriptRuntime", "emptyArgs", "[Ljava/lang/Object;"); } } else if (argCount == 1) { if (itsOneArgArray >= 0) cfw.addALoad(itsOneArgArray); else { cfw.addPush(1); cfw.add(ByteCode.ANEWARRAY, "java/lang/Object"); } } else { cfw.addPush(argCount); cfw.add(ByteCode.ANEWARRAY, "java/lang/Object"); | if (argCount == 1 && itsOneArgArray >= 0) { cfw.addALoad(itsOneArgArray); } else { addNewObjectArray(argCount); | private void generateCallArgArray(Node node, Node argChild, boolean directCall) { int argCount = 0; for (Node child = argChild; child != null; child = child.getNext()) { ++argCount; } // load array object to set arguments if (argCount == 0) { if (itsZeroArgArray >= 0) { cfw.addALoad(itsZeroArgArray); } else { cfw.add(ByteCode.GETSTATIC, "org/mozilla/javascript/ScriptRuntime", "emptyArgs", "[Ljava/lang/Object;"); } } else if (argCount == 1) { if (itsOneArgArray >= 0) cfw.addALoad(itsOneArgArray); else { cfw.addPush(1); cfw.add(ByteCode.ANEWARRAY, "java/lang/Object"); } } else { cfw.addPush(argCount); cfw.add(ByteCode.ANEWARRAY, "java/lang/Object"); } // Copy arguments into it for (int i = 0; i != argCount; ++i) { cfw.add(ByteCode.DUP); cfw.addPush(i); if (!directCall) { generateCodeFromNode(argChild, node); } else { // 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. int dcp_register = nodeIsDirectCallParameter(argChild); if (dcp_register >= 0) { dcpLoadAsObject(dcp_register); } else { generateCodeFromNode(argChild, node); int childNumberFlag = argChild.getIntProp(Node.ISNUMBER_PROP, -1); if (childNumberFlag == Node.BOTH) { addDoubleWrap(); } } } cfw.add(ByteCode.AASTORE); argChild = argChild.getNext(); } } | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/61f8b426d60087cfa77b544de71fee0d1523ba7e/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
1477,
4117,
1076,
12,
907,
756,
16,
2029,
1501,
1763,
16,
1250,
2657,
1477,
13,
565,
288,
3639,
509,
1501,
1380,
273,
374,
31,
3639,
364,
261,
907,
1151,
273,
1501,
176... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
1477,
4117,
1076,
12,
907,
756,
16,
2029,
1501,
1763,
16,
1250,
2657,
1477,
13,
565,
288,
3639,
509,
1501,
1380,
273,
374,
31,
3639,
364,
261,
907,
1151,
273,
1501,
176... |
buffer.insert(0, Util.bind("compilation.unresolvedProblem")); | buffer.insert(0, Messages.compilation_unresolvedProblem); | public void addProblemClinit(IProblem[] problems) { generateMethodInfoHeaderForClinit(); // leave two spaces for the number of attributes contentsOffset -= 2; int attributeOffset = contentsOffset; contentsOffset += 2; int attributeNumber = 0; int codeAttributeOffset = contentsOffset; generateCodeAttributeHeader(); codeStream.resetForProblemClinit(this); String problemString = "" ; //$NON-NLS-1$ int problemLine = 0; if (problems != null) { int max = problems.length; StringBuffer buffer = new StringBuffer(25); int count = 0; for (int i = 0; i < max; i++) { IProblem problem = problems[i]; if ((problem != null) && (problem.isError())) { buffer.append("\t" +problem.getMessage() + "\n" ); //$NON-NLS-1$ //$NON-NLS-2$ count++; if (problemLine == 0) { problemLine = problem.getSourceLineNumber(); } problems[i] = null; } } // insert the top line afterwards, once knowing how many problems we have to consider if (count > 1) { buffer.insert(0, Util.bind("compilation.unresolvedProblems"));//$NON-NLS-1$ } else { buffer.insert(0, Util.bind("compilation.unresolvedProblem"));//$NON-NLS-1$ } problemString = buffer.toString(); } // return codeStream.generateCodeAttributeForProblemMethod(comp.options.runtimeExceptionNameForCompileError, "") codeStream.generateCodeAttributeForProblemMethod(problemString); attributeNumber++; // code attribute completeCodeAttributeForClinit( codeAttributeOffset, referenceBinding .scope .referenceCompilationUnit() .compilationResult .lineSeparatorPositions, problemLine); contents[attributeOffset++] = (byte) (attributeNumber >> 8); contents[attributeOffset] = (byte) attributeNumber; } | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/663ec6c2eb68be77ac5a9531885836701530934d/ClassFile.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
13719,
2009,
2738,
12,
45,
13719,
8526,
9688,
13,
288,
202,
202,
7163,
1305,
966,
1864,
1290,
2009,
2738,
5621,
202,
202,
759,
8851,
2795,
7292,
364,
326,
1300,
434,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
13719,
2009,
2738,
12,
45,
13719,
8526,
9688,
13,
288,
202,
202,
7163,
1305,
966,
1864,
1290,
2009,
2738,
5621,
202,
202,
759,
8851,
2795,
7292,
364,
326,
1300,
434,
... |
if(attempt.equals(myRow.getStringColumn("password"))) return true; return false; | return (encoded.equals(myRow.getStringColumn("password"))); | public boolean checkPassword(String attempt) { String encoded = encodePassword( attempt); if(attempt.equals(myRow.getStringColumn("password"))) return true; return false; } | 51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/afff7c8039c03786085747af992b82adab3f4fd3/EPerson.java/clean/dspace/src/org/dspace/eperson/EPerson.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
866,
3913,
12,
780,
4395,
13,
565,
288,
3639,
514,
3749,
273,
2017,
3913,
12,
4395,
1769,
3639,
309,
12,
11764,
18,
14963,
12,
4811,
1999,
18,
588,
780,
1494,
2932,
3664,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
866,
3913,
12,
780,
4395,
13,
565,
288,
3639,
514,
3749,
273,
2017,
3913,
12,
4395,
1769,
3639,
309,
12,
11764,
18,
14963,
12,
4811,
1999,
18,
588,
780,
1494,
2932,
3664,
6,... |
if (kind > 55) kind = 55; jjCheckNAdd(55); | if (kind > 52) kind = 52; jjCheckNAdd(33); | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 74; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x3ff000000000000L & l) != 0L) { if (kind > 52) kind = 52; jjCheckNAdd(53); } else if ((0x100002600L & l) != 0L) { if (kind > 26) kind = 26; jjCheckNAdd(9); } else if (curChar == 36) { if (kind > 13) kind = 13; jjCheckNAddTwoStates(61, 62); } else if (curChar == 45) jjCheckNAdd(53); else if (curChar == 33) { if (kind > 44) kind = 44; } else if (curChar == 61) jjstateSet[jjnewStateCnt++] = 45; else if (curChar == 62) jjstateSet[jjnewStateCnt++] = 43; else if (curChar == 60) jjstateSet[jjnewStateCnt++] = 40; else if (curChar == 38) jjstateSet[jjnewStateCnt++] = 30; else if (curChar == 39) jjCheckNAddStates(0, 2); else if (curChar == 34) jjCheckNAddStates(3, 5); else if (curChar == 35) jjstateSet[jjnewStateCnt++] = 7; else if (curChar == 41) { if (kind > 9) kind = 9; jjCheckNAddStates(6, 8); } if ((0x2400L & l) != 0L) { if (kind > 30) kind = 30; } else if (curChar == 33) jjstateSet[jjnewStateCnt++] = 49; else if (curChar == 62) { if (kind > 40) kind = 40; } else if (curChar == 60) { if (kind > 38) kind = 38; } if (curChar == 13) jjstateSet[jjnewStateCnt++] = 28; break; case 1: if ((0x100000200L & l) != 0L) jjCheckNAddStates(6, 8); break; case 2: if ((0x2400L & l) != 0L && kind > 9) kind = 9; break; case 3: if (curChar == 10 && kind > 9) kind = 9; break; case 4: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 3; break; case 5: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 6; break; case 6: if ((0xfffffff7ffffffffL & l) != 0L && kind > 16) kind = 16; break; case 7: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 5; break; case 8: if (curChar == 35) jjstateSet[jjnewStateCnt++] = 7; break; case 9: if ((0x100002600L & l) == 0L) break; if (kind > 26) kind = 26; jjCheckNAdd(9); break; case 10: if (curChar == 34) jjCheckNAddStates(3, 5); break; case 11: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddStates(3, 5); break; case 12: if (curChar == 34 && kind > 27) kind = 27; break; case 14: if ((0x8400000000L & l) != 0L) jjCheckNAddStates(3, 5); break; case 15: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(9, 12); break; case 16: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(3, 5); break; case 17: if ((0xf000000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 18; break; case 18: if ((0xff000000000000L & l) != 0L) jjCheckNAdd(16); break; case 19: if (curChar == 32) jjAddStates(13, 14); break; case 20: if (curChar == 10) jjCheckNAddStates(3, 5); break; case 21: if (curChar == 39) jjCheckNAddStates(0, 2); break; case 22: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddStates(0, 2); break; case 24: if (curChar == 32) jjAddStates(15, 16); break; case 25: if (curChar == 10) jjCheckNAddStates(0, 2); break; case 26: if (curChar == 39 && kind > 27) kind = 27; break; case 27: if ((0x2400L & l) != 0L && kind > 30) kind = 30; break; case 28: if (curChar == 10 && kind > 30) kind = 30; break; case 29: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 28; break; case 30: if (curChar == 38 && kind > 36) kind = 36; break; case 31: if (curChar == 38) jjstateSet[jjnewStateCnt++] = 30; break; case 39: if (curChar == 60 && kind > 38) kind = 38; break; case 40: if (curChar == 61 && kind > 39) kind = 39; break; case 41: if (curChar == 60) jjstateSet[jjnewStateCnt++] = 40; break; case 42: if (curChar == 62 && kind > 40) kind = 40; break; case 43: if (curChar == 61 && kind > 41) kind = 41; break; case 44: if (curChar == 62) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 61 && kind > 42) kind = 42; break; case 46: if (curChar == 61) jjstateSet[jjnewStateCnt++] = 45; break; case 49: if (curChar == 61 && kind > 43) kind = 43; break; case 50: if (curChar == 33) jjstateSet[jjnewStateCnt++] = 49; break; case 51: if (curChar == 33 && kind > 44) kind = 44; break; case 52: if (curChar == 45) jjCheckNAdd(53); break; case 53: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 52) kind = 52; jjCheckNAdd(53); break; case 55: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 55) kind = 55; jjstateSet[jjnewStateCnt++] = 55; break; case 58: if (curChar == 36 && kind > 13) kind = 13; break; case 60: if (curChar == 36) jjCheckNAddTwoStates(61, 62); break; case 62: if (curChar == 33 && kind > 14) kind = 14; break; case 63: if (curChar != 36) break; if (kind > 13) kind = 13; jjCheckNAddTwoStates(61, 62); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 55) kind = 55; jjCheckNAdd(55); } else if (curChar == 92) jjCheckNAddStates(17, 20); else if (curChar == 124) jjstateSet[jjnewStateCnt++] = 35; if (curChar == 110) jjAddStates(21, 22); else if (curChar == 103) jjAddStates(23, 24); else if (curChar == 108) jjAddStates(25, 26); else if (curChar == 101) jjstateSet[jjnewStateCnt++] = 47; else if (curChar == 111) jjstateSet[jjnewStateCnt++] = 37; else if (curChar == 97) jjstateSet[jjnewStateCnt++] = 33; break; case 6: if (kind > 16) kind = 16; break; case 11: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(3, 5); break; case 13: if (curChar == 92) jjAddStates(27, 31); break; case 14: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(3, 5); break; case 22: jjAddStates(0, 2); break; case 23: if (curChar == 92) jjAddStates(15, 16); break; case 32: if (curChar == 100 && kind > 36) kind = 36; break; case 33: if (curChar == 110) jjstateSet[jjnewStateCnt++] = 32; break; case 34: if (curChar == 97) jjstateSet[jjnewStateCnt++] = 33; break; case 35: if (curChar == 124 && kind > 37) kind = 37; break; case 36: if (curChar == 124) jjstateSet[jjnewStateCnt++] = 35; break; case 37: if (curChar == 114 && kind > 37) kind = 37; break; case 38: if (curChar == 111) jjstateSet[jjnewStateCnt++] = 37; break; case 47: if (curChar == 113 && kind > 42) kind = 42; break; case 48: if (curChar == 101) jjstateSet[jjnewStateCnt++] = 47; break; case 54: case 55: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 55) kind = 55; jjCheckNAdd(55); break; case 56: if (curChar == 92) jjCheckNAddStates(17, 20); break; case 57: if (curChar == 92) jjCheckNAddTwoStates(57, 58); break; case 59: if (curChar == 92) jjCheckNAddTwoStates(59, 60); break; case 61: if (curChar == 92) jjAddStates(32, 33); break; case 64: if (curChar == 108) jjAddStates(25, 26); break; case 65: if (curChar == 116 && kind > 38) kind = 38; break; case 66: if (curChar == 101 && kind > 39) kind = 39; break; case 67: if (curChar == 103) jjAddStates(23, 24); break; case 68: if (curChar == 116 && kind > 40) kind = 40; break; case 69: if (curChar == 101 && kind > 41) kind = 41; break; case 70: if (curChar == 110) jjAddStates(21, 22); break; case 71: if (curChar == 101 && kind > 43) kind = 43; break; case 72: if (curChar == 116 && kind > 44) kind = 44; break; case 73: if (curChar == 111) jjstateSet[jjnewStateCnt++] = 72; break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 16) kind = 16; break; case 11: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(3, 5); break; case 22: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(0, 2); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 74 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }} | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/89173502837b4d67a69cd30d0b93cf47ed84c8cc/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,... |
if(!children.contains(child)) { | if (!children.contains(child)) { | public void addChild(MutablePicoContainer child) { if(!children.contains(child)) { children.add(child); } if(!child.getParentContainers().contains(this)) { child.addParent(this); } } | 14040 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14040/93d976bac2f1af67dc5efc1be3007e139eed61c9/DefaultPicoContainer.java/clean/java/picocontainer/src/java/org/picocontainer/defaults/DefaultPicoContainer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7384,
12,
19536,
52,
10764,
2170,
1151,
13,
288,
3639,
309,
16051,
5906,
18,
12298,
12,
3624,
3719,
288,
5411,
2325,
18,
1289,
12,
3624,
1769,
3639,
289,
3639,
309,
12,
5,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7384,
12,
19536,
52,
10764,
2170,
1151,
13,
288,
3639,
309,
16051,
5906,
18,
12298,
12,
3624,
3719,
288,
5411,
2325,
18,
1289,
12,
3624,
1769,
3639,
289,
3639,
309,
12,
5,
36... |
new DOMEntityResolverWrapper(entityResolver)); | new DOMEntityResolverWrapper(entityResolver)); | public void setEntityResolver(DOMEntityResolver entityResolver) { try { fConfiguration.setProperty(ENTITY_RESOLVER, new DOMEntityResolverWrapper(entityResolver)); } catch (XMLConfigurationException e) { } } | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/f1dc890f1935338836c906ce95d34915a40b6ddf/DOMBuilderImpl.java/buggy/src/org/apache/xerces/parsers/DOMBuilderImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20739,
4301,
12,
3191,
958,
1628,
4301,
1522,
4301,
13,
288,
377,
202,
698,
288,
5411,
284,
1750,
18,
542,
1396,
12,
11101,
67,
17978,
2204,
16,
2868,
9506,
202,
2704,
5467,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20739,
4301,
12,
3191,
958,
1628,
4301,
1522,
4301,
13,
288,
377,
202,
698,
288,
5411,
284,
1750,
18,
542,
1396,
12,
11101,
67,
17978,
2204,
16,
2868,
9506,
202,
2704,
5467,
... |
public void removeMember(PollableElement member) { | public synchronized void removeMember(PollableElement member) { | public void removeMember(PollableElement member) { Object key = createMemberKey(member); m_members.remove(key); } | 11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/f6b0e5b5026461cd4acd6b2cb6ee097ec30ffa44/PollableContainer.java/clean/src/services/org/opennms/netmgt/poller/pollables/PollableContainer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
1206,
4419,
12,
19085,
429,
1046,
3140,
13,
288,
3639,
1033,
498,
273,
752,
4419,
653,
12,
5990,
1769,
3639,
312,
67,
7640,
18,
4479,
12,
856,
1769,
565,
289,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
1206,
4419,
12,
19085,
429,
1046,
3140,
13,
288,
3639,
1033,
498,
273,
752,
4419,
653,
12,
5990,
1769,
3639,
312,
67,
7640,
18,
4479,
12,
856,
1769,
565,
289,
2,
-100,
... |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/JTree.java/buggy/core/src/classpath/javax/javax/swing/JTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
11971,
30453,
2802,
10798,
12,
19463,
6021,
6120,
16,
4766,
3639,
509,
9820,
16,
509,
4068,
13,
225,
288,
565,
327,
404,
31,
225,
289,
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,
0,
0,
0,
0,
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,
11971,
30453,
2802,
10798,
12,
19463,
6021,
6120,
16,
4766,
3639,
509,
9820,
16,
509,
4068,
13,
225,
288,
565,
327,
404,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
... |
-1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, | -1, -1, 10, -1, -1, -1, 125, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, | private static final short[] yyCheck3() { return new short[] { -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 59, 361, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 91, 267, 268, 269, -1, 271, -1, -1, -1, 0, -1, -1, -1, -1, -1, 281, -1, -1, -1, 10, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, 290, 291, 44, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 125, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, 58, 59, 336, 337, -1, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, 351, -1, -1, -1, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, -1, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, 93, 336, 337, -1, -1, -1, 341, 0, -1, -1, -1, -1, 347, -1, -1, -1, 351, 10, -1, -1, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, 351, -1, -1, -1, -1, -1, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, 341, 0, -1, -1, -1, -1, 347, -1, -1, -1, 351, 10, 93, -1, -1, -1, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, 125, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, 93, -1, -1, -1, -1, -1, 341, 0, -1, -1, -1, -1, 347, -1, -1, -1, 351, 10, -1, -1, -1, -1, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 93, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 10, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 341, -1, -1, 262, 263, 264, 347, 59, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 10, 332, 333, -1, -1, -1, -1, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, -1, -1, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 59, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, -1, -1, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, 10, -1, -1, -1, -1, -1, -1, -1, -1, 357, 358, 359, -1, 361, -1, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, -1, -1, 269, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 59, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, 331, -1, -1, -1, -1, -1, -1, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, 10, -1, 357, -1, -1, 360, -1, 362, 363, 364, 365, 366, 367, 368, -1, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, -1, -1, 269, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 59, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, 331, -1, -1, -1, -1, -1, -1, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, 357, 10, -1, 360, -1, 362, 363, 364, 365, 366, 367, 368, -1, -1, -1, -1, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, -1, -1, 269, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 59, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, 331, -1, -1, -1, -1, -1, -1, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, 10, -1, 357, -1, -1, 360, -1, 362, 363, 364, 365, 366, 367, 368, -1, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, -1, -1, 269, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, 59, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 331, -1, -1, -1, -1, -1, -1, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, 357, 10, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, -1, -1, -1, -1, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, -1, -1, 269, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, 59, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 331, -1, -1, -1, -1, -1, -1, 338, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, 10, -1, 357, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, -1, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, 59, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, 125, -1, 10, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, -1, -1, -1, -1, 256, 257, 258, 259, 260, 261, -1, -1, 264, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, 59, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, -1, 256, 257, 258, 259, 260, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, 0, -1, 292, -1, -1, -1, -1, -1, -1, 299, 10, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 58, 59, -1, -1, 352, 63, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 125, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 125, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, 125, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, 58, 59, -1, -1, -1, 63, -1, 341, -1, -1, 262, 263, 264, 347, -1, 267, 268, 269, -1, 271, -1, -1, -1, 357, 358, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, 93, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, -1, -1, -1, -1, -1, 341, -1, -1, 262, 263, 264, 347, -1, 267, 268, 269, -1, 271, -1, -1, -1, 357, 358, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, -1, -1, -1, -1, -1, 341, -1, 41, -1, -1, 44, 347, -1, -1, -1, -1, -1, -1, -1, -1, -1, 357, 358, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, 93, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, 58, 59, -1, -1, -1, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, 0, -1, -1, -1, -1, -1, 357, 358, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 0, 267, 268, 269, -1, 271, -1, -1, -1, -1, 10, -1, -1, -1, -1, 281, 282, -1, -1, -1, 125, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 327, 328, 63, -1, -1, 332, 333, -1, -1, -1, -1, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, 262, 263, 264, -1, 0, 267, 268, 269, -1, 271, -1, 93, -1, -1, 10, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 125, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 327, 328, 63, -1, -1, 332, 333, -1, -1, -1, 262, 263, 264, -1, 341, 267, 268, 269, -1, 271, 347, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, 93, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 327, 328, -1, -1, -1, 332, 333, -1, -1, -1, -1, -1, 41, -1, 341, 44, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 0, -1, 281, 282, -1, -1, -1, 93, -1, -1, 10, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, 41, -1, -1, 44, -1, -1, -1, 327, 328, -1, -1, -1, 332, 333, -1, -1, -1, 58, 59, -1, -1, 341, 63, -1, -1, -1, -1, 347, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, 327, 328, -1, -1, -1, 332, 333, -1, -1, -1, -1, -1, 41, -1, 341, 44, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 0, 267, 268, 269, -1, 271, -1, -1, -1, -1, 10, -1, -1, -1, -1, 281, 282, -1, 93, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 327, 328, -1, -1, -1, 332, 333, -1, -1, -1, -1, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, 262, 263, 264, -1, 0, 267, 268, 269, -1, 271, -1, 93, -1, -1, 10, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, 125, -1, 41, -1, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 327, 328, -1, -1, -1, 332, 333, -1, -1, -1, -1, -1, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, 125, -1, -1, -1, 290, 291, 93, 293, 294, 295, 296, 297, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, 125, -1, -1, -1, 328, -1, -1, -1, 332, 333, -1, -1, -1, 262, 263, 264, -1, 341, 267, 268, 269, -1, 271, 347, 0, -1, -1, -1, -1, 93, -1, -1, 281, 282, 10, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, 41, 0, -1, 44, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, 262, 263, 264, -1, -1, 267, 268, 269, 41, 271, -1, 44, -1, -1, -1, -1, -1, -1, 93, 281, 282, -1, -1, -1, -1, 58, 59, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, 125, -1, -1, -1, -1, -1, -1, 281, 282, -1, 93, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, 41, -1, 341, 44, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, 125, -1, 58, 59, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 341, 281, 282, -1, -1, -1, 347, -1, -1, -1, 290, 291, 93, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, 125, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, 41, 271, -1, 44, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, 58, 59, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, 93, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, 125, 0, -1, -1, -1, 41, -1, -1, 44, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, 58, 59, 267, 268, 269, -1, 271, 341, -1, -1, -1, -1, -1, 347, -1, -1, 281, 282, -1, -1, 41, -1, -1, 44, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 0, 93, -1, 58, 59, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, 0, -1, 93, -1, -1, 41, 341, -1, 44, -1, 10, -1, 347, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 93, 58, 59, -1, -1, 0, -1, 281, 282, -1, -1, -1, -1, -1, -1, 10, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, 341, 125, -1, -1, -1, -1, 347, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 0, -1, 281, 282, 93, -1, -1, -1, -1, -1, 10, 290, 291, -1, 293, 294, 295, 296, 297, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, 125, -1, -1, 281, 282, 41, -1, -1, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 41, -1, -1, -1, -1, -1, 93, 281, 282, -1, -1, -1, 341, -1, -1, -1, 290, 291, 347, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 125, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, 347, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, 0, 270, -1, 272, 273, 274, 275, 276, 277, 278, 10, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, 347, 302, 303, 304, 305, 306, 307, 308, 309, 41, 311, 312, 313, 314, -1, 0, 317, 318, 319, -1, -1, -1, -1, -1, -1, 10, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, 41, -1, -1, 360, -1, 93, 363, 364, 365, 366, 367, 368, 257, 258, 259, 260, 261, 58, 59, -1, 265, 266, -1, -1, 0, 270, -1, 272, 273, 274, 275, 276, 277, 278, 10, -1, -1, }; } | 46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/buggy/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
23,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
23,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
28... |
match(input,EOL,FOLLOW_EOL_in_expander_lhs_block1113); | match(input,EOL,FOLLOW_EOL_in_expander_lhs_block1080); | public void expander_lhs_block(AndDescr descrs) throws RecognitionException { PatternDescr d = null; String text = null; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:348:17: ( ( options {greedy=false; } : '>' d= lhs | ( options {greedy=false; } : text= paren_chunk EOL ) )* ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:348:17: ( options {greedy=false; } : '>' d= lhs | ( options {greedy=false; } : text= paren_chunk EOL ) )* { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:348:17: ( options {greedy=false; } : '>' d= lhs | ( options {greedy=false; } : text= paren_chunk EOL ) )* loop36: do { int alt36=3; switch ( input.LA(1) ) { case 26: alt36=3; break; case 30: alt36=3; break; case 37: alt36=1; break; case EOL: case ID: case INT: case STRING: case FLOAT: case MISC: case WS: case SH_STYLE_SINGLE_LINE_COMMENT: case C_STYLE_SINGLE_LINE_COMMENT: case MULTI_LINE_COMMENT: case 14: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 27: case 28: case 29: case 31: case 32: case 33: case 34: case 35: case 36: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: case 50: case 51: case 52: case 53: case 54: alt36=2; break; } switch (alt36) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:349:25: '>' d= lhs { match(input,37,FOLLOW_37_in_expander_lhs_block1076); following.push(FOLLOW_lhs_in_expander_lhs_block1080); d=lhs(); following.pop(); descrs.addDescr( d ); } break; case 2 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:351:25: ( options {greedy=false; } : text= paren_chunk EOL ) { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:351:25: ( options {greedy=false; } : text= paren_chunk EOL ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:352:33: text= paren_chunk EOL { following.push(FOLLOW_paren_chunk_in_expander_lhs_block1111); text=paren_chunk(); following.pop(); match(input,EOL,FOLLOW_EOL_in_expander_lhs_block1113); //only expand non null if (text != null) { d = runWhenExpander( text ); descrs.addDescr( d ); text = null; d = null; } } } break; default : break loop36; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/61acd40072560afada3f7897673309e5b51b402d/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4542,
264,
67,
80,
4487,
67,
2629,
12,
1876,
16198,
3044,
5453,
13,
1216,
9539,
288,
6647,
6830,
16198,
302,
273,
446,
31,
3639,
514,
977,
273,
446,
31,
3639,
775,
288,
5411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4542,
264,
67,
80,
4487,
67,
2629,
12,
1876,
16198,
3044,
5453,
13,
1216,
9539,
288,
6647,
6830,
16198,
302,
273,
446,
31,
3639,
514,
977,
273,
446,
31,
3639,
775,
288,
5411,... |
if (prev == null) { System.err.println("[BUG] Try to pop block from empty stack."); return; } | if (prev == null) { ruby.getRuntime().printBug("Try to pop block from empty stack."); return; } | public void pop() { if (prev == null) { System.err.println("[BUG] Try to pop block from empty stack."); return; } this.var = prev.var; this.body = prev.body; this.self = prev.self; this.frame = prev.frame; this.scope = prev.scope; this.klass = prev.klass; this.iter = prev.iter; this.vmode = prev.vmode; this.flags = prev.flags; this.dynamicVars = prev.dynamicVars; this.origThread = prev.origThread; this.prev = prev.prev; } | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/ec719ef82be7ea6956b3d139a2ce2d236eed4568/RubyBlock.java/clean/org/jruby/runtime/RubyBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1843,
1435,
288,
377,
202,
430,
261,
10001,
422,
446,
13,
288,
377,
202,
202,
3163,
18,
370,
18,
8222,
2932,
63,
4827,
65,
6161,
358,
1843,
1203,
628,
1008,
2110,
1199,
1769,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1843,
1435,
288,
377,
202,
430,
261,
10001,
422,
446,
13,
288,
377,
202,
202,
3163,
18,
370,
18,
8222,
2932,
63,
4827,
65,
6161,
358,
1843,
1203,
628,
1008,
2110,
1199,
1769,... |
} else if (sibling != null) { | } else if (sibling != null) { | public int getColumnNo() { if (mColumnNo == NOT_INITIALIZED) { // an inner AST that has been initialized // with initialize(String text) DetailAST child = (DetailAST) getFirstChild(); DetailAST sibling = (DetailAST) getNextSibling(); if (child != null) { return child.getColumnNo(); } else if (sibling != null) { return sibling.getColumnNo(); } } return mColumnNo; } | 31427 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31427/3288a81e30ddea194f76bd74f3b509500b864163/DetailAST.java/buggy/src/checkstyle/com/puppycrawl/tools/checkstyle/api/DetailAST.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
6716,
2279,
1435,
565,
288,
3639,
309,
261,
81,
1494,
2279,
422,
4269,
67,
12919,
25991,
13,
288,
5411,
368,
392,
3443,
9183,
716,
711,
2118,
6454,
5411,
368,
598,
4046,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
6716,
2279,
1435,
565,
288,
3639,
309,
261,
81,
1494,
2279,
422,
4269,
67,
12919,
25991,
13,
288,
5411,
368,
392,
3443,
9183,
716,
711,
2118,
6454,
5411,
368,
598,
4046,
12,
... |
task.setActive(false); | task.setActive(false, false); | protected void readTaskInfo(ITask task, TaskList tlist, Element element, AbstractCategory category, ITask parent) throws MylarExternalizerException{ if (element.hasAttribute(PRIORITY)) { task.setPriority(element.getAttribute(PRIORITY)); } else { task.setPriority("P3"); } if (element.hasAttribute(PATH)) { task.setPath(element.getAttribute(PATH)); } else { task.setPath(task.getHandle()); } if (element.getAttribute(ACTIVE).compareTo(TRUE) == 0) { task.setActive(true); tlist.setActive(task, true); new TaskActivateAction(task).run(); } else { task.setActive(false); } if (element.hasAttribute(NOTES)) { task.setNotes(element.getAttribute(NOTES)); } else { task.setNotes(""); } if (element.hasAttribute(ELAPSED)) { task.setElapsedTime(element.getAttribute(ELAPSED)); } else { task.setElapsedTime(""); } if (element.hasAttribute(ESTIMATED)) { String est = element.getAttribute(ESTIMATED); try { int estimate = Integer.parseInt(est); task.setEstimatedTime(estimate); } catch (Exception e) { task.setEstimatedTime(0); } } else { task.setEstimatedTime(0); } // NOTE: do not change the order of complete and end date!! if (element.getAttribute(COMPLETE).compareTo(TRUE) == 0) { task.setCompleted(true); } else { task.setCompleted(false); } if (element.hasAttribute(END_DATE)) { task.setEndDate(element.getAttribute(END_DATE)); } else { task.setEndDate(""); } if (element.hasAttribute(REMINDER_DATE)) { task.setReminderDate(element.getAttribute(REMINDER_DATE)); } else { task.setReminderDate(""); } if (element.hasAttribute(REMINDED) && element.getAttribute(REMINDED).compareTo(TRUE) == 0) { task.setReminded(true); } else { task.setReminded(false); } int i = 0; while (element.hasAttribute(LINK+i)) { task.getRelatedLinks().add(element.getAttribute(LINK+i)); i++; } if (category != null) { task.internalSetCategory((TaskCategory) category); } else { task.internalSetCategory(null); } task.setParent(parent); NodeList list = element.getChildNodes(); for (int j = 0; j < list.getLength(); j++) { Node child = list.item(j); task.addSubTask(readTask(child, tlist, null, task)); } } | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/dd8061c5b5ac5d636d93251d6e8aea9e2918ddfe/DefaultTaskListExternalizer.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/DefaultTaskListExternalizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
855,
2174,
966,
12,
1285,
835,
1562,
16,
3837,
682,
268,
1098,
16,
3010,
930,
16,
4115,
4457,
3150,
16,
467,
2174,
982,
13,
225,
1216,
8005,
7901,
6841,
1824,
503,
95,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
855,
2174,
966,
12,
1285,
835,
1562,
16,
3837,
682,
268,
1098,
16,
3010,
930,
16,
4115,
4457,
3150,
16,
467,
2174,
982,
13,
225,
1216,
8005,
7901,
6841,
1824,
503,
95,
... |
public static TimeInterval getTimeOffset() { if (serverOffset == null) { try { serverOffset = getServerTimeOffset(); } catch (IOException e) { // oh well, cant get to server, use CPU time, so // offset is zero return ZERO_OFFSET; } // end of try-catch } // end of if () return serverOffset; } | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/5eaec8d53278e30d68d4f243d60f94a06ec33084/ClockUtil.java/buggy/src/edu/sc/seis/fissuresUtil/chooser/ClockUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
2647,
4006,
6135,
2335,
1435,
288,
3639,
309,
261,
3567,
2335,
422,
446,
13,
288,
5411,
775,
288,
7734,
1438,
2335,
273,
11543,
950,
2335,
5621,
5411,
289,
1044,
261,
14106,
42... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2647,
4006,
6135,
2335,
1435,
288,
3639,
309,
261,
3567,
2335,
422,
446,
13,
288,
5411,
775,
288,
7734,
1438,
2335,
273,
11543,
950,
2335,
5621,
5411,
289,
1044,
261,
14106,
42... | ||
hmc = (HibernateMappedClass)InvokerHelper.invokeStaticMethod(className, "get", new Object[] { new Integer(1) }); | hmc = (HibernateMappedClass)InvokerHelper.invokeStaticMethod(hmc.getClass(), "get", new Object[] { new Integer(1) }); | public void testDynamicMethods() { HibernateMappedClass hmc = new HibernateMappedClass(); hmc.setMyProp("somevalue"); InvokerHelper.invokeMethod(hmc, "save", new Object[0]); String className = hmc.getClass().getName(); hmc = null; hmc = (HibernateMappedClass)InvokerHelper.invokeStaticMethod(className, "get", new Object[] { new Integer(1) }); assertEquals("somevalue", hmc.getMyProp()); } | 51576 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51576/3357dfdd2f4bda88b5e54f759140a9ee83d5b1bc/HibernateMappedClassTests.java/clean/test/persistence/org/codehaus/groovy/grails/orm/hibernate/HibernateMappedClassTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9791,
4712,
1435,
288,
202,
202,
44,
24360,
12868,
797,
366,
13952,
273,
394,
670,
24360,
12868,
797,
5621,
202,
202,
76,
13952,
18,
542,
12062,
4658,
2932,
19068,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
9791,
4712,
1435,
288,
202,
202,
44,
24360,
12868,
797,
366,
13952,
273,
394,
670,
24360,
12868,
797,
5621,
202,
202,
76,
13952,
18,
542,
12062,
4658,
2932,
19068,
11... |
throw new BAD_PARAM("Unable to align at " + alignment); | BAD_PARAM p = new BAD_PARAM("Unable to align at " + alignment); p.initCause(ex); throw p; | public void align(int alignment) { try { int d = (count + offset) % alignment; if (d > 0) { skip(alignment - d); } } catch (Exception ex) { throw new BAD_PARAM("Unable to align at " + alignment); } } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/530b07ccb0c4fb1bf75b0623599a435d741fe9e8/aligningOutputStream.java/buggy/libraries/javalib/gnu/CORBA/CDR/aligningOutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
5689,
12,
474,
8710,
13,
225,
288,
565,
775,
1377,
288,
3639,
509,
302,
273,
261,
1883,
397,
1384,
13,
738,
8710,
31,
3639,
309,
261,
72,
405,
374,
13,
1850,
288,
5411,
248... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5689,
12,
474,
8710,
13,
225,
288,
565,
775,
1377,
288,
3639,
509,
302,
273,
261,
1883,
397,
1384,
13,
738,
8710,
31,
3639,
309,
261,
72,
405,
374,
13,
1850,
288,
5411,
248... |
methodParms = new JavaValueNode[parameterList.size()]; int plSize = parameterList.size(); for (int index = 0; index < plSize; index++) { QueryTreeNode qt; qt = (QueryTreeNode) parameterList.elementAt(index); /* ** If the parameter is a SQL ValueNode, there are two ** possibilities. Either it is a JavaValueNode with ** a JavaToSQLValueNode on top of it, or it is a plain ** SQL ValueNode. In the former case, just get rid of ** the JavaToSQLValueNode. In the latter case, put a ** SQLToJavaValueNode on top of it. In general, we ** want to avoid converting the same value back and forth ** between the SQL and Java domains. */ if ( ! (qt instanceof JavaValueNode)) { if (qt instanceof JavaToSQLValueNode) { qt = ((JavaToSQLValueNode) qt).getJavaValueNode(); } else { qt = (SQLToJavaValueNode) getNodeFactory(). getNode( C_NodeTypes.SQL_TO_JAVA_VALUE_NODE, qt, getContextManager()); } } methodParms[index] = (JavaValueNode) qt; } | this.methodParms = methodParms; | public void addParms(Vector parameterList) throws StandardException { methodParms = new JavaValueNode[parameterList.size()]; int plSize = parameterList.size(); for (int index = 0; index < plSize; index++) { QueryTreeNode qt; qt = (QueryTreeNode) parameterList.elementAt(index); /* ** If the parameter is a SQL ValueNode, there are two ** possibilities. Either it is a JavaValueNode with ** a JavaToSQLValueNode on top of it, or it is a plain ** SQL ValueNode. In the former case, just get rid of ** the JavaToSQLValueNode. In the latter case, put a ** SQLToJavaValueNode on top of it. In general, we ** want to avoid converting the same value back and forth ** between the SQL and Java domains. */ if ( ! (qt instanceof JavaValueNode)) { if (qt instanceof JavaToSQLValueNode) { qt = ((JavaToSQLValueNode) qt).getJavaValueNode(); } else { qt = (SQLToJavaValueNode) getNodeFactory(). getNode( C_NodeTypes.SQL_TO_JAVA_VALUE_NODE, qt, getContextManager()); } } methodParms[index] = (JavaValueNode) qt; } } | 56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/3905037dc89fc3fa02963b0c73dd4783578786fb/MethodCallNode.java/buggy/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
28572,
12,
5018,
1569,
682,
13,
1216,
8263,
503,
202,
95,
202,
202,
2039,
28572,
273,
394,
5110,
620,
907,
63,
6775,
682,
18,
1467,
1435,
15533,
202,
202,
474,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
28572,
12,
5018,
1569,
682,
13,
1216,
8263,
503,
202,
95,
202,
202,
2039,
28572,
273,
394,
5110,
620,
907,
63,
6775,
682,
18,
1467,
1435,
15533,
202,
202,
474,
202,
... |
setPath(nodes,true); | setPath(nodes, true); | protected void createPath() { List<Path.Node> nodes=new LinkedList<Path.Node>(); nodes.add(new Path.Node(4,12)); //its around the table with the beers and to the furnance nodes.add(new Path.Node(15,12)); nodes.add(new Path.Node(15,12)); nodes.add(new Path.Node(15,8)); nodes.add(new Path.Node(10,8)); nodes.add(new Path.Node(10,12)); setPath(nodes,true); } | 4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/d512245d8e26069d9f1c5a15fba078b322c3b0ac/Semos.java/buggy/src/games/stendhal/server/maps/Semos.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
4750,
918,
752,
743,
1435,
3639,
288,
3639,
987,
32,
743,
18,
907,
34,
2199,
33,
2704,
10688,
32,
743,
18,
907,
34,
5621,
3639,
2199,
18,
1289,
12,
2704,
2666,
18,
907,
12,
24,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4202,
4750,
918,
752,
743,
1435,
3639,
288,
3639,
987,
32,
743,
18,
907,
34,
2199,
33,
2704,
10688,
32,
743,
18,
907,
34,
5621,
3639,
2199,
18,
1289,
12,
2704,
2666,
18,
907,
12,
24,
16,
... |
public void consumeActionBinding(IConfigurationElement element) throws WorkbenchException { | public void consumeActionBinding(IConfigurationElement element) { | public void consumeActionBinding(IConfigurationElement element) throws WorkbenchException { consumeBinding(element, false); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c93d807ed962723d90daba76fc2003e2c1801cbc/NavigatorViewerDescriptor.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/extensions/NavigatorViewerDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7865,
1803,
5250,
12,
45,
1750,
1046,
930,
13,
1082,
202,
15069,
4147,
22144,
503,
288,
202,
202,
21224,
5250,
12,
2956,
16,
629,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
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,
7865,
1803,
5250,
12,
45,
1750,
1046,
930,
13,
1082,
202,
15069,
4147,
22144,
503,
288,
202,
202,
21224,
5250,
12,
2956,
16,
629,
1769,
202,
97,
2,
-100,
-100,
-100,
-100... |
ArchivalUnit au = m_plugin.createAu(config); | ArchivalUnit au = null; try { au = m_plugin.createAu(config); } catch (Exception ex) { JOptionPane.showMessageDialog(this,"Unable to create an Archival Unit:\n" + ex.getMessage(), "CrawlRule Test Error", JOptionPane.ERROR_MESSAGE); } | private ArchivalUnit makeAu() throws ConfigurationException { Properties props = new Properties(); for (Iterator it = m_descrMap.keySet().iterator(); it.hasNext(); ) { String key = (String) it.next(); String value = ( (JTextField) m_descrMap.get(key)).getText(); props.put(key, value); } Configuration config = ConfigManager.fromProperties(props); ArchivalUnit au = m_plugin.createAu(config); return au; } | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/8cebf6a8ca182c84b2932795be525709febec4a0/CrawlRuleTestDialog.java/clean/tools/src/org/lockss/devtools/plugindef/CrawlRuleTestDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
16959,
5162,
2802,
1221,
37,
89,
1435,
1216,
22196,
288,
565,
6183,
3458,
273,
394,
6183,
5621,
565,
364,
261,
3198,
518,
273,
312,
67,
28313,
863,
18,
856,
694,
7675,
9838,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16959,
5162,
2802,
1221,
37,
89,
1435,
1216,
22196,
288,
565,
6183,
3458,
273,
394,
6183,
5621,
565,
364,
261,
3198,
518,
273,
312,
67,
28313,
863,
18,
856,
694,
7675,
9838,
5621,
... |
-1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, 292, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, 343, 344, 345, 346, -1, -1, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, -1, -1, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, -1, -1, -1, -1, -1, -1, | 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, 316, 317, 318, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, 341, -1, 343, 344, 345, -1, 347, -1, -1, -1, 351, -1, -1, -1, -1, -1, -1, | private static final short[] yyCheck4() { return new short[] { 125, 283, 284, 285, 286, 287, 288, 289, -1, -1, 292, -1, -1, -1, -1, 93, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 41, 311, 312, 313, 314, 0, -1, 317, 318, 319, -1, -1, -1, -1, -1, 10, -1, 58, 59, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, 41, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 125, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 293, 294, 295, 296, 297, 256, 257, 258, 259, 260, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 256, 257, 258, 259, 260, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, 260, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, 292, -1, -1, -1, -1, -1, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, 292, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, 292, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, 343, 344, 345, 346, -1, -1, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, 352, -1, -1, -1, -1, -1, -1, -1, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, -1, -1, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 359, -1, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, -1, -1, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 336, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, -1, -1, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, -1, -1, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, 348, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, -1, -1, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, -1, -1, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, -1, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, -1, -1, 319, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 339, -1, -1, 342, -1, 344, 345, 346, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, 260, 261, 262, 263, 264, -1, -1, 267, 268, 269, 270, 271, -1, -1, 274, 275, 276, 277, 278, 279, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, 363, 257, 258, 259, 260, 261, 262, 263, 264, -1, -1, 267, 268, 269, 270, 271, -1, -1, 274, 275, 276, 277, 278, 279, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, 363, 257, 258, 259, 260, 261, 262, 263, 264, -1, -1, 267, 268, 269, 270, 271, -1, -1, 274, 275, 276, 277, 278, 279, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, 343, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, 257, 258, 259, 260, 261, 262, 263, 264, -1, -1, 267, 268, 269, 270, 271, -1, -1, 274, 275, 276, 277, 278, 279, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, 257, 258, 259, 260, 261, 262, 263, 264, -1, -1, 267, 268, 269, 270, 271, -1, -1, 274, 275, 276, 277, 278, 279, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, }; } | 45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/clean/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
1850,
30616,
16,
225,
9131,
23,
16,
225,
576,
5193,
16,
225,
576,
7140,
16,
225,
576,
5292,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
1850,
30616,
16,
225,
9131,
23,
16,
225,
576,
5193,
16,
225,
576,
7140,
16,
225,
576,
5292,
16,
... |
res.append("X509 CertList: \n["); res.append("\n tbsCertList:\n ["); res.append(tbsCertList.toString()); res.append("\n ]"); res.append("\n signatureAlgorithm:\n ["); res.append(signatureAlgorithm.toString()); res.append("\n ]"); res.append("\n signatureValue:\n ["); res.append("\n ]"); res.append("\n]"); | tbsCertList.dumpValue(res); res.append("\nSignature Value:\n"); res.append(Array.toString(signatureValue, "")); | public String toString() { StringBuffer res = new StringBuffer(); res.append("X509 CertList: \n["); //$NON-NLS-1$ res.append("\n tbsCertList:\n ["); //$NON-NLS-1$ res.append(tbsCertList.toString()); res.append("\n ]"); //$NON-NLS-1$ res.append("\n signatureAlgorithm:\n ["); //$NON-NLS-1$ res.append(signatureAlgorithm.toString()); res.append("\n ]"); //$NON-NLS-1$ res.append("\n signatureValue:\n ["); //$NON-NLS-1$ //res.append(Arrays.toString(signatureValue)); res.append("\n ]"); //$NON-NLS-1$ res.append("\n]"); //$NON-NLS-1$ return res.toString(); } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/5f92ac3dc7933698de590d577cb4f14dfdd3ee4d/CertificateList.java/buggy/modules/security/src/main/java/common/org/apache/harmony/security/x509/CertificateList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
3639,
6674,
400,
273,
394,
6674,
5621,
3639,
400,
18,
6923,
2932,
60,
5995,
11921,
682,
30,
521,
82,
63,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
400,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
3639,
6674,
400,
273,
394,
6674,
5621,
3639,
400,
18,
6923,
2932,
60,
5995,
11921,
682,
30,
521,
82,
63,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
400,
... |
IGetParameterDefinitionTask task = getParameterDefinitionTask( design, options ); return task.getDefaultValue( parameterName ); | IGetParameterDefinitionTask task = null; Object defaultValue = null; try { task = getParameterDefinitionTask( design, options ); if ( task != null ) defaultValue = task.getDefaultValue( parameterName ); } finally { if ( task != null ) task.close( ); } return defaultValue; | public Object getParameterDefaultValue( IViewerReportDesignHandle design, String parameterName, InputOptions options ) throws ReportServiceException { IGetParameterDefinitionTask task = getParameterDefinitionTask( design, options ); return task.getDefaultValue( parameterName ); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/d835cdf138e9d6d6ae54363d70ba647041cf4669/BirtViewerReportService.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
5575,
15646,
12,
467,
18415,
4820,
15478,
3259,
8281,
16,
1082,
202,
780,
15524,
16,
2741,
1320,
702,
262,
1082,
202,
15069,
8706,
15133,
202,
95,
202,
202,
45,
967,
1662,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
5575,
15646,
12,
467,
18415,
4820,
15478,
3259,
8281,
16,
1082,
202,
780,
15524,
16,
2741,
1320,
702,
262,
1082,
202,
15069,
8706,
15133,
202,
95,
202,
202,
45,
967,
1662,... |
public static void paintInlineContext( Context c, Box box ) { BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the containing box c.getGraphics().translate( box.x, box.y ); // for each line box c.getGraphics().setColor( Color.black ); //u.p("line count = " + block.boxes.size()); for ( int i = 0; i < block.getChildCount(); i++ ) { // get the line box //u.p("line = " + block.boxes.get(i)); paintLine( c, (LineBox)block.getChild( i ) ); } // translate back to parent coords //c.getGraphics().translate(-c.getExtents().x,-c.getExtents().y); c.getGraphics().translate( -box.x, -box.y ); //c.getGraphics().translate(inset_left,inset_top); } | 8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/dab5f0ea0f21b11bc9059602a912aff22532b469/InlinePainter.java/buggy/src/java/org/xhtmlrenderer/render/InlinePainter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
84,
1598,
10870,
1042,
12,
1042,
71,
16,
3514,
2147,
15329,
1768,
3514,
2629,
28657,
1768,
3514,
13,
2147,
31,
759,
13929,
474,
355,
23735,
9076,
759,
4631,
1884,
5787,
10012,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
84,
1598,
10870,
1042,
12,
1042,
71,
16,
3514,
2147,
15329,
1768,
3514,
2629,
28657,
1768,
3514,
13,
2147,
31,
759,
13929,
474,
355,
23735,
9076,
759,
4631,
1884,
5787,
10012,
... | ||
ejb.addCMPField(new CMPField("value", String.class, false)); | protected void setUp() throws Exception { super.setUp(); // initialize the database ds = new AxionDataSource("jdbc:axiondb:testdb"); Connection c = ds.getConnection(); Statement s = c.createStatement(); s.execute("CREATE TABLE MOCK(ID INTEGER, VALUE VARCHAR(50))"); s.execute("INSERT INTO MOCK(ID, VALUE) VALUES(1, 'Hello')"); s.close(); c.close();// SimpleCommandFactory persistenceFactory = new SimpleCommandFactory(ds);// ArrayList queries = new ArrayList();// MethodSignature signature;//// signature = new MethodSignature("ejbFindByPrimaryKey", new String[]{"java.lang.Object"});// persistenceFactory.defineQuery(signature, "SELECT ID FROM MOCK WHERE ID=?", new Binding[]{new IntBinding(1, 0)}, new Binding[]{new IntBinding(1, 0)});// queries.add(new CMPQuery("Mock", false, signature, false, null));// signature = new MethodSignature("ejbLoad", new String[]{});// persistenceFactory.defineQuery(signature, "SELECT ID,VALUE FROM MOCK WHERE ID=?", new Binding[]{new IntBinding(1, 0)}, new Binding[]{new IntBinding(1, 0), new StringBinding(2, 1)});// queries.add(new CMPQuery(signature, false, null));// signature = new MethodSignature("ejbSelectSingleValue", new String[]{"java.lang.Integer"});// persistenceFactory.defineQuery(signature, "SELECT VALUE FROM MOCK WHERE ID=?", new Binding[]{new IntBinding(1, 0)}, new Binding[]{new StringBinding(1, 0)});// queries.add(new CMPQuery(signature, false, null));// signature = new MethodSignature("ejbSelectMultiValue", new String[]{"java.lang.Integer"});// persistenceFactory.defineQuery(signature, "SELECT VALUE FROM MOCK WHERE ID=?", new Binding[]{new IntBinding(1, 0)}, new Binding[]{new StringBinding(1, 0)});// queries.add(new CMPQuery(signature, true, null));// signature = new MethodSignature("ejbSelectMultiObject", new String[]{"java.lang.Integer"});// persistenceFactory.defineQuery(signature, "SELECT ID FROM MOCK WHERE ID=?", new Binding[]{new IntBinding(1, 0)}, new Binding[]{new IntBinding(1, 0)});// queries.add(new CMPQuery("Mock", true, signature, true, null));//// signature = new MethodSignature("ejbCreate", new String[]{"java.lang.Integer", "java.lang.String"});// persistenceFactory.defineUpdate(signature, "INSERT INTO MOCK(ID, VALUE) VALUES(?,?)", new Binding[]{new IntBinding(1, 0), new StringBinding(2, 1)});// signature = new MethodSignature("ejbRemove", new String[0]);// persistenceFactory.defineUpdate(signature, "DELETE FROM MOCK WHERE ID=?", new Binding[]{new IntBinding(1, 0)});// signature = new MethodSignature("ejbStore", new String[0]);// persistenceFactory.defineUpdate(signature, "UPDATE MOCK SET VALUE = ? WHERE ID=?", new Binding[]{new StringBinding(1, 1), new IntBinding(2, 0)});//// CMPConfiguration cmpConfig = new CMPConfiguration();// cmpConfig.persistenceFactory = persistenceFactory;// cmpConfig.queries = (CMPQuery[]) queries.toArray(new CMPQuery[0]);// cmpConfig.cmpFieldNames = new String[]{"id", "value"};// cmpConfig.relations = new CMRelation[]{};// cmpConfig.schema = "Mock"; CMPContainerBuilder builder = new CMPContainerBuilder(); builder.setClassLoader(this.getClass().getClassLoader()); builder.setContainerId(CONTAINER_NAME); builder.setEJBName("MockEJB"); builder.setBeanClassName(MockCMPEJB.class.getName()); builder.setHomeInterfaceName(MockHome.class.getName()); builder.setLocalHomeInterfaceName(MockLocalHome.class.getName()); builder.setRemoteInterfaceName(MockRemote.class.getName()); builder.setLocalInterfaceName(MockLocal.class.getName()); builder.setPrimaryKeyClassName(Integer.class.getName()); builder.setJndiNames(new String[0]); builder.setLocalJndiNames(new String[0]); builder.setUnshareableResources(new HashSet()); builder.setTransactionPolicySource(new TransactionPolicySource() { public TransactionPolicy getTransactionPolicy(String methodIntf, InterfaceMethodSignature signature) { return ContainerPolicy.Required; } }); builder.setComponentContext(new ReadOnlyContext()); EJB ejb = new EJB("MockEJB", "MOCK"); ejb.addCMPField(new CMPField("id", Integer.class, true)); ejb.addCMPField(new CMPField("value", String.class, false)); builder.setEJB(ejb); builder.setDataSource(ds); container = builder.createConfiguration(); kernel = new Kernel("BeanManagedPersistenceTest"); kernel.boot(); kernel = new Kernel("ContainerManagedPersistenceTest"); kernel.boot(); GBeanMBean transactionManager = new GBeanMBean(TransactionManagerProxy.GBEAN_INFO); transactionManager.setAttribute("Delegate", new MockTransactionManager()); start(TM_NAME, transactionManager); GBeanMBean trackedConnectionAssociator = new GBeanMBean(ConnectionTrackingCoordinator.GBEAN_INFO); start(TCA_NAME, trackedConnectionAssociator); //start the ejb container container.setReferencePatterns("TransactionManager", Collections.singleton(TM_NAME)); container.setReferencePatterns("TrackedConnectionAssociator", Collections.singleton(TCA_NAME)); start(CONTAINER_NAME, container); } | 47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/8ea2ca0f8e130cb6dd2e2e25a4fefefce3abe016/BasicCMPEntityContainerTest.java/clean/openejb2/modules/core/src/test/org/openejb/entity/BasicCMPEntityContainerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24292,
1435,
1216,
1185,
288,
3639,
2240,
18,
542,
1211,
5621,
3639,
368,
4046,
326,
2063,
3639,
3780,
273,
394,
22516,
285,
8597,
2932,
24687,
30,
651,
285,
1966,
30,
3813,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24292,
1435,
1216,
1185,
288,
3639,
2240,
18,
542,
1211,
5621,
3639,
368,
4046,
326,
2063,
3639,
3780,
273,
394,
22516,
285,
8597,
2932,
24687,
30,
651,
285,
1966,
30,
3813,
19... | |
ProfileManager profileManager = null; | PortalService service = null; | public Layout newInstance(String layoutName) throws ProcessingException { Object[] o = (Object[]) this.layouts.get( layoutName ); if ( o == null ) { throw new ProcessingException("LayoutDescription with name '" + layoutName + "' not found."); } DefaultLayoutDescription layoutDescription = (DefaultLayoutDescription)o[0]; Layout layout = null; try { Class clazz = ClassUtils.loadClass( layoutDescription.getClassName() ); layout = (Layout)clazz.newInstance(); } catch (Exception e) { throw new ProcessingException("Unable to create new instance", e ); } String id = null; if ( layoutDescription.createId() ) { // TODO - set unique id id = layoutName + '-' + System.currentTimeMillis(); } layout.initialize( layoutName, id ); layout.setDescription( layoutDescription ); layout.setAspectDataHandler((AspectDataHandler)o[1]); ProfileManager profileManager = null; try { profileManager = (ProfileManager)this.manager.lookup(ProfileManager.ROLE); profileManager.register(layout); } catch (ComponentException ce) { throw new ProcessingException("Unable to lookup profile manager.", ce); } finally { this.manager.release( profileManager ); } return layout; } | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/f9c6f0087139d83c4f494052a0a93b1b6c9d7f3a/DefaultLayoutFactory.java/clean/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/DefaultLayoutFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9995,
5984,
12,
780,
3511,
461,
13,
377,
1216,
19652,
503,
288,
3639,
1033,
8526,
320,
273,
261,
921,
63,
5717,
333,
18,
28283,
18,
588,
12,
3511,
461,
11272,
10792,
309,
261,
320... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9995,
5984,
12,
780,
3511,
461,
13,
377,
1216,
19652,
503,
288,
3639,
1033,
8526,
320,
273,
261,
921,
63,
5717,
333,
18,
28283,
18,
588,
12,
3511,
461,
11272,
10792,
309,
261,
320... |
public void socketOpened(SimTask task, long socketID) { | public void socketOpened(long socketID) { | public void socketOpened(SimTask task, long socketID) { //System.out.println("SocketServicer: Socket ID " + socketID + " is open for business!"); //System.out.flush(); /*try { GLOReference thisRef = task.makeReference(this); task.registerTimerEvent(ACCESS_TYPE.GET, 5000, true, thisRef); } catch (InstantiationException ie) { ie.printStackTrace(); }*/ writeBytes(task, socketID); } | 55380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55380/214b73439cec303729af30c996fa8b4a76d2f0e4/SocketServicer.java/clean/src/com/sun/gi/apps/rawsocket/SocketServicer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2987,
23115,
12,
7993,
2174,
1562,
16,
1525,
2987,
734,
13,
288,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
4534,
827,
90,
21349,
30,
8758,
1599,
315,
397,
2987,
734,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2987,
23115,
12,
7993,
2174,
1562,
16,
1525,
2987,
734,
13,
288,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
4534,
827,
90,
21349,
30,
8758,
1599,
315,
397,
2987,
734,
... |
Class[] sig1, Class[] sig2) { | Class[] sig1, Class[] sig2) { | public static int preferSignature(Object[] args, Class[] sig1, Class[] sig2) { int preference = 0; for (int j = 0; j < args.length; j++) { Class type1 = sig1[j]; Class type2 = sig2[j]; if (type1 == type2) { continue; } preference |= NativeJavaMethod.preferConversion(args[j], type1, type2); if (preference == PREFERENCE_AMBIGUOUS) { break; } } return preference; } | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/9cc29b7e2280631c283f30ba01a6607b657897c9/NativeJavaMethod.java/clean/js/rhino/org/mozilla/javascript/NativeJavaMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
13256,
5374,
12,
921,
8526,
833,
16,
4766,
4202,
1659,
8526,
3553,
21,
16,
1659,
8526,
3553,
22,
13,
288,
4202,
509,
11555,
273,
374,
31,
3639,
364,
261,
474,
525,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
13256,
5374,
12,
921,
8526,
833,
16,
4766,
4202,
1659,
8526,
3553,
21,
16,
1659,
8526,
3553,
22,
13,
288,
4202,
509,
11555,
273,
374,
31,
3639,
364,
261,
474,
525,
273,
... |
assertEquals(2, list.size()); if (((AtomContainer)list.get(0)).getAtomCount() == 11) { assertEquals(11, ((AtomContainer)list.get(0)).getAtomCount()); assertEquals(2, ((AtomContainer)list.get(1)).getAtomCount()); } else { assertEquals(2, ((AtomContainer)list.get(0)).getAtomCount()); assertEquals(11, ((AtomContainer)list.get(1)).getAtomCount()); } | assertEquals(1, list.size()); assertEquals(11, ((AtomContainer)list.get(0)).getAtomCount()); | public void testSFBug1110537() { String file1 = "data/mdl/5SD.mol"; String file2 = "data/mdl/ADN.mol"; Molecule mol1 = new Molecule(); Molecule mol2 = new Molecule(); try { new MDLReader(new FileReader(file1)).read(mol1); new MDLReader(new FileReader(file2)).read(mol2); } catch (Exception ex) { System.err.println("testQueryAtomContainer: " + ex.getMessage()); fail(ex.getMessage()); } List list = UniversalIsomorphismTester.getOverlaps(mol1, mol2); assertEquals(2, list.size()); // two MCSS are found // we don't know the order. So: if (((AtomContainer)list.get(0)).getAtomCount() == 11) { assertEquals(11, ((AtomContainer)list.get(0)).getAtomCount()); assertEquals(2, ((AtomContainer)list.get(1)).getAtomCount()); } else { assertEquals(2, ((AtomContainer)list.get(0)).getAtomCount()); assertEquals(11, ((AtomContainer)list.get(1)).getAtomCount()); } list = UniversalIsomorphismTester.getOverlaps(mol2, mol1); assertEquals(2, list.size()); // we don't know the order. So: if (((AtomContainer)list.get(0)).getAtomCount() == 11) { assertEquals(11, ((AtomContainer)list.get(0)).getAtomCount()); assertEquals(2, ((AtomContainer)list.get(1)).getAtomCount()); } else { assertEquals(2, ((AtomContainer)list.get(0)).getAtomCount()); assertEquals(11, ((AtomContainer)list.get(1)).getAtomCount()); } } | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/f38eeff8465d49eb6007a5e37e36e6f584a18741/UniversalIsomorphismTesterTest.java/clean/src/org/openscience/cdk/test/isomorphism/UniversalIsomorphismTesterTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
22395,
19865,
2499,
21661,
6418,
1435,
288,
3639,
514,
585,
21,
273,
315,
892,
19,
1264,
80,
19,
25,
9903,
18,
21260,
14432,
3639,
514,
585,
22,
273,
315,
892,
19,
1264... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22395,
19865,
2499,
21661,
6418,
1435,
288,
3639,
514,
585,
21,
273,
315,
892,
19,
1264,
80,
19,
25,
9903,
18,
21260,
14432,
3639,
514,
585,
22,
273,
315,
892,
19,
1264... |
public void actionPerformed(ActionEvent evt){ saveComments(currentSelectedBugLeaf, currentSelectedBugAspects); PreferencesFrame.getInstance().setLocationRelativeTo(MainFrame.this); PreferencesFrame.getInstance().setVisible(true); } | public void actionPerformed(java.awt.event.ActionEvent evt) { about(); } | public void actionPerformed(ActionEvent evt){ saveComments(currentSelectedBugLeaf, currentSelectedBugAspects); PreferencesFrame.getInstance().setLocationRelativeTo(MainFrame.this); PreferencesFrame.getInstance().setVisible(true); } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/d31a42c3b951cd6c7cf55bcecd1fe65d7034e38b/MainFrame.java/buggy/findbugs/src/java5/edu/umd/cs/findbugs/gui2/MainFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
26100,
12,
1803,
1133,
6324,
15329,
9506,
202,
5688,
9051,
12,
2972,
7416,
19865,
9858,
16,
783,
7416,
19865,
17468,
87,
1769,
9506,
202,
12377,
3219,
18,
588,
1442,
7675,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1875,
202,
482,
918,
26100,
12,
1803,
1133,
6324,
15329,
9506,
202,
5688,
9051,
12,
2972,
7416,
19865,
9858,
16,
783,
7416,
19865,
17468,
87,
1769,
9506,
202,
12377,
3219,
18,
588,
1442,
7675,
... |
{ | boolean matches(QName mode, Node node) { if ((mode == null && this.mode != null) || (mode != null && !mode.equals(this.mode))) { return false; } if (match == null) { return false; } return match.matches(node); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1250,
1885,
12,
13688,
1965,
16,
2029,
756,
13,
377,
309,
14015,
3188,
422,
446,
597,
333,
18,
3188,
480,
446,
13,
747,
3639,
261,
3188,
480,
446,
597,
401,
3188,
18,
14963,
12,
2211,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1885,
12,
13688,
1965,
16,
2029,
756,
13,
377,
309,
14015,
3188,
422,
446,
597,
333,
18,
3188,
480,
446,
13,
747,
3639,
261,
3188,
480,
446,
597,
401,
3188,
18,
14963,
12,
2211,
... | |
final byte[] data = new byte[1]; | public final String readLine() throws IOException { final StringBuffer buffer = new StringBuffer(); final byte[] data = new byte[1]; boolean eof = false; while (true) { if (read(data, 0, 1) != 1) { eof = true; break; } final char ch = (char) (data[0] & 0xff); if (ch == '\n') { break; } if (ch == '\r') { // Check for '\r\n' // Note that we don't know whether the InputStream // implements mark() and reset(), but we're using // them anyway. If they don't, then characters // after a lone '\r' will be elided from the input // (ie, this is a bug). We could override mark() // and reset() to always provide at least a // one-character buffer, but then we'd violate // the spec, which says to inherit these from // FilterInputStream... super.mark(1); if (read(data, 0, 1) == 1 && data[0] != '\n') { try { super.reset(); } catch (IOException e) { } } break; } buffer.append(ch); } if (eof && buffer.length() == 0) { return (null); } return (buffer.toString());} | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/1ec8969a05c3f09c4b5b6551bf396137acb82de2/DataInputStream.java/buggy/libraries/javalib/java/io/DataInputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
727,
514,
12273,
1435,
1216,
1860,
288,
202,
6385,
6674,
1613,
273,
394,
6674,
5621,
202,
6385,
1160,
8526,
501,
273,
394,
1160,
63,
21,
15533,
202,
6494,
14813,
273,
629,
31,
202,
17523... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
727,
514,
12273,
1435,
1216,
1860,
288,
202,
6385,
6674,
1613,
273,
394,
6674,
5621,
202,
6385,
1160,
8526,
501,
273,
394,
1160,
63,
21,
15533,
202,
6494,
14813,
273,
629,
31,
202,
17523... | |
Buffer buffer = buffersFirst; while(buffer != null) { FoldHandler handler = FoldHandler.getFoldHandler( buffer.getStringProperty("folding")); if(handler != buffer.getFoldHandler()) { buffer.setFoldHandler(handler); } buffer = buffer.getNext(); } } | public static void addPluginJAR(String path) { // backwards compatibility... PluginJAR jar = new EditPlugin.JAR(new File(path)); jars.addElement(jar); jar.init(); EditBus.send(new PluginUpdate(jar,PluginUpdate.LOADED)); if(!isMainThread()) { EditBus.send(new DynamicMenuChanged("plugins")); // buffers retain a reference to the fold handler in // question... and the easiest way to handle fold // handler loading is this... Buffer buffer = buffersFirst; while(buffer != null) { FoldHandler handler = FoldHandler.getFoldHandler( buffer.getStringProperty("folding")); if(handler != buffer.getFoldHandler()) { buffer.setFoldHandler(handler); } buffer = buffer.getNext(); } } } //}}} | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/c2b0e9328a5e7fd21eb359767c4187f291dd7e77/jEdit.java/clean/org/gjt/sp/jedit/jEdit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
527,
3773,
46,
985,
12,
780,
589,
13,
202,
95,
202,
202,
759,
12727,
8926,
2777,
202,
202,
3773,
46,
985,
7334,
273,
394,
15328,
3773,
18,
46,
985,
12,
2704,
1387,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
527,
3773,
46,
985,
12,
780,
589,
13,
202,
95,
202,
202,
759,
12727,
8926,
2777,
202,
202,
3773,
46,
985,
7334,
273,
394,
15328,
3773,
18,
46,
985,
12,
2704,
1387,... | |
if (children == null) return 0; | public int attachChild(Spatial child) { if (child != null) { if (child.getParent() != this) { if (child.getParent() != null) { child.getParent().detachChild(child); } child.setParent(this); if(children == null) { children = new ArrayList<Spatial>(1); } children.add(child); if (LoggingSystem.getLogger().isLoggable(Level.INFO)) { LoggingSystem.getLogger().log( Level.INFO, "Child (" + child.getName() + ") attached to this" + " node (" + getName() + ")"); } } } return children.size(); } | 19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/50acd993eb866b3cdd2f53f44ea117077bfac955/Node.java/clean/src/com/jme/scene/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
309,
261,
5906,
422,
446,
13,
327,
374,
31,
225,
309,
261,
5906,
422,
446,
13,
327,
374,
31,
225,
309,
261,
5906,
422,
446,
13,
327,
374,
31,
225,
309,
261,
5906,
422,
446,
13,
327,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
309,
261,
5906,
422,
446,
13,
327,
374,
31,
225,
309,
261,
5906,
422,
446,
13,
327,
374,
31,
225,
309,
261,
5906,
422,
446,
13,
327,
374,
31,
225,
309,
261,
5906,
422,
446,
13,
327,... | |
Hierarchy[] hierarchies = dimension.getHierarchies(); for (int h = 0; h < hierarchies.length; h++) { HierarchyBase hierarchy = (HierarchyBase) hierarchies[h]; populateHierarchy(connection, cube, hierarchy, rows); | Hierarchy[] hierarchies = dimension.getHierarchies(); for (int h = 0; h < hierarchies.length; h++) { HierarchyBase hierarchy = (HierarchyBase) hierarchies[h]; populateHierarchy(schemaReader, cube, hierarchy, rows); } | public void populate(XmlaResponse response, List rows) throws XmlaException { DataSourcesConfig.DataSource ds = handler.getDataSource(request); DataSourcesConfig.Catalog[] catalogs = handler.getCatalogs(request, ds); String role = request.getRole(); for (int i = 0; i < catalogs.length; i++) { DataSourcesConfig.Catalog dsCatalog = catalogs[i]; if (dsCatalog == null || dsCatalog.definition == null) { continue; } Connection connection = handler.getConnection(dsCatalog, role); if (connection == null) { continue; } final RolapSchema schema = (RolapSchema) connection.getSchema(); String catalogName = dsCatalog.name; //final String schemaName = schema.getName(); Cube[] cubes = schema.getCubes(); Row row = null; for (int j = 0; j < cubes.length; j++) { RolapCube cube = (RolapCube) cubes[j]; String cubeName = cube.getName(); String tableName = cubeName; String desc = cube.getDescription(); if (desc == null) { //TODO: currently this is always null desc = catalogName + " - " + cubeName + " Cube"; } row = new Row(); row.set(TableCatalog.name, catalogName); row.set(TableName.name, tableName); row.set(TableType.name, "TABLE"); row.set(Description.name, desc); if (false) row.set(DateModified.name, dateModified); addRow(row, rows); Dimension[] dims = cube.getDimensions(); for (int k = 1; k < dims.length; k++) { Dimension dimension = dims[k]; Hierarchy[] hierarchies = dimension.getHierarchies(); for (int h = 0; h < hierarchies.length; h++) { HierarchyBase hierarchy = (HierarchyBase) hierarchies[h]; populateHierarchy(connection, cube, hierarchy, rows); } } } } } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/dd3619858adf8a80618b1c4b570c84445dc1e849/RowsetDefinition.java/buggy/src/main/mondrian/xmla/RowsetDefinition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
6490,
12,
4432,
69,
1064,
766,
16,
987,
2595,
13,
1216,
5714,
69,
503,
288,
5411,
1910,
8628,
809,
18,
8597,
3780,
273,
1838,
18,
588,
8597,
12,
2293,
1769,
5411,
1910,
8628,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
6490,
12,
4432,
69,
1064,
766,
16,
987,
2595,
13,
1216,
5714,
69,
503,
288,
5411,
1910,
8628,
809,
18,
8597,
3780,
273,
1838,
18,
588,
8597,
12,
2293,
1769,
5411,
1910,
8628,... |
return ((1 << getType(ch)) & ((1 << SPACE_SEPARATOR) | (1 << LINE_SEPARATOR) | (1 << PARAGRAPH_SEPARATOR))) != 0; | return isSpaceChar((int)ch); | public static boolean isSpaceChar(char ch) { return ((1 << getType(ch)) & ((1 << SPACE_SEPARATOR) | (1 << LINE_SEPARATOR) | (1 << PARAGRAPH_SEPARATOR))) != 0; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/1b7948b90667ad6e59c157b1700e8034e8813d3a/Character.java/buggy/core/src/classpath/5.0/java/lang/Character.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1250,
353,
3819,
2156,
12,
3001,
462,
13,
225,
288,
565,
327,
14015,
21,
2296,
3130,
12,
343,
3719,
5411,
473,
14015,
21,
2296,
20583,
67,
4550,
13,
9079,
571,
261,
21,
2296,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1250,
353,
3819,
2156,
12,
3001,
462,
13,
225,
288,
565,
327,
14015,
21,
2296,
3130,
12,
343,
3719,
5411,
473,
14015,
21,
2296,
20583,
67,
4550,
13,
9079,
571,
261,
21,
2296,... |
super(); | editor = new JTextField("", 9); | public MetalComboBoxEditor() { super(); editor.setBorder(new MetalComboBoxEditorBorder()); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/7cc107e01ff95c250142dda3e246542e1b0c0794/MetalComboBoxEditor.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
21604,
287,
22199,
6946,
1435,
225,
288,
565,
4858,
273,
394,
804,
16157,
2932,
3113,
2468,
1769,
565,
4858,
18,
542,
8107,
12,
2704,
21604,
287,
22199,
6946,
8107,
10663,
225,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
21604,
287,
22199,
6946,
1435,
225,
288,
565,
4858,
273,
394,
804,
16157,
2932,
3113,
2468,
1769,
565,
4858,
18,
542,
8107,
12,
2704,
21604,
287,
22199,
6946,
8107,
10663,
225,
289,
... |
final XmlTag tag = PsiTreeUtil.getParentOfType(prevLeaf.getPsi(), XmlTag.class); if(tag == null) return; | XmlTag tag = PsiTreeUtil.getParentOfType(prevLeaf.getPsi(), XmlTag.class); if(tag == null) { PsiElement element2 = file.findElementAt(prevLeaf.getStartOffset()); tag = PsiTreeUtil.getParentOfType(element2, XmlTag.class); if (tag == null) return; } | private void handleXmlSlash(Project project, Editor editor){ PsiDocumentManager.getInstance(project).commitAllDocuments(); XmlFile file = (XmlFile)PsiDocumentManager.getInstance(project).getPsiFile(editor.getDocument()); final int offset = editor.getCaretModel().getOffset(); PsiElement element = file.findElementAt(offset - 1); ASTNode prevLeaf = element.getNode(); if (!"/".equals(prevLeaf.getText())) return; while((prevLeaf = TreeUtil.prevLeaf(prevLeaf)) != null && prevLeaf.getElementType() == XmlTokenType.XML_WHITE_SPACE); if(prevLeaf == null) return; final XmlTag tag = PsiTreeUtil.getParentOfType(prevLeaf.getPsi(), XmlTag.class); if(tag == null) return; if (XmlUtil.getTokenOfType(tag, XmlTokenType.XML_TAG_END) != null) return; if (XmlUtil.getTokenOfType(tag, XmlTokenType.XML_EMPTY_ELEMENT_END) != null) return; if (PsiTreeUtil.getParentOfType(element, XmlAttributeValue.class) != null) return; EditorModificationUtil.insertStringAtCaret(editor, ">"); } | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/18bf6a35069076d96c7cf4e2e4aea0f4878cc0fc/TypedHandler.java/clean/source/com/intellij/codeInsight/editorActions/TypedHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1640,
4432,
11033,
12,
4109,
1984,
16,
18451,
4858,
15329,
565,
453,
7722,
2519,
1318,
18,
588,
1442,
12,
4406,
2934,
7371,
1595,
12922,
5621,
565,
5714,
812,
585,
273,
261,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1640,
4432,
11033,
12,
4109,
1984,
16,
18451,
4858,
15329,
565,
453,
7722,
2519,
1318,
18,
588,
1442,
12,
4406,
2934,
7371,
1595,
12922,
5621,
565,
5714,
812,
585,
273,
261,
44... |
if ( displayPane != null && displayPane.getDocument() instanceof HTMLDocument ) { HTMLDocument currentHTML = null; if ( shouldReset ) { displayPane.setText( header + "<style>" + BUFFER_STYLE + "</style></head>" + displayBuffer.toString() + "</body></html>" ); } else if ( newContents != null && displayPane.getDocument() instanceof HTMLDocument ) { currentHTML = (HTMLDocument) displayPane.getDocument(); Element parentElement = currentHTML.getDefaultRootElement(); while ( !parentElement.isLeaf() ) parentElement = parentElement.getElement( parentElement.getElementCount() - 1 ); try { currentHTML.insertAfterEnd( parentElement, newContents.trim() ); } catch ( Exception e ) { e.printStackTrace(); } } } if ( displayPane != null ) displayPane.setCaretPosition( shouldScroll ? displayPane.getDocument().getLength() - 1 : 0 ); | protected void fireBufferChanged( int changeType, String newContents ) { if ( changeType != LOGFILE_CHANGE ) { boolean shouldScroll = displayBuffer.length() != 0; boolean shouldReset = displayBuffer.length() == 0 || newContents == null; if ( newContents != null ) { if ( newContents.indexOf( "<body" ) != -1 ) { shouldReset = true; displayBuffer.setLength(0); } int endBody = newContents.indexOf( "</body>" ); if ( endBody != -1 ) newContents = newContents.substring( 0, endBody ); displayBuffer.append( newContents ); } if ( displayPane != null && displayPane.getDocument() instanceof HTMLDocument ) { HTMLDocument currentHTML = null; if ( shouldReset ) { displayPane.setText( header + "<style>" + BUFFER_STYLE + "</style></head>" + displayBuffer.toString() + "</body></html>" ); } else if ( newContents != null && displayPane.getDocument() instanceof HTMLDocument ) { // This is really the only way to ensure that the // screen does not flicker in later versions of Java. currentHTML = (HTMLDocument) displayPane.getDocument(); Element parentElement = currentHTML.getDefaultRootElement(); while ( !parentElement.isLeaf() ) parentElement = parentElement.getElement( parentElement.getElementCount() - 1 ); try { currentHTML.insertAfterEnd( parentElement, newContents.trim() ); } catch ( Exception e ) { // If there's an exception, continue onward so that you // still have an updated display. But, print the stack // trace so you know what's going on. e.printStackTrace(); } } } if ( displayPane != null ) displayPane.setCaretPosition( shouldScroll ? displayPane.getDocument().getLength() - 1 : 0 ); if ( changeType == CONTENT_CHANGE && activeLogWriter != null && newContents != null ) updateLogFile( newContents ); } else if ( activeLogWriter != null ) updateLogFile( displayBuffer.toString() ); } | 50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/5991543dbada4d6ab5c0aa963a04f4bf462db910/ChatBuffer.java/clean/src/net/java/dev/spellcast/utilities/ChatBuffer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4452,
1892,
5033,
12,
509,
2549,
559,
16,
514,
394,
6323,
262,
202,
95,
202,
202,
430,
261,
2549,
559,
480,
2018,
3776,
67,
14473,
262,
202,
202,
95,
1082,
202,
6494,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4452,
1892,
5033,
12,
509,
2549,
559,
16,
514,
394,
6323,
262,
202,
95,
202,
202,
430,
261,
2549,
559,
480,
2018,
3776,
67,
14473,
262,
202,
202,
95,
1082,
202,
6494,
... | |
public ObjectEmitter(AbstractVmClassLoader b, NativeStream os, PrintWriter debug, Set legalInstanceClasses) { | public ObjectEmitter(VmClassLoader b, NativeStream os, PrintWriter debug, Set legalInstanceClasses) { | public ObjectEmitter(AbstractVmClassLoader b, NativeStream os, PrintWriter debug, Set legalInstanceClasses) { this.loaderContext = b; this.os = os; this.bis = (BootImageNativeStream)os; this.legalInstanceClasses = legalInstanceClasses; this.debugWriter = debug; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/c2a519140737c4d249f6c5d568256db2030112e9/ObjectEmitter.java/clean/builder/src/builder/org/jnode/build/ObjectEmitter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
13476,
12,
7469,
22143,
7805,
324,
16,
16717,
1228,
1140,
16,
14071,
1198,
16,
1000,
19286,
1442,
4818,
13,
288,
202,
202,
2211,
18,
6714,
1042,
273,
324,
31,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
13476,
12,
7469,
22143,
7805,
324,
16,
16717,
1228,
1140,
16,
14071,
1198,
16,
1000,
19286,
1442,
4818,
13,
288,
202,
202,
2211,
18,
6714,
1042,
273,
324,
31,
202,
202,
... |
System.exit(0); | exit(0); | private static void exitWithStatus(boolean somethingFailed) { if(somethingFailed) { exitWithError(); } else { System.exit(0); } } | 4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/4557c1c5586d90fa7050467eb820e29ca83cb4b4/SFSystem.java/buggy/core/smartfrog/src/org/smartfrog/SFSystem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
2427,
1190,
1482,
12,
6494,
5943,
2925,
13,
288,
3639,
309,
12,
30289,
2925,
13,
288,
5411,
2427,
25104,
5621,
3639,
289,
469,
288,
5411,
2427,
12,
20,
1769,
3639,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
2427,
1190,
1482,
12,
6494,
5943,
2925,
13,
288,
3639,
309,
12,
30289,
2925,
13,
288,
5411,
2427,
25104,
5621,
3639,
289,
469,
288,
5411,
2427,
12,
20,
1769,
3639,
289,
... |
throw new java.util.UnsupportedOperationException(); | throw new OPT_OptimizingCompilerException("EmptyIterator.remove called"); | public void remove () { throw new java.util.UnsupportedOperationException(); } | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/da2d8b6cc31c5ae0f14bdf582a40b0a2a0c35df9/OPT_EmptyIterator.java/buggy/rvm/src/vm/compilers/optimizing/util/set/OPT_EmptyIterator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1206,
1832,
288,
565,
604,
394,
16456,
67,
13930,
6894,
9213,
503,
2932,
1921,
3198,
18,
4479,
2566,
8863,
225,
289,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1206,
1832,
288,
565,
604,
394,
16456,
67,
13930,
6894,
9213,
503,
2932,
1921,
3198,
18,
4479,
2566,
8863,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
return getGetter().get(getId(), (RubyObject) getData(), this); | return getGetter().get(ruby, this); | public RubyObject get() { return getGetter().get(getId(), (RubyObject) getData(), this); } | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/4e4bb40b2eb2d38881d15ca8ef7cda4c34323793/RubyGlobalEntry.java/buggy/org/jruby/runtime/RubyGlobalEntry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
336,
1435,
288,
3639,
327,
336,
8461,
7675,
588,
12,
27768,
16,
333,
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,... | [
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
336,
1435,
288,
3639,
327,
336,
8461,
7675,
588,
12,
27768,
16,
333,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
if( !(ignoreNoncriticalErrors && (rc == 550 || rc == 553 || rc==521))) { throw new BuildException( "could not create directory: " + ftp.getReplyString() ); | if (!(ignoreNoncriticalErrors && (rc == 550 || rc == 553 || rc == 521))) { throw new BuildException("could not create directory: " + ftp.getReplyString()); | protected void makeRemoteDir( FTPClient ftp, String dir ) throws IOException, BuildException { if (verbose) { log("creating directory: " + dir); } if( ! ftp.makeDirectory( dir ) ) { // codes 521, 550 and 553 can be produced by FTP Servers // to indicate that an attempt to create a directory has // failed because the directory already exists. int rc = ftp.getReplyCode(); if( !(ignoreNoncriticalErrors && (rc == 550 || rc == 553 || rc==521))) { throw new BuildException( "could not create directory: " + ftp.getReplyString() ); } if( verbose ) { log( "directory already exists" ); } } else { if( verbose ) { log( "directory created OK" ); } } } | 506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/6154080061f869b4e425d608da3bd61fad967564/FTP.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1221,
5169,
1621,
12,
19324,
1227,
13487,
16,
514,
1577,
262,
3639,
1216,
1860,
16,
18463,
565,
288,
3639,
309,
261,
11369,
13,
288,
5411,
613,
2932,
23799,
1867,
30,
315,
397,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1221,
5169,
1621,
12,
19324,
1227,
13487,
16,
514,
1577,
262,
3639,
1216,
1860,
16,
18463,
565,
288,
3639,
309,
261,
11369,
13,
288,
5411,
613,
2932,
23799,
1867,
30,
315,
397,... |
public void internalFrameOpened(InternalFrameEvent e) { displayMessage("Internal frame opened", e); } | public void internalFrameIconified(InternalFrameEvent e) { displayMessage("Internal frame iconified", e); } | public MyInternalFrame() { super("#" + (++openFrameCount), true, //resizable true, //closable true, //maximizable true);//iconifiable //...Create the GUI and put it in the window... //...Then set the window size or call pack... setSize(300,300); //Set the window's location. setLocation(xOffset*openFrameCount, yOffset*openFrameCount); addInternalFrameListener(new InternalFrameAdapter() {// public void internalFrameActivated(InternalFrameEvent e) {// paintme();// // displayMessage("Internal frame activated", e);// } public void internalFrameClosing(InternalFrameEvent e) { displayMessage("Internal frame closing", e); } public void internalFrameClosed(InternalFrameEvent e) { displayMessage("Internal frame closed", e); } public void internalFrameOpened(InternalFrameEvent e) { displayMessage("Internal frame opened", e); } public void internalFrameIconified(InternalFrameEvent e) { displayMessage("Internal frame iconified", e); } public void internalFrameDeiconified(InternalFrameEvent e) { displayMessage("Internal frame deiconified", e); } public void internalFrameActivated(InternalFrameEvent e) { displayMessage("Internal frame activated", e); repaint(); } public void internalFrameDeactivated(InternalFrameEvent e) { displayMessage("Internal frame deactivated", e); } }); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30721cddb6f3d35f09b37ba5851be12f1440daa4/Gui5250MDIFrame.java/clean/tn5250j/src/org/tn5250j/Gui5250MDIFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
8005,
3061,
3219,
1435,
288,
540,
2240,
2932,
17133,
397,
261,
9904,
3190,
3219,
1380,
3631,
2868,
638,
16,
368,
455,
6934,
2868,
638,
16,
368,
7550,
87,
429,
2868,
638,
16,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4202,
1071,
8005,
3061,
3219,
1435,
288,
540,
2240,
2932,
17133,
397,
261,
9904,
3190,
3219,
1380,
3631,
2868,
638,
16,
368,
455,
6934,
2868,
638,
16,
368,
7550,
87,
429,
2868,
638,
16,
368,
... |
if (delta == null) | if (delta == null) { | public void resourceChanged(IResourceChangeEvent event) { IResourceDelta delta = event.getDelta(); if (delta == null) return; IResourceDelta[] projectDeltas = delta.getAffectedChildren(); for (int i = 0; i < projectDeltas.length; i++) { int kind = projectDeltas[i].getKind(); //affected by projects being opened/closed or description changes boolean changed = (projectDeltas[i].getFlags() & (IResourceDelta.DESCRIPTION | IResourceDelta.OPEN)) != 0; if (kind != IResourceDelta.CHANGED || changed) { updateBuildActions(false); return; } } } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/WorkbenchActionBuilder.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1058,
5033,
12,
45,
1420,
20930,
871,
13,
288,
9506,
202,
45,
1420,
9242,
3622,
273,
871,
18,
588,
9242,
5621,
9506,
202,
430,
261,
9878,
422,
446,
13,
6862,
202,
2463,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1875,
202,
482,
918,
1058,
5033,
12,
45,
1420,
20930,
871,
13,
288,
9506,
202,
45,
1420,
9242,
3622,
273,
871,
18,
588,
9242,
5621,
9506,
202,
430,
261,
9878,
422,
446,
13,
6862,
202,
2463,
... |
handCursor = new Cursor(parent.getDisplay(), SWT.CURSOR_HAND); busyCursor = new Cursor(parent.getDisplay(), SWT.CURSOR_WAIT); | setHandCursor(new Cursor(parent.getDisplay(), SWT.CURSOR_HAND)); setBusyCursor(new Cursor(parent.getDisplay(), SWT.CURSOR_WAIT)); | protected Control createDialogArea(Composite parent) { handCursor = new Cursor(parent.getDisplay(), SWT.CURSOR_HAND); busyCursor = new Cursor(parent.getDisplay(), SWT.CURSOR_WAIT); getShell().addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { handCursor.dispose(); busyCursor.dispose(); } }); ImageDescriptor imageDescriptor = aboutInfo.getAboutImage(); // may be null if (imageDescriptor != null) image = imageDescriptor.createImage(); if (image == null || image.getBounds().width <= MAX_IMAGE_WIDTH_FOR_TEXT) { // show text String aboutText = aboutInfo.getAboutText(); if (aboutText != null) { // get an about item item = scan(aboutText); } } // page group Composite outer = (Composite)super.createDialogArea(parent); outer.setSize(outer.computeSize(SWT.DEFAULT, SWT.DEFAULT)); GridLayout layout = new GridLayout(); outer.setLayout(layout); outer.setLayoutData(new GridData(GridData.FILL_BOTH)); // the image & text Composite topContainer = new Composite(outer, SWT.NONE); layout = new GridLayout(); layout.numColumns = (image == null || item == null ? 1 : 2); layout.marginWidth = 0; topContainer.setLayout(layout); GridData data = new GridData(); data.horizontalAlignment = GridData.FILL; data.grabExcessHorizontalSpace = true; topContainer.setLayoutData(data); //image on left side of dialog if (image != null) { Label imageLabel = new Label(topContainer, SWT.NONE); data = new GridData(); data.horizontalAlignment = GridData.FILL; data.verticalAlignment = GridData.BEGINNING; data.grabExcessHorizontalSpace = false; imageLabel.setLayoutData(data); imageLabel.setImage(image); } if (item != null) { // text on the right StyledText styledText = new StyledText(topContainer, SWT.MULTI | SWT.READ_ONLY); styledText.setCaret(null); styledText.setFont(parent.getFont()); data = new GridData(); data.horizontalAlignment = GridData.FILL; data.verticalAlignment = GridData.BEGINNING; data.grabExcessHorizontalSpace = true; data.widthHint = convertWidthInCharsToPixels(ABOUT_TEXT_WIDTH); data.heightHint = convertHeightInCharsToPixels(ABOUT_TEXT_HEIGHT); styledText.setText(item.getText()); styledText.setLayoutData(data); styledText.setCursor(null); styledText.setBackground(topContainer.getBackground()); setLinkRanges(styledText, item.getLinkRanges()); addListeners(styledText); } // horizontal bar Label bar = new Label(outer, SWT.HORIZONTAL | SWT.SEPARATOR); data = new GridData(); data.horizontalAlignment = GridData.FILL; bar.setLayoutData(data); // feature images Composite featureContainer = new Composite(outer, SWT.NONE); RowLayout rowLayout = new RowLayout(); rowLayout.wrap = true; featureContainer.setLayout(rowLayout); data = new GridData(); data.horizontalAlignment = GridData.FILL; featureContainer.setLayoutData(data); Workbench workbench = (Workbench)PlatformUI.getWorkbench(); final AboutInfo[] infoArray = getFeaturesInfo(); for (int i = 0; i < infoArray.length; i++) { ImageDescriptor desc = infoArray[i].getFeatureImage(); Image image = null; if (desc != null) { Button button = new Button(featureContainer, SWT.FLAT | SWT.PUSH); button.setData(infoArray[i]); image = desc.createImage(); images.add(image); button.setImage(image); String name = infoArray[i].getFeatureLabel(); if (name == null) name = ""; button.setToolTipText(name); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { AboutFeaturesDialog d = new AboutFeaturesDialog(getShell()); d.setInitialSelection((AboutInfo)event.widget.getData()); d.open(); } }); } } // spacer bar = new Label(outer, SWT.NONE); data = new GridData(); data.horizontalAlignment = GridData.FILL; bar.setLayoutData(data); // button composite Composite buttonComposite = new Composite(outer, SWT.NONE); // create a layout with spacing and margins appropriate for the font size. layout = new GridLayout(); layout.numColumns = 2; // this is incremented by createButton layout.makeColumnsEqualWidth = true; layout.marginWidth = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN); layout.marginHeight = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN); layout.horizontalSpacing = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING); layout.verticalSpacing = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING); buttonComposite.setLayout(layout); data = new GridData(); data.horizontalAlignment = GridData.BEGINNING; buttonComposite.setLayoutData(data); Button button = new Button(buttonComposite, SWT.PUSH); button.setText(WorkbenchMessages.getString("AboutDialog.featureInfo")); //$NON-NLS-1$ data = new GridData(); data.heightHint = convertVerticalDLUsToPixels(IDialogConstants.BUTTON_HEIGHT); int widthHint = convertHorizontalDLUsToPixels(IDialogConstants.BUTTON_WIDTH); data.widthHint = Math.max(widthHint, button.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).x); button.setLayoutData(data); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { new AboutFeaturesDialog(getShell()).open(); } }); button = new Button(buttonComposite, SWT.PUSH); button.setText(WorkbenchMessages.getString("AboutDialog.pluginInfo")); //$NON-NLS-1$ data = new GridData(); data.heightHint = convertVerticalDLUsToPixels(IDialogConstants.BUTTON_HEIGHT); widthHint = convertHorizontalDLUsToPixels(IDialogConstants.BUTTON_WIDTH); data.widthHint = Math.max(widthHint, button.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).x); button.setLayoutData(data); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { new AboutPluginsDialog(getShell()).open(); } }); return outer;} | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/aad51dfaddc72e86744ea23938d289b2a66a7393/AboutDialog.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
8888,
752,
6353,
5484,
12,
9400,
982,
13,
288,
202,
2349,
6688,
273,
394,
13949,
12,
2938,
18,
588,
4236,
9334,
348,
8588,
18,
7509,
55,
916,
67,
12346,
1769,
202,
9274,
93,
6688,
273,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8888,
752,
6353,
5484,
12,
9400,
982,
13,
288,
202,
2349,
6688,
273,
394,
13949,
12,
2938,
18,
588,
4236,
9334,
348,
8588,
18,
7509,
55,
916,
67,
12346,
1769,
202,
9274,
93,
6688,
273,... |
response, idString, Constants.BITSTREAM); | response, idString, Constants.BITSTREAM); | protected void doDSGet(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { Bitstream bitstream = null; // Get the ID from the URL String idString = request.getPathInfo(); String filename = ""; String handle = ""; if (idString != null) { // Remove leading slash if (idString.startsWith("/")) { idString = idString.substring(1); } // Get filename int slashIndex = idString.lastIndexOf('/'); if (slashIndex != -1) { filename = idString.substring(slashIndex + 1); filename = URLDecoder.decode(filename); handle = idString.substring(0, slashIndex); } // If there's still a second slash, remove it and anything after it, // it might be a relative directory name slashIndex = handle.indexOf('/'); slashIndex = handle.indexOf('/', slashIndex + 1); if (slashIndex != -1) { handle = handle.substring(0, slashIndex); } // Find the corresponding bitstream try { boolean found = false; Item item = (Item) HandleManager.resolveToObject(context, handle); if (item == null) { log.info(LogManager.getHeader(context, "invalid_id", "path=" + handle)); JSPManager.showInvalidIDError(request, response, handle, -1); return; } Bundle[] bundles = item.getBundles(); for (int i = 0; i < bundles.length; i++) { Bitstream[] bitstreams = bundles[i].getBitstreams(); if (!found) { for (int k = 0; k < bitstreams.length; k++) { if (filename.equals(bitstreams[k].getName())) { bitstream = bitstreams[k]; found = true; } } } } } catch (NumberFormatException nfe) { // Invalid ID - this will be dealt with below } } // Did we get a bitstream? if (bitstream != null) { log.info(LogManager.getHeader(context, "view_bitstream", "bitstream_id=" + bitstream.getID())); // Set the response MIME type response.setContentType(bitstream.getFormat().getMIMEType()); // Response length response.setHeader("Content-Length", String.valueOf(bitstream.getSize())); // Pipe the bits InputStream is = bitstream.retrieve(); Utils.bufferedCopy(is, response.getOutputStream()); is.close(); response.getOutputStream().flush(); } else { // No bitstream - we got an invalid ID log.info(LogManager.getHeader(context, "view_bitstream", "invalid_bitstream_id=" + idString)); JSPManager.showInvalidIDError(request, response, idString, Constants.BITSTREAM); } } | 47292 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47292/71c78d7920b2b31393f2bd956eca17455acdc37f/HTMLServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/HTMLServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
3948,
967,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
6539,
3256,
28640,
273,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
3948,
967,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
6539,
3256,
28640,
273,
4... |
} else { return runtime.getNil(); } | } return runtime.getNil(); | public IRubyObject convertToType(String targetType, String convertMethod, boolean raise) { if (!respondsTo(convertMethod)) { if (raise) { throw new TypeError( runtime, "Failed to convert " + getMetaClass().getName() + " into " + targetType + "."); // FIXME nil, true and false instead of NilClass, TrueClass, FalseClass; } else { return runtime.getNil(); } } return callMethod(convertMethod); } | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/f5c9a1ebd775712f2dc086acfce1a14a123ec632/RubyObject.java/clean/src/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
8137,
559,
12,
780,
16065,
16,
514,
1765,
1305,
16,
1250,
1002,
13,
288,
3639,
309,
16051,
455,
12545,
774,
12,
6283,
1305,
3719,
288,
5411,
309,
261,
11628,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15908,
10340,
921,
8137,
559,
12,
780,
16065,
16,
514,
1765,
1305,
16,
1250,
1002,
13,
288,
3639,
309,
16051,
455,
12545,
774,
12,
6283,
1305,
3719,
288,
5411,
309,
261,
11628,
13,
... |
|| attribute.equals("id") | || attribute.equals("request") || attribute.equals("id") | private static boolean isDistinguishing(String elementName, String attribute) { boolean result = attribute.equals("key") || attribute.equals("id") || attribute.equals("_q") || attribute.equals("registry") || attribute.equals("alt") || attribute.equals("iso4217") || attribute.equals("iso3166") || (attribute.equals("type") && !elementName.equals("default") && !elementName.equals("measurementSystem") && !elementName.equals("mapping") && !elementName.equals("abbreviationFallback") && !elementName.equals("preferenceOrdering")) || elementName.equals("deprecatedItems");// if (result != matches(distinguishingAttributeMap, new String[]{elementName, attribute}, true)) {// matches(distinguishingAttributeMap, new String[]{elementName, attribute}, true);// throw new IllegalArgumentException("Failed: " + elementName + ", " + attribute);// } return result; } | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/3fcb8838f9c6821db96693375645f561dcbe234c/CLDRFile.java/buggy/tools/java/org/unicode/cldr/util/CLDRFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1250,
353,
5133,
14344,
1468,
310,
12,
780,
14453,
16,
514,
1566,
13,
288,
202,
202,
6494,
563,
273,
202,
202,
4589,
18,
14963,
2932,
856,
7923,
3196,
202,
20081,
1566,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1250,
353,
5133,
14344,
1468,
310,
12,
780,
14453,
16,
514,
1566,
13,
288,
202,
202,
6494,
563,
273,
202,
202,
4589,
18,
14963,
2932,
856,
7923,
3196,
202,
20081,
1566,
... |
if (hwndAfter == 0 || hwndAfter == handle) return; | if (hwndAfter == 0 || hwndAfter == handle) { hwndAfter = OS.HWND_TOP; } | public void moveAbove (Control control) { checkWidget (); int hwndAfter = OS.HWND_TOP; if (control != null) { if (control.isDisposed ()) error(SWT.ERROR_INVALID_ARGUMENT); int hwnd = control.handle; if (hwnd == 0 || hwnd == handle) return; hwndAfter = OS.GetWindow (hwnd, OS.GW_HWNDPREV); /* * Bug in Windows. For some reason, when GetWindow () * with GW_HWNDPREV is used to query the previous window * in the z-order with the first child, Windows returns * the first child instead of NULL. The fix is to detect * this case and return because the window is already the * first child in the z-order. */ if (hwndAfter == 0 || hwndAfter == handle) return; } int flags = OS.SWP_NOSIZE | OS.SWP_NOMOVE | OS.SWP_NOACTIVATE; OS.SetWindowPos (handle, hwndAfter, 0, 0, 0, 0, flags);} | 12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/3408415757b729371c1220b2b2eb5c056e2f2f97/Control.java/clean/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
3635,
25477,
261,
3367,
3325,
13,
288,
202,
1893,
4609,
261,
1769,
202,
474,
16139,
4880,
4436,
273,
5932,
18,
44,
59,
2908,
67,
10462,
31,
202,
430,
261,
7098,
480,
446,
13,
288,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
3635,
25477,
261,
3367,
3325,
13,
288,
202,
1893,
4609,
261,
1769,
202,
474,
16139,
4880,
4436,
273,
5932,
18,
44,
59,
2908,
67,
10462,
31,
202,
430,
261,
7098,
480,
446,
13,
288,... |
ruby.setLastline(value.toRubyObject()); | ruby.setLastline(value); | public IRubyObject set(IRubyObject value) { ruby.setLastline(value.toRubyObject()); return value; } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/f235ab756f32ea9496f8f880066b46ad95ebb692/RubyGlobal.java/buggy/org/jruby/RubyGlobal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
15908,
10340,
921,
444,
12,
7937,
10340,
921,
460,
13,
288,
5411,
22155,
18,
542,
3024,
1369,
12,
1132,
1769,
5411,
327,
460,
31,
3639,
289,
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,
0,
0,
0,
0,
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,
15908,
10340,
921,
444,
12,
7937,
10340,
921,
460,
13,
288,
5411,
22155,
18,
542,
3024,
1369,
12,
1132,
1769,
5411,
327,
460,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
... |
SetRec rec = (SetRec) mapDescToRec.get(desc); | SetRec rec = (SetRec) mapDescToRec.remove(desc); | public void removeActionSet(IActionSetDescriptor desc) { SetRec rec = (SetRec) mapDescToRec.get(desc); if (rec == null) { rec = (SetRec) invisibleBars.get(desc); } if (rec != null) { mapDescToRec.remove(desc); // Remove from the map that stores invisible bars invisibleBars.remove(desc); IActionSet set = rec.set; SubActionBars bars = rec.bars; if (bars != null) { bars.dispose(); } if (set != null) { set.dispose(); } } } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/7db23b8d50d3e07a9da43c2d9b5b2d64fd45ade4/ActionPresentation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionPresentation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
1803,
694,
12,
45,
1803,
694,
3187,
3044,
13,
288,
3639,
1000,
5650,
1950,
273,
261,
694,
5650,
13,
852,
4217,
774,
5650,
18,
4479,
12,
5569,
1769,
3639,
309,
261,
3927... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
1803,
694,
12,
45,
1803,
694,
3187,
3044,
13,
288,
3639,
1000,
5650,
1950,
273,
261,
694,
5650,
13,
852,
4217,
774,
5650,
18,
4479,
12,
5569,
1769,
3639,
309,
261,
3927... |
fDeferredDocumentImpl.insertBefore(typeIndex, anyIndex, getLastChildElement(typeIndex)); } else if (contentTypeName.equals("CHILDREN")) { int attributeIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("content"), fStringPool.addString("elementOnly"), true); fDeferredDocumentImpl.setAttributeNode(typeIndex, attributeIndex); int contentSpecIndex = contentSpec.getHandle(); contentSpec.getNode(contentSpecIndex, node); Element model = createContentModel(contentSpec, node); int modelIndex = createDeferredContentModel(model); int firstChildIndex = getLastChildElement(typeIndex); fDeferredDocumentImpl.insertBefore(typeIndex, modelIndex, firstChildIndex); } else { int attrIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("content"), fStringPool.addString("mixed"), true); fDeferredDocumentImpl.setAttributeNode(typeIndex, attrIndex); contentSpec.getNode(node.value, node); do { int index = node.value; | fDeferredDocumentImpl.insertBefore(typeIndex, anyIndex, getFirstChildElement(typeIndex)); break; } case XMLElementDecl.TYPE_MIXED: { XMLContentSpec contentSpec = new XMLContentSpec(); contentSpecProvider.getContentSpec(contentSpecIndex, contentSpec); contentSpecIndex = contentSpec.value; if (contentSpecIndex == -1) { int attributeIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("type"), fStringPool.addString("string"), true); fDeferredDocumentImpl.setAttributeNode(elementIndex, attributeIndex); } else { if (typeIndex == -1) { typeIndex = fDeferredDocumentImpl.createElement(fStringPool.addSymbol("complexType"), null, -1); fDeferredDocumentImpl.insertBefore(elementIndex, typeIndex, getFirstChildElement(elementIndex)); } int attributeIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("content"), fStringPool.addString("mixed"), true); fDeferredDocumentImpl.setAttributeNode(typeIndex, attributeIndex); | public void elementDecl(QName elementDecl, XMLContentSpec contentSpec) throws Exception { if (DEBUG_ATTLIST_DECL) { String contentModel = contentSpec.toString(); System.out.println("elementDecl(" + fStringPool.toString(elementDecl.rawname) + ", " + contentModel + ")"); } // // Create element declaration // /*REVISIT Grammar Access if (fGrammarAccess) { if (fDeferredDocumentImpl != null) { // // Build element // // get element declaration; create if necessary int schemaIndex = getLastChildElement(fDocumentTypeIndex, "schema"); String elementName = fStringPool.toString(elementDecl.rawname); int elementIndex = getLastChildElement(schemaIndex, "element", "name", elementName); if (elementIndex == -1) { int handle = fAttrList.startAttrList(); fAttrList.addAttr( fStringPool.addSymbol("name"), fStringPool.addString(elementName), fStringPool.addSymbol("NMTOKEN"), true, false); // search fAttrList.addAttr( fStringPool.addSymbol("minOccurs"), // name fStringPool.addString("1"), // value fStringPool.addSymbol("NMTOKEN"), // type false, // specified false); // search fAttrList.addAttr( fStringPool.addSymbol("nullable"), // name fStringPool.addString("false"), // value fStringPool.addSymbol("ENUMERATION"), // type false, // specified false); // search fAttrList.addAttr( fStringPool.addSymbol("abstract"), // name fStringPool.addString("false"), // value fStringPool.addSymbol("ENUMERATION"), // type false, // specified false); // search fAttrList.addAttr( fStringPool.addSymbol("final"), // name fStringPool.addString("false"), // value fStringPool.addSymbol("ENUMERATION"), // type false, // specified false); // search fAttrList.endAttrList(); elementIndex = fDeferredDocumentImpl.createElement(fStringPool.addSymbol("element"), fAttrList, handle); fDeferredDocumentImpl.appendChild(schemaIndex, elementIndex); } // // Build content model // // <!ELEMENT name (#PCDATA)> int contentType = contentSpec.getType(); String contentTypeName = fStringPool.toString(contentType); XMLContentSpec.Node node = new XMLContentSpec.Node(); int contentSpecHandle = contentSpec.getHandle(); if (contentSpecHandle != -1) { contentSpec.getNode(contentSpecHandle, node); } // (#PCDATA) if (contentTypeName.equals("MIXED") && node.type == 0) { int attrNameIndex = fStringPool.addSymbol("type"); int attrValueIndex = fStringPool.addString("string"); boolean attrSpecified = true; int attrIndex = fDeferredDocumentImpl.createAttribute(attrNameIndex, attrValueIndex, attrSpecified); fDeferredDocumentImpl.setAttributeNode(elementIndex, attrIndex); } // other content models else { // get type element; create if necessary int typeIndex = getLastChildElement(elementIndex, "type"); if (typeIndex == -1) { typeIndex = fDeferredDocumentImpl.createElement(fStringPool.addSymbol("type"), null, -1); // REVISIT: Check for type redeclaration? -Ac fDeferredDocumentImpl.insertBefore(elementIndex, typeIndex, getLastChildElement(elementIndex)); } // <!ELEMENT name EMPTY> if (contentTypeName.equals("EMPTY")) { int attributeIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("content"), fStringPool.addString("empty"), true); fDeferredDocumentImpl.setAttributeNode(typeIndex, attributeIndex); } // <!ELEMENT name ANY> else if (contentTypeName.equals("ANY")) { int anyIndex = fDeferredDocumentImpl.createElement(fStringPool.addSymbol("any"), null, -1); fDeferredDocumentImpl.insertBefore(typeIndex, anyIndex, getLastChildElement(typeIndex)); } // <!ELEMENT name (a,b,...)> or <!ELEMENT name (a|b|...)> else if (contentTypeName.equals("CHILDREN")) { int attributeIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("content"), fStringPool.addString("elementOnly"), true); fDeferredDocumentImpl.setAttributeNode(typeIndex, attributeIndex); //attributeIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("order"), fStringPool.addString("seq"), false); //fDeferredDocumentImpl.setAttributeNode(typeIndex, attributeIndex); int contentSpecIndex = contentSpec.getHandle(); contentSpec.getNode(contentSpecIndex, node); Element model = createContentModel(contentSpec, node); int modelIndex = createDeferredContentModel(model); int firstChildIndex = getLastChildElement(typeIndex); fDeferredDocumentImpl.insertBefore(typeIndex, modelIndex, firstChildIndex); } // <!ELEMENT name (#PCDATA|a|...)*> else { // REVISIT: Any chance of getting other than MIXED? -Ac // set content type int attrIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("content"), fStringPool.addString("mixed"), true); fDeferredDocumentImpl.setAttributeNode(typeIndex, attrIndex); // skip '*' node contentSpec.getNode(node.value, node); // add leaves (on descent) do { int index = node.value; int handle = fAttrList.startAttrList(); contentSpec.getNode(node.otherValue, node); String elementRefName = fStringPool.toString(node.value); fAttrList.addAttr( fStringPool.addSymbol("ref"), fStringPool.addString(elementRefName), fStringPool.addSymbol("NMTOKEN"), true, false); // search fAttrList.endAttrList(); int elementRefIndex = fDeferredDocumentImpl.createElement(fStringPool.addSymbol("element"), fAttrList, handle); fDeferredDocumentImpl.insertBefore(typeIndex, elementRefIndex, getLastChildElement(typeIndex, "element")); contentSpec.getNode(index, node); } while (node.type != XMLContentSpec.CONTENTSPECNODE_LEAF); } } } // if defer-node-expansion else if (fDocumentImpl != null) { // // Build element // // get element declaration; create if necessary Element schema = XUtil.getFirstChildElement(fDocumentType, "schema"); String elementName = fStringPool.toString(elementDecl.rawname); Element element = XUtil.getFirstChildElement(schema, "element", "name", elementName); if (element == null) { element = fDocument.createElement("element"); element.setAttribute("name", elementName); element.setAttribute("minOccurs", "1"); ((AttrImpl)element.getAttributeNode("minOccurs")).setSpecified(false); element.setAttribute("nullable", "false"); ((AttrImpl)element.getAttributeNode("nullable")).setSpecified(false); element.setAttribute("abstract", "false"); ((AttrImpl)element.getAttributeNode("abstract")).setSpecified(false); element.setAttribute("final", "false"); ((AttrImpl)element.getAttributeNode("final")).setSpecified(false); schema.appendChild(element); } // // Build content model // // <!ELEMENT name (#PCDATA)> int contentType = contentSpec.getType(); String contentTypeName = fStringPool.toString(contentType); XMLContentSpec.Node node = new XMLContentSpec.Node(); int contentSpecHandle = contentSpec.getHandle(); if (contentSpecHandle != -1) { contentSpec.getNode(contentSpecHandle, node); } // (#PCDATA) if (contentTypeName.equals("MIXED") && node.type == 0) { element.setAttribute("type", "string"); } // other content models else { // get type element; create if necessary Element type = XUtil.getFirstChildElement(element, "type"); if (type == null) { type = fDocumentImpl.createElement("type"); // REVISIT: Check for type redeclaration? -Ac element.insertBefore(type, XUtil.getFirstChildElement(element)); } // <!ELEMENT name EMPTY> if (contentTypeName.equals("EMPTY")) { type.setAttribute("content", "empty"); } // <!ELEMENT name ANY> else if (contentTypeName.equals("ANY")) { Element any = fDocumentImpl.createElement("any"); type.insertBefore(any, XUtil.getFirstChildElement(type)); } // <!ELEMENT name (a,b,...)> or <!ELEMENT name (a|b|...)> else if (contentTypeName.equals("CHILDREN")) { type.setAttribute("content", "elementOnly"); //((AttrImpl)type.getAttributeNode("content")).setSpecified(false); //type.setAttribute("order", "seq"); //((AttrImpl)type.getAttributeNode("order")).setSpecified(false); int contentSpecIndex = contentSpec.getHandle(); contentSpec.getNode(contentSpecIndex, node); Element model = createContentModel(contentSpec, node); Node fragment = fDocument.createDocumentFragment(); XUtil.copyInto(model, fragment); Element firstChild = XUtil.getFirstChildElement(type); type.insertBefore(fragment, firstChild); } // <!ELEMENT name (#PCDATA|a|...)*> else { // REVISIT: Any chance of getting other than MIXED? -Ac // set content type type.setAttribute("content", "mixed"); // skip '*' node contentSpec.getNode(node.value, node); // add leaves (on descent) do { int index = node.value; int handle = fAttrList.startAttrList(); contentSpec.getNode(node.otherValue, node); String elementRefName = fStringPool.toString(node.value); Element elementRef = fDocumentImpl.createElement("element"); elementRef.setAttribute("ref", elementRefName); type.insertBefore(elementRef, XUtil.getFirstChildElement(type, "element")); contentSpec.getNode(index, node); } while (node.type != XMLContentSpec.CONTENTSPECNODE_LEAF); } } } // if NOT defer-node-expansion } // if grammar-access */ } // elementDecl(int,String) | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/3bbd83a7bcddbc34357f71fe08eace8d74b9bc8f/DOMParser.java/buggy/src/org/apache/xerces/parsers/DOMParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
930,
3456,
12,
13688,
930,
3456,
16,
3167,
1350,
1990,
29617,
13,
3639,
1216,
1185,
288,
3639,
309,
261,
9394,
67,
789,
56,
7085,
67,
23956,
13,
288,
5411,
514,
913,
1488,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
930,
3456,
12,
13688,
930,
3456,
16,
3167,
1350,
1990,
29617,
13,
3639,
1216,
1185,
288,
3639,
309,
261,
9394,
67,
789,
56,
7085,
67,
23956,
13,
288,
5411,
514,
913,
1488,
27... |
for (int i = 0; i < windows.length; i++) { final EditorWindow window = windows[i]; | for (final EditorWindow window : windows) { | public void updateFileColor(final VirtualFile file) { LOG.assertTrue(file != null); final EditorWindow[] windows = findWindows(file); if (windows != null) { for (int i = 0; i < windows.length; i++) { final EditorWindow window = windows[i]; final int index = window.findEditorIndex(window.findFileComposite(file)); LOG.assertTrue(index != -1); window.setForegroundAt(index, getManager().getFileColor(file)); } } } | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/e1a06096ca792a1ceceea69e9cd9e30cf27cf380/EditorsSplitters.java/buggy/source/com/intellij/openapi/fileEditor/impl/EditorsSplitters.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
812,
2957,
12,
6385,
7269,
812,
585,
13,
288,
565,
2018,
18,
11231,
5510,
12,
768,
480,
446,
1769,
565,
727,
18451,
3829,
8526,
9965,
273,
1104,
10399,
12,
768,
1769,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1089,
812,
2957,
12,
6385,
7269,
812,
585,
13,
288,
565,
2018,
18,
11231,
5510,
12,
768,
480,
446,
1769,
565,
727,
18451,
3829,
8526,
9965,
273,
1104,
10399,
12,
768,
1769,
5... |
BFont f = new BFont(font, true); | BFont f = new BFont(font, smooth); | public void build() { int fontsize = 0; try { fontsize = Integer.parseInt(sizeSelector.getText().trim()); } catch (NumberFormatException e) { } if (fontsize <= 0) { JOptionPane.showMessageDialog(this, "Bad font size, try again.", "Badness", JOptionPane.WARNING_MESSAGE); return; } String filename = filenameField.getText(); if (filename.length() == 0) { JOptionPane.showMessageDialog(this, "Enter a file name for the font.", "Lameness", JOptionPane.WARNING_MESSAGE); return; } if (!filename.endsWith(".vlw")) { filename += ".vlw"; } try { font = new Font(list[selection], Font.PLAIN, fontsize); BFont f = new BFont(font, true); // make sure the 'data' folder exists if (!targetFolder.exists()) targetFolder.mkdirs(); f.write(new FileOutputStream(new File(targetFolder, filename))); } catch (IOException e) { JOptionPane.showMessageDialog(this, "An error occurred while creating font.", "No font for you", JOptionPane.WARNING_MESSAGE); e.printStackTrace(); } hide(); } | 8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/5e45f256424f9b8c7ce4ed58fe2a30ca53c4c512/PdeFontBuilder.java/buggy/app/PdeFontBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1361,
1435,
288,
565,
509,
14869,
273,
374,
31,
565,
775,
288,
1377,
14869,
273,
2144,
18,
2670,
1702,
12,
1467,
4320,
18,
588,
1528,
7675,
5290,
10663,
565,
289,
1044,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1361,
1435,
288,
565,
509,
14869,
273,
374,
31,
565,
775,
288,
1377,
14869,
273,
2144,
18,
2670,
1702,
12,
1467,
4320,
18,
588,
1528,
7675,
5290,
10663,
565,
289,
1044,
261,
... |
Locale locale = UtilHttp.getLocale(request); | public static String loadCartFromShoppingList(HttpServletRequest request, HttpServletResponse response) { LocalDispatcher dispatcher = (LocalDispatcher) request.getAttribute("dispatcher"); HttpSession session = request.getSession(); GenericValue userLogin = (GenericValue)session.getAttribute("userLogin"); Locale locale = UtilHttp.getLocale(request); String shoppingListId = request.getParameter("shoppingListId"); ShoppingCart cart = null; try { Map outMap = dispatcher.runSync("loadCartFromShoppingList", UtilMisc.toMap("shoppingListId", shoppingListId, "userLogin", userLogin)); cart = (ShoppingCart)outMap.get("shoppingCart"); } catch(GenericServiceException exc) { request.setAttribute("_ERROR_MESSAGE_", exc.getMessage()); return "error"; } session.setAttribute("shoppingCart", cart); session.setAttribute("productStoreId", cart.getProductStoreId()); session.setAttribute("orderMode", cart.getOrderType()); session.setAttribute("orderPartyId", cart.getOrderPartyId()); return "success"; } | 22229 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22229/fe6d815d9b2a6ec15c3bfa83f0eb8d345cdcec56/ShoppingCartEvents.java/buggy/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartEvents.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1262,
13006,
1265,
7189,
1382,
682,
12,
2940,
18572,
590,
16,
12446,
766,
13,
288,
3639,
3566,
6681,
7393,
273,
261,
2042,
6681,
13,
590,
18,
588,
1499,
2932,
18495,
8863,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
1262,
13006,
1265,
7189,
1382,
682,
12,
2940,
18572,
590,
16,
12446,
766,
13,
288,
3639,
3566,
6681,
7393,
273,
261,
2042,
6681,
13,
590,
18,
588,
1499,
2932,
18495,
8863,... | |
public int getGameListsDisplayStyle(){ return gameListsDisplayStyle; } | public int getGameListsDisplayStyle() { return gameListsDisplayStyle; } | public int getGameListsDisplayStyle(){ return gameListsDisplayStyle; } | 50794 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50794/7ad97f640609065fb4cffaab0b5437105af2ce96/ConsoleManager.java/clean/src/free/jin/console/ConsoleManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
7162,
339,
7432,
4236,
2885,
1435,
95,
565,
327,
7920,
7432,
4236,
2885,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
7162,
339,
7432,
4236,
2885,
1435,
95,
565,
327,
7920,
7432,
4236,
2885,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
LOG.info("[GrailsDomainBinder] bound property [" + grailsProp.getName() + "] to column name ["+column.getName()+"] in table ["+table.getName()+"]"); | if(LOG.isDebugEnabled()) LOG.debug("[GrailsDomainBinder] bound property [" + grailsProp.getName() + "] to column name ["+column.getName()+"] in table ["+table.getName()+"]"); | private static void bindColumn(GrailsDomainClassProperty grailsProp, Column column, Table table) { if(grailsProp.isAssociation()) { column.setName( namingStrategy.propertyToColumnName(grailsProp.getName()) + FOREIGN_KEY_SUFFIX ); column.setNullable(true); } else { column.setNullable(grailsProp.isOptional()); column.setName(namingStrategy.propertyToColumnName(grailsProp.getName())); } LOG.info("[GrailsDomainBinder] bound property [" + grailsProp.getName() + "] to column name ["+column.getName()+"] in table ["+table.getName()+"]"); } | 52280 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52280/712573814c42fbe35e21e12aea543f4fd3eef23a/GrailsDomainBinder.java/buggy/src/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg/GrailsDomainBinder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1993,
1494,
12,
14571,
14573,
3748,
797,
1396,
3087,
14573,
4658,
16,
4753,
1057,
16,
3555,
1014,
13,
288,
6862,
9506,
202,
430,
12,
2752,
14573,
4658,
18,
291,
7174,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
1993,
1494,
12,
14571,
14573,
3748,
797,
1396,
3087,
14573,
4658,
16,
4753,
1057,
16,
3555,
1014,
13,
288,
6862,
9506,
202,
430,
12,
2752,
14573,
4658,
18,
291,
7174,... |
service = new JRadioButton("Create a service archive", false); | service = new JRadioButton("Create a service archive", true); | public Axi2PluginPage() { setBackground(Color.white); Dimension dim = getPreferredSize(); setSize(dim); setBounds(200, 200, dim.width, dim.height); setBounds(200, 200, dim.width, dim.height); Axi2PluginPageLayout customLayout = new Axi2PluginPageLayout(); setFont(new Font("Helvetica", Font.PLAIN, 12)); setLayout(customLayout); setTitle("Axis2 Plugin"); cbg = new ButtonGroup(); service = new JRadioButton("Create a service archive", false); service.setToolTipText("Hepls package classes, libs and WSDLs to create a archive that can be deployed in Axis2"); cbg.add(service); add(service); javawsdl = new JRadioButton("WSDL2Code codegenaration", false); javawsdl.setToolTipText("Helps generate skeletons and stubs for a given WSDL"); cbg.add(javawsdl); add(javawsdl); butOK = new JButton("OK"); butOK.addActionListener(this); //setResizable(false); add(butOK); butCancle = new JButton("Cancel"); butCancle.addActionListener(this); add(butCancle); imglbl = new LogoPage(); add(imglbl); } | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/9d8b243488921dd415dc0169bcc72f4d0edc5cc5/Axi2PluginPage.java/buggy/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/frames/Axi2PluginPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
22516,
77,
22,
3773,
1964,
1435,
288,
3639,
31217,
12,
2957,
18,
14739,
1769,
3639,
13037,
2464,
273,
12822,
4193,
1225,
5621,
3639,
19106,
12,
3509,
1769,
3639,
444,
5694,
12,
6976,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22516,
77,
22,
3773,
1964,
1435,
288,
3639,
31217,
12,
2957,
18,
14739,
1769,
3639,
13037,
2464,
273,
12822,
4193,
1225,
5621,
3639,
19106,
12,
3509,
1769,
3639,
444,
5694,
12,
6976,
... |
ElementValue(byte type, short collectionId, short symbol, short nsSymbol) { len = 7; data = new byte[len]; | ElementValue(short collectionId) { data = new byte[2]; | ElementValue(byte type, short collectionId, short symbol, short nsSymbol) { len = 7; data = new byte[len]; ByteConversion.shortToByte(collectionId, data, 0); data[2] = type; ByteConversion.shortToByte(symbol, data, 3); ByteConversion.shortToByte(nsSymbol, data, 5); pos = 0; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/96a020d1e295b0656cc0cf89c67a713d91bb61ad/ElementValue.java/buggy/src/org/exist/storage/ElementValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1046,
620,
12,
7229,
618,
16,
3025,
1849,
548,
16,
3025,
3273,
16,
3025,
3153,
5335,
13,
288,
202,
202,
1897,
273,
2371,
31,
202,
202,
892,
273,
394,
1160,
63,
1897,
15533,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1046,
620,
12,
7229,
618,
16,
3025,
1849,
548,
16,
3025,
3273,
16,
3025,
3153,
5335,
13,
288,
202,
202,
1897,
273,
2371,
31,
202,
202,
892,
273,
394,
1160,
63,
1897,
15533,
202,
... |
private String executeCreateNewFunctionService(final Object[] argsToRead) throws FenixFilterException { | private String executeCreateNewFunctionService(final Object[] argsToRead) throws FenixFilterException { | private String executeCreateNewFunctionService(final Object[] argsToRead) throws FenixFilterException { try { ServiceUtils.executeService(getUserView(), "CreateNewFunction", argsToRead); } catch (FenixServiceException e) { setErrorMessage(e.getMessage()); return ""; } catch (DomainException e) { setErrorMessage(e.getMessage()); return ""; } return "backToUnitDetails"; } | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/c27ec9a95fdaf970f8a7d315046cd838be22ce83/OrganizationalStructureBackingBean.java/clean/src/net/sourceforge/fenixedu/presentationTier/backBeans/manager/organizationalStructureManagement/OrganizationalStructureBackingBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
29977,
1908,
2083,
1179,
12,
6385,
1033,
8526,
833,
23321,
13,
1216,
478,
275,
697,
1586,
503,
288,
3639,
775,
288,
5411,
1956,
1989,
18,
8837,
1179,
12,
588,
1299,
1767,
9334,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
29977,
1908,
2083,
1179,
12,
6385,
1033,
8526,
833,
23321,
13,
1216,
478,
275,
697,
1586,
503,
288,
3639,
775,
288,
5411,
1956,
1989,
18,
8837,
1179,
12,
588,
1299,
1767,
9334,... |
countHasFinalizer() { int count = 0; VM_FinalizerListElement le = live_head; while (le != null) { count++; le = le.next; } return count; | static int countHasFinalizer() { int count = 0; VM_FinalizerListElement le = live_head; while (le != null) { count++; le = le.next; | countHasFinalizer() { int count = 0; VM_FinalizerListElement le = live_head; while (le != null) { count++; le = le.next; } return count; } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/2fa590c80682746e4c5a9573d3bc4a3db8acfdc7/VM_Finalizer.java/buggy/rvm/src/vm/memoryManagers/watson/common/finalization/VM_Finalizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1056,
5582,
7951,
1824,
1435,
565,
288,
1377,
509,
1056,
273,
374,
31,
1377,
8251,
67,
7951,
1824,
682,
1046,
884,
273,
8429,
67,
1978,
31,
1377,
1323,
261,
298,
480,
446,
13,
4202,
288... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1056,
5582,
7951,
1824,
1435,
565,
288,
1377,
509,
1056,
273,
374,
31,
1377,
8251,
67,
7951,
1824,
682,
1046,
884,
273,
8429,
67,
1978,
31,
1377,
1323,
261,
298,
480,
446,
13,
4202,
288... |
cTable=new ConnectionTable(this, b_addr, start_port); | cTable=new ConnectionTable(this, b_addr, bc_addr, start_port, end_port); | protected ConnectionTable getConnectionTable(long ri, long cet, InetAddress b_addr, int s_port) throws Exception { ConnectionTable cTable=null; if(ri == 0 && cet == 0) { cTable=new ConnectionTable(this, b_addr, start_port); } else { if(ri == 0) { ri=5000; if(log.isWarnEnabled()) log.warn("reaper_interval was 0, set it to " + ri); } if(cet == 0) { cet=1000 * 60 * 5; if(log.isWarnEnabled()) log.warn("conn_expire_time was 0, set it to " + cet); } cTable=new ConnectionTable(this, b_addr, s_port, ri, cet); } return cTable; } | 47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/4711922771d529a39c0cc7abeb961c022bceb9b1/TCP.java/clean/src/org/jgroups/protocols/TCP.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
4050,
1388,
6742,
1388,
12,
5748,
12347,
16,
1525,
276,
278,
16,
14218,
324,
67,
4793,
16,
509,
272,
67,
655,
13,
1216,
1185,
288,
4202,
4050,
1388,
276,
1388,
33,
2011,
31,
4202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
4050,
1388,
6742,
1388,
12,
5748,
12347,
16,
1525,
276,
278,
16,
14218,
324,
67,
4793,
16,
509,
272,
67,
655,
13,
1216,
1185,
288,
4202,
4050,
1388,
276,
1388,
33,
2011,
31,
4202,... |
new RuntimeException("[BUG] want to change " + list.getClass().getName() + " to DXStrNode").printStackTrace(); | private int parse_string(int func, int term, int paren) { int c; Node list = null; int strstart; int nest = 0; if (func == '\'') { return parse_qstring(term, paren); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yyVal = RubyString.newString(ruby, lex_curline, lex_pend - 1); lex_p = lex_pend; return Token.tSTRING; } strstart = ruby.getSourceLine(); newtok(); while ((c = nextc()) != term || nest > 0) { if (c == -1) { //unterm_str: ruby.setSourceLine(strstart); ph.rb_compile_error("unterminated string meets end of file"); return 0; } /* * if (ismbchar(c)) { * int i, len = mbclen(c)-1; * for (i = 0; i < len; i++) { * tokadd(c); * c = nextc(); * } * } * else */ if (c == '#') { list = str_extend(list, term); if (list == Node.MINUS_ONE) { //goto unterm_str; ruby.setSourceLine(strstart); ph.rb_compile_error("unterminated string meets end of file"); return 0; } continue; } else if (c == '\\') { c = nextc(); if (c == '\n') { continue; } if (c == term) { tokadd(c); } else { pushback(c); if (func != '"') { tokadd('\\'); } tokadd(read_escape()); } continue; } if (paren != 0) { if (c == paren) { nest++; } if (c == term && nest-- == 0) { break; } } tokadd(c); } tokfix(); ph.setLexState(LexState.EXPR_END); if (list != null) { list.setLine(strstart); if (toklen() > 0) { RubyObject ss = RubyString.newString(ruby, tok(), toklen()); ph.list_append(list, nf.newStr(ss)); } yyVal = list; if (func == '`') { new RuntimeException("[BUG] want to change " + list.getClass().getName() + " to DXStrNode").printStackTrace(); // list.nd_set_type(Constants.NODE_DXSTR); return Token.tDXSTRING; } else { return Token.tDSTRING; } } else { yyVal = RubyString.newString(ruby, tok(), toklen()); return (func == '`') ? Token.tXSTRING : Token.tSTRING; } } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/9f6d418b0c7d9027a0d80f0c8a2a854790ba53aa/DefaultRubyScanner.java/clean/org/jruby/parser/DefaultRubyScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1109,
67,
1080,
12,
474,
1326,
16,
509,
2481,
16,
509,
22146,
13,
288,
3639,
509,
276,
31,
3639,
2029,
666,
273,
446,
31,
3639,
509,
609,
1937,
31,
3639,
509,
15095,
273,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1109,
67,
1080,
12,
474,
1326,
16,
509,
2481,
16,
509,
22146,
13,
288,
3639,
509,
276,
31,
3639,
2029,
666,
273,
446,
31,
3639,
509,
609,
1937,
31,
3639,
509,
15095,
273,
3... | |
try { CSTNode extendsNode = typeList(Token.KEYWORD_EXTENDS, EXTENDS_CLAUSE_TERMINATORS, true, 1); classDeclaration.addChild(extendsNode); | try { classDeclaration.add( typeList(Types.KEYWORD_EXTENDS, true, 1) ); | public CSTNode classDeclaration(CSTNode modifiers) throws ReadException, SyntaxException, ExceptionCollector { CSTNode classDeclaration = rootNode(Token.KEYWORD_CLASS); classDeclaration.addChild(modifiers); consume(classDeclaration, Token.IDENTIFIER); // // Process any extends clause. try { CSTNode extendsNode = typeList(Token.KEYWORD_EXTENDS, EXTENDS_CLAUSE_TERMINATORS, true, 1); classDeclaration.addChild(extendsNode); } catch (SyntaxException e) { collector.add(e); classDeclaration.addChild(new CSTNode()); } // // Process any implements clause. try { CSTNode implementsNode = typeList(Token.KEYWORD_IMPLEMENTS, IMPLEMENTS_CLAUSE_TERMINATORS, true, 0); classDeclaration.addChild(implementsNode); } catch (SyntaxException e) { collector.add(e); classDeclaration.addChild(new CSTNode()); } // // Process the declaration body. We currently ignore the abstract keyword. classDeclaration.addChild(typeBody(true, true, false)); return classDeclaration; } | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/64e65829fa69dec52d9653087f9d6e65e59b9028/Parser.java/clean/src/main/org/codehaus/groovy/syntax/parser/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
385,
882,
907,
667,
6094,
12,
39,
882,
907,
10429,
13,
1216,
2720,
503,
16,
11517,
503,
16,
1185,
7134,
288,
3639,
385,
882,
907,
667,
6094,
273,
10181,
12,
1345,
18,
28813,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
385,
882,
907,
667,
6094,
12,
39,
882,
907,
10429,
13,
1216,
2720,
503,
16,
11517,
503,
16,
1185,
7134,
288,
3639,
385,
882,
907,
667,
6094,
273,
10181,
12,
1345,
18,
28813,
67,
... |
public boolean checkAuthentication(String userDN, String password) { boolean debug = Log.isDebugEnabled(); if (debug) { Log.debug("In LdapManager.checkAuthentication(userDN, password), userDN is: " + userDN + "..."); } DirContext ctx = null; try { // See if the user authenticates. Hashtable<String, Object> env = new Hashtable<String, Object>(); env.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory); env.put(Context.PROVIDER_URL, getProviderURL(baseDN)); if (sslEnabled) { env.put("java.naming.ldap.factory.socket", "org.jivesoftware.util.SimpleSSLSocketFactory"); env.put(Context.SECURITY_PROTOCOL, "ssl"); } env.put(Context.SECURITY_AUTHENTICATION, "simple"); env.put(Context.SECURITY_PRINCIPAL, userDN + "," + baseDN); env.put(Context.SECURITY_CREDENTIALS, password); // Specify timeout to be 10 seconds, only on non SSL since SSL connections // break with a teimout. if (!sslEnabled) { env.put("com.sun.jndi.ldap.connect.timeout", "10000"); } if (ldapDebugEnabled) { env.put("com.sun.jndi.ldap.trace.ber", System.err); } if (followReferrals) { env.put(Context.REFERRAL, "follow"); } if (debug) { Log.debug("Created context values, attempting to create context..."); } ctx = new InitialDirContext(env); if (debug) { Log.debug("... context created successfully, returning."); } } catch (NamingException ne) { // If an alt baseDN is defined, attempt a lookup there. if (alternateBaseDN != null) { try { if (ctx != null) { ctx.close(); } } catch (Exception e) { Log.error(e); } try { // See if the user authenticates. Hashtable<String, Object> env = new Hashtable<String, Object>(); // Use a custom initial context factory if specified. Otherwise, use the default. env.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory); env.put(Context.PROVIDER_URL, getProviderURL(alternateBaseDN)); if (sslEnabled) { env.put("java.naming.ldap.factory.socket", "org.jivesoftware.util.SimpleSSLSocketFactory"); env.put(Context.SECURITY_PROTOCOL, "ssl"); } env.put(Context.SECURITY_AUTHENTICATION, "simple"); env.put(Context.SECURITY_PRINCIPAL, userDN + "," + alternateBaseDN); env.put(Context.SECURITY_CREDENTIALS, password); // Specify timeout to be 10 seconds, only on non SSL since SSL connections // break with a timemout. if (!sslEnabled) { env.put("com.sun.jndi.ldap.connect.timeout", "10000"); } if (ldapDebugEnabled) { env.put("com.sun.jndi.ldap.trace.ber", System.err); } if (followReferrals) { env.put(Context.REFERRAL, "follow"); } if (debug) { Log.debug("Created context values, attempting to create context..."); } ctx = new InitialDirContext(env); } catch (NamingException e) { if (debug) { Log.debug("Caught a naming exception when creating InitialContext", ne); } return false; } } else { if (debug) { Log.debug("Caught a naming exception when creating InitialContext", ne); } return false; } } finally { try { if (ctx != null) { ctx.close(); } } catch (Exception e) { Log.error(e); } } return true; } | 6161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6161/98d7be25503f329381c1a6b5cc1d20e55a610840/LdapManager.java/clean/src/java/org/jivesoftware/wildfire/ldap/LdapManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
866,
6492,
12,
780,
729,
8609,
16,
514,
2201,
13,
288,
3639,
1250,
1198,
273,
1827,
18,
291,
2829,
1526,
5621,
3639,
309,
261,
4148,
13,
288,
5411,
1827,
18,
4148,
2932,
382... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
866,
6492,
12,
780,
729,
8609,
16,
514,
2201,
13,
288,
3639,
1250,
1198,
273,
1827,
18,
291,
2829,
1526,
5621,
3639,
309,
261,
4148,
13,
288,
5411,
1827,
18,
4148,
2932,
382... | ||
break; case 690 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } consumeMethodHeader(); | 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("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 514 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 515 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 516 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 517 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 518 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 519 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 520 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 522 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 524 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 525 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 529 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 530 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 532 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 535 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 536 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 538 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 541 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 542 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 543 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 544 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 545 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 546 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 547 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 548 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 549 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 550 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 551 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 552 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 553 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 554 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 555 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 556 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 557 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 558 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 559 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 561 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 563 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 564 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 566 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 567 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 569 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 570 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 571 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 572 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 574 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 575 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 581 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 582 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 585 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 586 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 589 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 590 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 591 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 592 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 593 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 594 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 596 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 597 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 598 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 599 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 601 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 602 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 603 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 604 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 605 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 606 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 608 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 609 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 610 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 611 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 612 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 613 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 614 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 615 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 617 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(); break; case 618 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(); break; case 620 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 621 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 622 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 623 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 625 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 626 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 628 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 629 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 631 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 632 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 634 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 635 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 637 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 638 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 640 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 641 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 645 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 646 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 647 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 648 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 650 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 651 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationsopt() ; break; case 653 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 654 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(true); break; case 655 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeMethodHeaderName(true); break; case 656 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyMethodHeaderDefaultValue() ; break; case 657 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::= DefaultValue"); } //$NON-NLS-1$ consumeMethodHeaderDefaultValue(); break; case 658 : if (DEBUG) { System.out.println("AnnotationMethodHeader ::= AnnotationMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 659 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 667 : if (DEBUG) { System.out.println("AnnotationName ::= AT Name"); } //$NON-NLS-1$ consumeAnnotationName() ; break; case 668 : if (DEBUG) { System.out.println("NormalAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 669 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 672 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 673 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL EnterMemberValue..."); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 674 : if (DEBUG) { System.out.println("EnterMemberValue ::="); } //$NON-NLS-1$ consumeEnterMemberValue() ; break; case 675 : if (DEBUG) { System.out.println("ExitMemberValue ::="); } //$NON-NLS-1$ consumeExitMemberValue() ; break; case 677 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ consumeMemberValueAsName() ; break; case 680 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; 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$ consumeEmptyMemberValueArrayInitializer() ; break; case 683 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 685 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 686 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AnnotationName"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 687 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; case 688 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt TypeParameters"); } //$NON-NLS-1$ consumeRecoveryMethodHeaderNameWithTypeParameters(); break; case 689 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeRecoveryMethodHeaderName(); break; case 690 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 691 : 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/c5e4a396e5f97d1050138e25a4f2f263849bffc7/Parser.java/clean/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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
... | |
private void assertCorrect(int index, String name, String parentName, int offset, List<Member> members) { | private void assertCorrect(int index, String name, String parentName, int outerOffset, int offset, int endOffset, List<Member> members) { | private void assertCorrect(int index, String name, String parentName, int offset, List<Member> members) { try { Member member = members.get(index); assertEquals("Assert name correct", name, member.getFullName()); assertEquals("Assert offset correct", offset, member.getStartOffset()); List<Member> memberPath = member.getMemberPath(); if(parentName == null) { assertEquals("assert empty list", 1, memberPath.size()); assertEquals("assert self path member correct", name, memberPath.get(0).getFullName()); } else { assertEquals("assert top path member correct", parentName, memberPath.get(0).getFullName()); } } catch (Exception e) { fail("Member not in result: " + name); } } | 13291 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13291/398e37f2a476d50b0cd896114b9c084884e3dc0e/TestRubyParser.java/clean/src/org/jedit/ruby/test/TestRubyParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1815,
16147,
12,
474,
770,
16,
514,
508,
16,
514,
26119,
16,
509,
6390,
2335,
16,
509,
1384,
16,
509,
25507,
16,
987,
32,
4419,
34,
4833,
13,
288,
3639,
775,
288,
5411,
859... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1815,
16147,
12,
474,
770,
16,
514,
508,
16,
514,
26119,
16,
509,
6390,
2335,
16,
509,
1384,
16,
509,
25507,
16,
987,
32,
4419,
34,
4833,
13,
288,
3639,
775,
288,
5411,
859... |
{ super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus); | { super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus); | public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus); ResourceBundle resources = ResourceBundle.getBundle("mondrian.gui.resources.gui"); if (value instanceof MondrianDef.Cube) { setText(((MondrianDef.Cube) value).name); super.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("cube")))); } else if (value instanceof MondrianDef.Column) { setText(((MondrianDef.Column) value).name); } else if (value instanceof MondrianDef.Dimension) { setText(((MondrianDef.Dimension) value).name); super.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("dimension")))); } else if (value instanceof MondrianDef.DimensionUsage) { super.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("dimensionUsage")))); setText(((MondrianDef.DimensionUsage) value).name); } else if (value instanceof MondrianDef.Expression) { setText("Expression"); } else if (value instanceof MondrianDef.ExpressionView) { setText("ExpressionView"); } else if (value instanceof MondrianDef.Hierarchy) { setText("Hierarchy"); super.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("hierarchy")))); } else if (value instanceof MondrianDef.Join) { setText("Join"); } else if (value instanceof MondrianDef.Level) { setText(((MondrianDef.Level) value).name); super.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("level")))); } else if (value instanceof MondrianDef.Measure) { setText(((MondrianDef.Measure) value).name); super.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("measure")))); } else if (value instanceof MondrianDef.Parameter) { setText(((MondrianDef.Parameter) value).name); } else if (value instanceof MondrianDef.Property) { setText(((MondrianDef.Property) value).name); super.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("property")))); } else if (value instanceof MondrianDef.Relation) { setText("Relation"); } else if (value instanceof MondrianDef.Schema) { setText("Schema"); super.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("schema")))); } else if (value instanceof MondrianDef.SQL) { setText("SQL"); } else if (value instanceof MondrianDef.Table) { setText(((MondrianDef.Table) value).name); } else if (value instanceof MondrianDef.View) { setText("View"); } else if (value instanceof MondrianDef.VirtualCube) { setText(((MondrianDef.VirtualCube) value).name); super.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("virtualCube")))); } else if (value instanceof MondrianDef.VirtualCubeDimension) { setText(((MondrianDef.VirtualCubeDimension) value).name); super.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("virtualCubeDimension")))); } else if (value instanceof MondrianDef.VirtualCubeMeasure) { setText(((MondrianDef.VirtualCubeMeasure) value).name); super.setIcon(new ImageIcon(myClassLoader.getResource(resources.getString("virtualCubeMeasure")))); } else if (value instanceof mondrian.xom.ElementDef) { setText(((mondrian.xom.ElementDef) value).getName()); } else { super.setText(""); } return this; } | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/SchemaTreeCellRenderer.java/clean/src/main/mondrian/gui/SchemaTreeCellRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5435,
15867,
4020,
6747,
1841,
12,
46,
2471,
2151,
16,
1033,
460,
16,
1250,
357,
16,
1250,
8406,
16,
1250,
7839,
16,
509,
1027,
16,
1250,
711,
9233,
13,
202,
95,
202,
202,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5435,
15867,
4020,
6747,
1841,
12,
46,
2471,
2151,
16,
1033,
460,
16,
1250,
357,
16,
1250,
8406,
16,
1250,
7839,
16,
509,
1027,
16,
1250,
711,
9233,
13,
202,
95,
202,
202,
9... |
Class c = Class.forName( className ); | Class c = Class.forName(className); | private static JspCompilerAdapter resolveClassName( String className ) throws BuildException { try { Class c = Class.forName( className ); Object o = c.newInstance(); return (JspCompilerAdapter) o; } catch ( ClassNotFoundException cnfe ) { throw new BuildException( className + " can\'t be found.", cnfe ); } catch ( ClassCastException cce ) { throw new BuildException(className + " isn\'t the classname of " + "a compiler adapter.", cce); } catch ( Throwable t ) { // for all other possibilities throw new BuildException(className + " caused an interesting " + "exception.", t); } } | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/JspCompilerAdapterFactory.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/JspCompilerAdapterFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
19300,
9213,
4216,
2245,
3834,
12,
514,
2658,
262,
3639,
1216,
18463,
288,
3639,
775,
288,
5411,
1659,
276,
273,
1659,
18,
1884,
461,
12,
12434,
1769,
5411,
1033,
320,
273,
276... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
19300,
9213,
4216,
2245,
3834,
12,
514,
2658,
262,
3639,
1216,
18463,
288,
3639,
775,
288,
5411,
1659,
276,
273,
1659,
18,
1884,
461,
12,
12434,
1769,
5411,
1033,
320,
273,
276... |
LOG.fine(" - redirect to " + url); | LOG.fine(" - protocol redirect to " + url); | public void run() { synchronized (Fetcher.this) {activeThreads++;} // count threads try { UTF8 key = new UTF8(); CrawlDatum datum = new CrawlDatum(); while (true) { if (LogFormatter.hasLoggedSevere()) // something bad happened break; // exit try { // get next entry from input if (!input.next(key, datum)) { break; // at eof, exit } } catch (IOException e) { e.printStackTrace(); LOG.severe("fetcher caught:"+e.toString()); break; } synchronized (Fetcher.this) { lastRequestStart = System.currentTimeMillis(); } String url = key.toString(); try { LOG.info("fetching " + url); // fetch the page boolean redirecting; int redirectCount = 0; do { redirecting = false; LOG.fine("redirectCount=" + redirectCount); Protocol protocol = this.protocolFactory.getProtocol(url); ProtocolOutput output = protocol.getProtocolOutput(key, datum); ProtocolStatus status = output.getStatus(); Content content = output.getContent(); switch(status.getCode()) { case ProtocolStatus.SUCCESS: // got a page output(key, datum, content, CrawlDatum.STATUS_FETCH_SUCCESS); updateStatus(content.getContent().length); break; case ProtocolStatus.MOVED: // redirect case ProtocolStatus.TEMP_MOVED: String newUrl = status.getMessage(); newUrl = this.urlFilters.filter(newUrl); if (newUrl != null && !newUrl.equals(url)) { url = newUrl; redirecting = true; redirectCount++; LOG.fine(" - redirect to " + url); } else { LOG.fine(" - redirect skipped: " + (url.equals(newUrl) ? "to same url" : "filtered")); } break; case ProtocolStatus.EXCEPTION: logError(url, status.getMessage()); case ProtocolStatus.RETRY: // retry datum.setRetriesSinceFetch(datum.getRetriesSinceFetch()+1); output(key, datum, null, CrawlDatum.STATUS_FETCH_RETRY); break; case ProtocolStatus.GONE: // gone case ProtocolStatus.NOTFOUND: case ProtocolStatus.ACCESS_DENIED: case ProtocolStatus.ROBOTS_DENIED: case ProtocolStatus.NOTMODIFIED: output(key, datum, null, CrawlDatum.STATUS_FETCH_GONE); break; default: LOG.warning("Unknown ProtocolStatus: " + status.getCode()); output(key, datum, null, CrawlDatum.STATUS_FETCH_GONE); } if (redirecting && redirectCount >= maxRedirect) { LOG.info(" - redirect count exceeded " + url); output(key, datum, null, CrawlDatum.STATUS_FETCH_GONE); } } while (redirecting && (redirectCount < maxRedirect)); } catch (Throwable t) { // unexpected exception logError(url, t.toString()); output(key, datum, null, CrawlDatum.STATUS_FETCH_GONE); } } } catch (Throwable e) { e.printStackTrace(); LOG.severe("fetcher caught:"+e.toString()); } finally { synchronized (Fetcher.this) {activeThreads--;} // count threads } } | 50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/2ea95cd34ae2ef1bc173fcf3f7142b5cd3ed7401/Fetcher.java/buggy/src/java/org/apache/nutch/fetcher/Fetcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
1377,
3852,
261,
16855,
18,
2211,
13,
288,
3535,
13233,
9904,
31,
97,
368,
1056,
7403,
5411,
775,
288,
3639,
6380,
28,
498,
273,
394,
6380,
28,
5621,
3639,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
1377,
3852,
261,
16855,
18,
2211,
13,
288,
3535,
13233,
9904,
31,
97,
368,
1056,
7403,
5411,
775,
288,
3639,
6380,
28,
498,
273,
394,
6380,
28,
5621,
3639,
3... |
suite.addTest(new TidyOutputBugsTest("test431731")); | public static Test suite() { TestSuite suite = new TestSuite("All the NOT working test cases for JTidy"); suite.addTest(new JTidyWarningBugsTest("test828316")); suite.addTest(new JTidyBugsTest("test475643")); suite.addTest(new JTidyBugsTest("test508245")); suite.addTest(new JTidyBugsTest("test527118")); suite.addTest(new JTidyBugsTest("test791933")); suite.addTest(new JTidyBugsTest("test763191")); suite.addTest(new JTidyBugsTest("test763186")); suite.addTest(new JTidyBugsTest("test917012")); suite.addTest(new JTidyBugsTest("test922302")); suite.addTest(new JTidyBugsTest("test943559")); suite.addTest(new JTidyBugsTest("test935796")); suite.addTest(new TidyEncodingBugsTest("test647255")); suite.addTest(new TidyEncodingBugsTest("test649812")); suite.addTest(new TidyEncodingBugsTest("test658230")); suite.addTest(new TidyEncodingBugsTest("test660397")); suite.addTest(new TidyEncodingBugsTest("test676156")); suite.addTest(new TidyEncodingBugsTest("test688746")); suite.addTest(new TidyOutputBugsTest("test427633")); suite.addTest(new TidyOutputBugsTest("test427820")); suite.addTest(new TidyOutputBugsTest("test427821")); suite.addTest(new TidyOutputBugsTest("test427822")); suite.addTest(new TidyOutputBugsTest("test427823")); suite.addTest(new TidyOutputBugsTest("test427826")); suite.addTest(new TidyOutputBugsTest("test427830")); suite.addTest(new TidyOutputBugsTest("test427833")); suite.addTest(new TidyOutputBugsTest("test427836")); suite.addTest(new TidyOutputBugsTest("test427838")); suite.addTest(new TidyOutputBugsTest("test427845")); suite.addTest(new TidyOutputBugsTest("test431731")); suite.addTest(new TidyOutputBugsTest("test431739")); suite.addTest(new TidyOutputBugsTest("test431898")); suite.addTest(new TidyOutputBugsTest("test431965")); suite.addTest(new TidyOutputBugsTest("test433012")); suite.addTest(new TidyOutputBugsTest("test433360")); suite.addTest(new TidyOutputBugsTest("test433666")); suite.addTest(new TidyOutputBugsTest("test435903")); suite.addTest(new TidyOutputBugsTest("test435909")); suite.addTest(new TidyOutputBugsTest("test435920")); suite.addTest(new TidyOutputBugsTest("test435923")); suite.addTest(new TidyOutputBugsTest("test437468")); suite.addTest(new TidyOutputBugsTest("test438954")); suite.addTest(new TidyOutputBugsTest("test441508")); suite.addTest(new TidyOutputBugsTest("test441740")); suite.addTest(new TidyOutputBugsTest("test443381")); suite.addTest(new TidyOutputBugsTest("test443576")); suite.addTest(new TidyOutputBugsTest("test443678")); suite.addTest(new TidyOutputBugsTest("test445074")); suite.addTest(new TidyOutputBugsTest("test445394")); suite.addTest(new TidyOutputBugsTest("test445557")); suite.addTest(new TidyOutputBugsTest("test449348")); suite.addTest(new TidyOutputBugsTest("test467863")); suite.addTest(new TidyOutputBugsTest("test467865")); suite.addTest(new TidyOutputBugsTest("test470663")); suite.addTest(new TidyOutputBugsTest("test473490")); suite.addTest(new TidyOutputBugsTest("test480701")); suite.addTest(new TidyOutputBugsTest("test480843")); suite.addTest(new TidyOutputBugsTest("test487283")); suite.addTest(new TidyOutputBugsTest("test500236")); suite.addTest(new TidyOutputBugsTest("test503436")); suite.addTest(new TidyOutputBugsTest("test504206")); suite.addTest(new TidyOutputBugsTest("test505770")); suite.addTest(new TidyOutputBugsTest("test508936")); suite.addTest(new TidyOutputBugsTest("test511243")); suite.addTest(new TidyOutputBugsTest("test511679")); suite.addTest(new TidyOutputBugsTest("test514348")); suite.addTest(new TidyOutputBugsTest("test514893")); suite.addTest(new TidyOutputBugsTest("test517550")); suite.addTest(new TidyOutputBugsTest("test533105")); suite.addTest(new TidyOutputBugsTest("test533233")); suite.addTest(new TidyOutputBugsTest("test537604")); suite.addTest(new TidyOutputBugsTest("test540045")); suite.addTest(new TidyOutputBugsTest("test540555")); suite.addTest(new TidyOutputBugsTest("test540571")); suite.addTest(new TidyOutputBugsTest("test552861")); suite.addTest(new TidyOutputBugsTest("test578216")); suite.addTest(new TidyOutputBugsTest("test586555")); suite.addTest(new TidyOutputBugsTest("test586562")); suite.addTest(new TidyOutputBugsTest("test593705")); suite.addTest(new TidyOutputBugsTest("test598860")); suite.addTest(new TidyOutputBugsTest("test620531")); suite.addTest(new TidyOutputBugsTest("test629885")); suite.addTest(new TidyOutputBugsTest("test640473")); suite.addTest(new TidyOutputBugsTest("test640474")); suite.addTest(new TidyOutputBugsTest("test646946")); suite.addTest(new TidyOutputBugsTest("test647900")); suite.addTest(new TidyOutputBugsTest("test655338")); suite.addTest(new TidyOutputBugsTest("test656889")); suite.addTest(new TidyOutputBugsTest("test663548")); suite.addTest(new TidyOutputBugsTest("test678268")); suite.addTest(new TidyOutputBugsTest("test680664")); suite.addTest(new TidyOutputBugsTest("test695408")); suite.addTest(new TidyOutputBugsTest("test708322")); suite.addTest(new TidyOutputBugsTest("test735603")); suite.addTest(new TidyWarningBugsTest("test433607")); suite.addTest(new TidyWarningBugsTest("test433670")); suite.addTest(new TidyWarningBugsTest("test434047")); suite.addTest(new TidyWarningBugsTest("test434100")); suite.addTest(new TidyWarningBugsTest("test435922")); suite.addTest(new TidyWarningBugsTest("test438956")); suite.addTest(new TidyWarningBugsTest("test446019")); suite.addTest(new TidyWarningBugsTest("test516370")); suite.addTest(new TidyWarningBugsTest("test431964")); suite.addTest(new TidyWarningBugsTest("test501669")); suite.addTest(new TidyWarningBugsTest("test525081")); suite.addTest(new TidyWordBugsTest("test431721")); suite.addTest(new TidyWordBugsTest("test444394")); suite.addTest(new TidyWordBugsTest("test463066")); suite.addTest(new TidyWordBugsTest("test634889")); // previously working suite.addTest(new TidyOutputBugsTest("test431736")); suite.addTest(new TidyOutputBugsTest("test531964")); return suite; } | 3308 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3308/6dda42a58bd12b4bc695c12502ad5efcd23f621a/AllNotWorkingTests.java/clean/src/test/org/w3c/tidy/AllNotWorkingTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
7766,
11371,
1435,
565,
288,
3639,
7766,
13587,
11371,
273,
394,
7766,
13587,
2932,
1595,
326,
4269,
5960,
1842,
6088,
364,
804,
56,
29609,
8863,
3639,
11371,
18,
1289,
4709,
12,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7766,
11371,
1435,
565,
288,
3639,
7766,
13587,
11371,
273,
394,
7766,
13587,
2932,
1595,
326,
4269,
5960,
1842,
6088,
364,
804,
56,
29609,
8863,
3639,
11371,
18,
1289,
4709,
12,... | |
*/ currentLoader = new ImageLoader(component, pixelsID, pDef); currentLoader.load(); | void fireImageRetrieval() { if (currentLoader != null) currentLoader.cancel(); PlaneDef pDef = new PlaneDef(PlaneDef.XY, getDefaultT()); pDef.setZ(getDefaultZ()); state = ImViewer.LOADING_IMAGE; OmeroImageService rs = ImViewerAgent.getRegistry().getImageService(); try { component.setImage(rs.renderImage(pixelsID, pDef)); } catch (Exception e) { // TODO: handle exception } //currentLoader = new ImageLoader(component, pixelsID, pDef); //currentLoader.load(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/0f6ffcdbfbd9b495562c34a5dd9a6afd70961ffc/ImViewerModel.java/buggy/SRC/org/openmicroscopy/shoola/agents/imviewer/view/ImViewerModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1195,
783,
2886,
273,
394,
3421,
2886,
12,
4652,
16,
8948,
734,
16,
293,
3262,
1769,
783,
2886,
18,
945,
5621,
1195,
783,
2886,
273,
394,
3421,
2886,
12,
4652,
16,
8948,
734,
16,
293,
3262,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1195,
783,
2886,
273,
394,
3421,
2886,
12,
4652,
16,
8948,
734,
16,
293,
3262,
1769,
783,
2886,
18,
945,
5621,
1195,
783,
2886,
273,
394,
3421,
2886,
12,
4652,
16,
8948,
734,
16,
293,
3262,
... | |
throw new PSQLException("postgresql.prep.range"); | throw new PSQLException("postgresql.prep.range", PSQLState.PARAMETER_ERROR); | private void bind(int paramIndex, Object s, String type) throws SQLException { if (paramIndex < 1 || paramIndex > m_binds.length) throw new PSQLException("postgresql.prep.range"); if (paramIndex == 1 && isFunction) // need to registerOut instead throw new PSQLException ("postgresql.call.funcover"); m_binds[paramIndex - 1] = s; m_bindTypes[paramIndex - 1] = type; } | 47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/0378a269f3ab3c44e67b14f96414b6ca95263263/AbstractJdbc1Statement.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1993,
12,
474,
579,
1016,
16,
1033,
272,
16,
514,
618,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
891,
1016,
411,
404,
747,
579,
1016,
405,
312,
67,
4376,
87,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1993,
12,
474,
579,
1016,
16,
1033,
272,
16,
514,
618,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
891,
1016,
411,
404,
747,
579,
1016,
405,
312,
67,
4376,
87,
18,
... |
protected JComponent createContentPane() | protected Container createContentPane() | protected JComponent createContentPane() { JPanel p = new JPanel(); p.setName(this.getName() + ".contentPane"); p.setLayout(new BorderLayout()); return p; } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/8a8df92470d323aa4709789d349bfa6cbb1faada/JRootPane.java/clean/libraries/javalib/javax/swing/JRootPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
4039,
752,
1350,
8485,
1435,
225,
288,
565,
24048,
293,
273,
394,
24048,
5621,
565,
293,
18,
542,
461,
12,
2211,
18,
17994,
1435,
397,
3552,
1745,
8485,
8863,
565,
293,
18,
542,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
4039,
752,
1350,
8485,
1435,
225,
288,
565,
24048,
293,
273,
394,
24048,
5621,
565,
293,
18,
542,
461,
12,
2211,
18,
17994,
1435,
397,
3552,
1745,
8485,
8863,
565,
293,
18,
542,
3... |
private IJobProgressManagerListener getProgressListener() { return new IJobProgressManagerListener() { HashSet jobs = new HashSet(); /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#addJob(org.eclipse.ui.internal.progress.JobInfo) */ public void addJob(JobInfo info) { incrementJobCount(info); } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#refreshJobInfo(org.eclipse.ui.internal.progress.JobInfo) */ public void refreshJobInfo(JobInfo info) { int state = info.getJob().getState(); if (state == Job.RUNNING) addJob(info); else removeJob(info); } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#refreshAll() */ public void refreshAll() { ProgressManager manager = ProgressManager.getInstance(); jobs.clear(); setAnimated(false); JobInfo[] currentInfos = manager.getJobInfos(showsDebug()); for (int i = 0; i < currentInfos.length; i++) { addJob(currentInfos[i]); } } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#remove(org.eclipse.ui.internal.progress.JobInfo) */ public void removeJob(JobInfo info) { if (jobs.contains(info.getJob())) { decrementJobCount(info.getJob()); } } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#showsDebug() */ public boolean showsDebug() { return false; } private void incrementJobCount(JobInfo info) { //Don't count the animate job itself if (isNotTracked(info)) return; if (jobs.isEmpty()) setAnimated(true); jobs.add(info.getJob()); } private void decrementJobCount(Job job) { jobs.remove(job); if (jobs.isEmpty()) setAnimated(false); } /** * If this is one of our jobs or not running then don't bother. */ private boolean isNotTracked(JobInfo info) { //We always track errors Job job = info.getJob(); return job.getState() != Job.RUNNING || job == clearJob || job == animateJob; } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#addGroup(org.eclipse.ui.internal.progress.GroupInfo) */ public void addGroup(GroupInfo info) { //Don't care about groups } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#removeGroup(org.eclipse.ui.internal.progress.GroupInfo) */ public void removeGroup(GroupInfo group) { //Don't care about groups } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#refreshGroup(org.eclipse.ui.internal.progress.GroupInfo) */ public void refreshGroup(GroupInfo info) { //Don't care about groups } }; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/a23a2f7d8af51ae4aaa0ae21daaa81f092725969/AnimationManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
45,
2278,
5491,
1318,
2223,
588,
5491,
2223,
1435,
95,
202,
202,
2463,
2704,
45,
2278,
5491,
1318,
2223,
1435,
95,
1082,
202,
13482,
10088,
33,
2704,
13482,
5621,
1082,
202,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
45,
2278,
5491,
1318,
2223,
588,
5491,
2223,
1435,
95,
202,
202,
2463,
2704,
45,
2278,
5491,
1318,
2223,
1435,
95,
1082,
202,
13482,
10088,
33,
2704,
13482,
5621,
1082,
202,
20... | ||
if (index < input.length) { if (ren.bitmap == null) { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); ren.buildBitmap(state, source, ((state.flags & FOLD) != 0)); } char c = input[index]; int b = (c >>> 3); if (b >= ren.bmsize) { if (ren.kid2 == -1) index++; else return -1; } else { int bit = c & 7; bit = 1 << bit; if ((ren.bitmap[b] & bit) != 0) index++; else return -1; } } else return -1; | if (index >= input.length) { return state.noMoreInput(); } if (ren.bitmap == null) { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); ren.buildBitmap(state, source, ((state.flags & FOLD) != 0)); } char c = input[index]; int b = (c >>> 3); if (b >= ren.bmsize) { if (ren.kid2 == -1) index++; else return -1; } else { int bit = c & 7; bit = 1 << bit; if ((ren.bitmap[b] & bit) != 0) index++; else return -1; } | int matchRENodes(MatchState state, RENode ren, RENode stop, int index) { int num; char[] input = state.input; while ((ren != stop) && (ren != null)) { switch (ren.op) { case REOP_EMPTY: break; case REOP_ALT: { if (ren.next.op != REOP_ALT) { ren = (RENode)ren.kid; continue; } else { num = state.parenCount; int kidMatch = matchRENodes(state, (RENode)ren.kid, stop, index); if (kidMatch != -1) return kidMatch; for (int i = num; i < state.parenCount; i++) state.parens[i].length = 0; state.parenCount = num; } } break; case REOP_QUANT: { int lastKid = -1; for (num = 0; num < ren.min; num++) { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; else { lastKid = index; index = kidMatch; } } if (num == ren.max) // Have matched the exact count required, // need to match the rest of the regexp. break; if ((ren.flags & RENode.MINIMAL) == 0) { int kidMatch = matchGreedyKid(state, ren, stop, num, index, lastKid); if (kidMatch != -1) index = kidMatch; } else { index = matchNonGreedyKid(state, ren, num, ren.max, index); if (index == -1) return -1; } } break; case REOP_PLUS: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; if ((ren.flags & RENode.MINIMAL) == 0) { index = matchGreedyKid(state, ren, stop, 1, kidMatch, index); if (index == -1) index = kidMatch; } else index = matchNonGreedyKid(state, ren, 1, 0, kidMatch); if (index == -1) return -1; } break; case REOP_STAR: if ((ren.flags & RENode.MINIMAL) == 0) { int kidMatch = matchGreedyKid(state, ren, stop, 0, index, -1); if (kidMatch != -1) index = kidMatch; } else { index = matchNonGreedyKid(state, ren, 0, 0, index); if (index == -1) return -1; } break; case REOP_OPT: { int saveNum = state.parenCount; if (((ren.flags & RENode.MINIMAL) != 0)) { int restMatch = matchRENodes(state, ren.next, stop, index); if (restMatch != -1) return restMatch; } int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) { state.parenCount = saveNum; break; } else { int restMatch = matchRENodes(state, ren.next, stop, kidMatch); if (restMatch == -1) { // need to undo the result of running the kid state.parenCount = saveNum; break; } else return restMatch; } } case REOP_LPARENNON: ren = (RENode)ren.kid; continue; case REOP_RPARENNON: break; case REOP_LPAREN: { num = ren.num; ren = (RENode)ren.kid; SubString parsub = state.parens[num]; if (parsub == null) { parsub = state.parens[num] = new SubString(); parsub.charArray = input; } parsub.index = index; parsub.length = 0; if (num >= state.parenCount) state.parenCount = num + 1; continue; } case REOP_RPAREN: { num = ren.num; SubString parsub = state.parens[num]; if (parsub == null) throw new RuntimeException("Paren problem"); parsub.length = index - parsub.index; break; } case REOP_ASSERT: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; break; } case REOP_ASSERT_NOT: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch != -1) return -1; break; } case REOP_BACKREF: { num = ren.num; if (num >= state.parens.length) { Context.reportError( ScriptRuntime.getMessage( "msg.bad.backref", null)); return -1; } SubString parsub = state.parens[num]; if (parsub == null) parsub = state.parens[num] = new SubString(); int length = parsub.length; if ((input.length - index) < length) return -1; else { for (int i = 0; i < length; i++, index++) { if (!matchChar(state.flags, input[index], parsub.charArray[parsub.index + i])) return -1; } } } break; case REOP_CCLASS: if (index < input.length) { if (ren.bitmap == null) { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); ren.buildBitmap(state, source, ((state.flags & FOLD) != 0)); } char c = input[index]; int b = (c >>> 3); if (b >= ren.bmsize) { if (ren.kid2 == -1) // a ^ class index++; else return -1; } else { int bit = c & 7; bit = 1 << bit; if ((ren.bitmap[b] & bit) != 0) index++; else return -1; } } else return -1; break; case REOP_DOT: if ((index < input.length) && (input[index] != '\n')) index++; else return -1; break; case REOP_DOTSTARMIN: { int cp2; for (cp2 = index; cp2 < input.length; cp2++) { int cp3 = matchRENodes(state, ren.next, stop, cp2); if (cp3 != -1) return cp3; if (input[cp2] == '\n') return -1; } return -1; } case REOP_DOTSTAR: { int cp2; for (cp2 = index; cp2 < input.length; cp2++) if (input[cp2] == '\n') break; while (cp2 >= index) { int cp3 = matchRENodes(state, ren.next, stop, cp2); if (cp3 != -1) { index = cp2; break; } cp2--; } break; } case REOP_WBDRY: if (((index == 0) || !isWord(input[index-1])) ^ ((index >= input.length) || !isWord(input[index]))) ; // leave index else return -1; break; case REOP_WNONBDRY: if (((index == 0) || !isWord(input[index-1])) ^ ((index < input.length) && isWord(input[index]))) ; // leave index else return -1; break; case REOP_EOLONLY: case REOP_EOL: { if (index == input.length) ; // leave index; else { Context cx = Context.getCurrentContext(); RegExpImpl reImpl = getImpl(cx); if ((reImpl.multiline) || ((state.flags & MULTILINE) != 0)) if (input[index] == '\n') ;// leave index else return -1; else return -1; } } break; case REOP_BOL: { Context cx = Context.getCurrentContext(); RegExpImpl reImpl = getImpl(cx); if (index != 0) { if ((index < input.length) && (reImpl.multiline || ((state.flags & MULTILINE) != 0))) { if (input[index - 1] == '\n') { break; } } return -1; } // leave index } break; case REOP_DIGIT: if ((index < input.length) && isDigit(input[index])) index++; else return -1; break; case REOP_NONDIGIT: if ((index < input.length) && !isDigit(input[index])) index++; else return -1; break; case REOP_ALNUM: if ((index < input.length) && isWord(input[index])) index++; else return -1; break; case REOP_NONALNUM: if ((index < input.length) && !isWord(input[index])) index++; else return -1; break; case REOP_SPACE: if ((index < input.length) && (TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index]))) index++; else return -1; break; case REOP_NONSPACE: if ((index < input.length) && !(TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index]))) index++; else return -1; break; case REOP_FLAT1: if ((index < input.length) && matchChar(state.flags, ren.chr, input[index])) index++; else return -1; break; case REOP_FLAT: { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); int start = ((Integer)ren.kid).intValue(); int length = ren.kid2 - start; if ((input.length - index) < length) return -1; else { for (int i = 0; i < length; i++, index++) { if (!matchChar(state.flags, input[index], source[start + i])) return -1; } } } break; case REOP_JUMP: break; case REOP_END: break; default : throw new RuntimeException("Unsupported by node matcher"); } ren = ren.next; } return index; } | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/9d8af8e17d97d2f8879112efae076088793bcb6f/NativeRegExp.java/buggy/src/org/mozilla/javascript/regexp/NativeRegExp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
845,
862,
3205,
12,
2060,
1119,
919,
16,
2438,
907,
1654,
16,
2438,
907,
2132,
16,
509,
770,
13,
288,
3639,
509,
818,
31,
3639,
1149,
8526,
810,
273,
919,
18,
2630,
31,
3639,
132... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
845,
862,
3205,
12,
2060,
1119,
919,
16,
2438,
907,
1654,
16,
2438,
907,
2132,
16,
509,
770,
13,
288,
3639,
509,
818,
31,
3639,
1149,
8526,
810,
273,
919,
18,
2630,
31,
3639,
132... |
Element e = response.addElement(MailService.A_EXCEPT); | Element e = response.addElement(MailService.E_APPT_EXCEPT); | public Element handle(Element request, Map<String, Object> context) throws ServiceException { ZimbraSoapContext lc = getZimbraSoapContext(context); Account acct = getRequestedAccount(lc); Mailbox mbox = getRequestedMailbox(lc); OperationContext octxt = lc.getOperationContext(); ItemId iidFolder = new ItemId(request.getAttribute(MailService.A_FOLDER, CreateAppointment.DEFAULT_FOLDER), lc); sLog.info("<SetAppointment> " + lc.toString()); SetAppointmentData defaultData; ArrayList<SetAppointmentData> exceptions = new ArrayList<SetAppointmentData>(); synchronized (mbox) { // First, the <default> { Element e = request.getElement(MailService.A_DEFAULT); defaultData = getSetAppointmentData(lc, acct, mbox, e, new SetAppointmentInviteParser(false)); } // for each <exception> for (Iterator iter = request.elementIterator(MailService.A_EXCEPT); iter.hasNext(); ) { Element e = (Element) iter.next(); SetAppointmentData exDat = getSetAppointmentData(lc, acct, mbox, e, new SetAppointmentInviteParser(true)); exceptions.add(exDat); } SetAppointmentData[] exceptArray = null; if (exceptions.size() > 0) { exceptArray = new SetAppointmentData[exceptions.size()]; exceptions.toArray(exceptArray); } int apptId = mbox.setAppointment(octxt, iidFolder.getId(), defaultData, exceptArray); Element response = lc.createElement(MailService.SET_APPOINTMENT_RESPONSE); response.addElement(MailService.A_DEFAULT) .addAttribute(MailService.A_ID, lc.formatItemId(defaultData.mInv.getMailItemId())); for (Iterator iter = exceptions.iterator(); iter.hasNext();) { SetAppointmentData cur = (SetAppointmentData) iter.next(); Element e = response.addElement(MailService.A_EXCEPT); e.addAttribute(MailService.A_APPT_RECURRENCE_ID, cur.mInv.getRecurId().toString()); e.addAttribute(MailService.A_ID, lc.formatItemId(cur.mInv.getMailItemId())); } response.addAttribute(MailService.A_APPT_ID, lc.formatItemId(apptId)); return response; } // synchronized(mbox) } | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/d7b7427dab858b3e790393f5682506eb49788481/SetAppointment.java/buggy/ZimbraServer/src/java/com/zimbra/cs/service/mail/SetAppointment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
288,
3639,
2285,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
288,
3639,
2285,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769... |
GraphicalEditPart part = (GraphicalEditPart) getCastedModel().getRootEditPart().getContents(); | GraphicalEditPart part = (GraphicalEditPart) getCastedModel().getRootEditPart(); | public void activate() { GraphicalEditPart part = (GraphicalEditPart) getCastedModel().getRootEditPart().getContents(); IFigure parentPane = part.getFigure(); parentPane.addFigureListener(this); super.activate(); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/8d71211e7e27fe018fc102b0adb8ade2629f488b/OverviewEditPart.java/buggy/sandbox/org.eclipse.mylyn.zest.core/src/org/eclipse/mylyn/zest/core/internal/graphviewer/overview/parts/OverviewEditPart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10235,
1435,
288,
202,
202,
4137,
1706,
4666,
1988,
1087,
273,
261,
4137,
1706,
4666,
1988,
13,
1927,
689,
329,
1488,
7675,
588,
2375,
4666,
1988,
7675,
588,
6323,
5621,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10235,
1435,
288,
202,
202,
4137,
1706,
4666,
1988,
1087,
273,
261,
4137,
1706,
4666,
1988,
13,
1927,
689,
329,
1488,
7675,
588,
2375,
4666,
1988,
7675,
588,
6323,
5621,
20... |
} else if(isDisabled) { peerNodeStatus = Node.PEER_NODE_STATUS_DISABLED; } else if(isConnected && verifiedIncompatibleNewerVersion) { peerNodeStatus = Node.PEER_NODE_STATUS_TOO_NEW; } else if(isConnected && verifiedIncompatibleOlderVersion) { peerNodeStatus = Node.PEER_NODE_STATUS_TOO_OLD; } else if(neverConnected) { peerNodeStatus = Node.PEER_NODE_STATUS_NEVER_CONNECTED; } else if(isListenOnly) { peerNodeStatus = Node.PEER_NODE_STATUS_LISTENING; } else { peerNodeStatus = Node.PEER_NODE_STATUS_DISCONNECTED; } if(!isConnected && (previousRoutingBackoffReason != null)) { node.removePeerNodeRoutingBackoffReason(previousRoutingBackoffReason, this); previousRoutingBackoffReason = null; } if(peerNodeStatus != oldPeerNodeStatus) { node.removePeerNodeStatus( oldPeerNodeStatus, this ); node.addPeerNodeStatus( peerNodeStatus, this ); | if(!isConnected && (previousRoutingBackoffReason != null)) { node.removePeerNodeRoutingBackoffReason(previousRoutingBackoffReason, this); previousRoutingBackoffReason = null; } if(peerNodeStatus != oldPeerNodeStatus) { node.removePeerNodeStatus( oldPeerNodeStatus, this ); node.addPeerNodeStatus( peerNodeStatus, this ); } | public synchronized void setPeerNodeStatus(long now) { int oldPeerNodeStatus = peerNodeStatus; if(isRoutable()) { peerNodeStatus = Node.PEER_NODE_STATUS_CONNECTED; if(now < getRoutingBackedOffUntil()) { peerNodeStatus = Node.PEER_NODE_STATUS_ROUTING_BACKED_OFF; if(!lastRoutingBackoffReason.equals(previousRoutingBackoffReason) || (previousRoutingBackoffReason == null)) { if(previousRoutingBackoffReason != null) { node.removePeerNodeRoutingBackoffReason(previousRoutingBackoffReason, this); } node.addPeerNodeRoutingBackoffReason(lastRoutingBackoffReason, this); previousRoutingBackoffReason = lastRoutingBackoffReason; } } else { if(previousRoutingBackoffReason != null) { node.removePeerNodeRoutingBackoffReason(previousRoutingBackoffReason, this); previousRoutingBackoffReason = null; } } } else if(isDisabled) { peerNodeStatus = Node.PEER_NODE_STATUS_DISABLED; } else if(isConnected && verifiedIncompatibleNewerVersion) { peerNodeStatus = Node.PEER_NODE_STATUS_TOO_NEW; } else if(isConnected && verifiedIncompatibleOlderVersion) { peerNodeStatus = Node.PEER_NODE_STATUS_TOO_OLD; } else if(neverConnected) { peerNodeStatus = Node.PEER_NODE_STATUS_NEVER_CONNECTED; } else if(isListenOnly) { peerNodeStatus = Node.PEER_NODE_STATUS_LISTENING; } else { peerNodeStatus = Node.PEER_NODE_STATUS_DISCONNECTED; } if(!isConnected && (previousRoutingBackoffReason != null)) { node.removePeerNodeRoutingBackoffReason(previousRoutingBackoffReason, this); previousRoutingBackoffReason = null; } if(peerNodeStatus != oldPeerNodeStatus) { node.removePeerNodeStatus( oldPeerNodeStatus, this ); node.addPeerNodeStatus( peerNodeStatus, this ); } } | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/568966752f74dcebea53ccaae0b15123b6657918/PeerNode.java/buggy/src/freenet/node/PeerNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
444,
6813,
907,
1482,
12,
5748,
2037,
13,
288,
202,
202,
474,
1592,
6813,
907,
1482,
273,
4261,
907,
1482,
31,
202,
202,
430,
12,
291,
4583,
429,
10756,
288,
1082,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
444,
6813,
907,
1482,
12,
5748,
2037,
13,
288,
202,
202,
474,
1592,
6813,
907,
1482,
273,
4261,
907,
1482,
31,
202,
202,
430,
12,
291,
4583,
429,
10756,
288,
1082,
... |
byte[] name = getBytes(ze.getName()); writeOut((new ZipShort(name.length)).getBytes()); | byte[] name = getBytes( ze.getName() ); writeOut( ( new ZipShort( name.length ) ).getBytes() ); | protected void writeLocalFileHeader(ZipEntry ze) throws IOException { offsets.put(ze, new ZipLong(written)); writeOut(LFH_SIG.getBytes()); written += 4; // version needed to extract // general purpose bit flag if (ze.getMethod() == DEFLATED && raf == null) { // requires version 2 as we are going to store length info // in the data descriptor writeOut((new ZipShort(20)).getBytes()); // bit3 set to signal, we use a data descriptor writeOut((new ZipShort(8)).getBytes()); } else { writeOut((new ZipShort(10)).getBytes()); writeOut(ZERO); } written += 4; // compression method writeOut((new ZipShort(ze.getMethod())).getBytes()); written += 2; // last mod. time and date writeOut(toDosTime(new Date(ze.getTime())).getBytes()); written += 4; // CRC // compressed length // uncompressed length localDataStart = written; if (ze.getMethod() == DEFLATED || raf != null) { writeOut(LZERO); writeOut(LZERO); writeOut(LZERO); } else { writeOut((new ZipLong(ze.getCrc())).getBytes()); writeOut((new ZipLong(ze.getSize())).getBytes()); writeOut((new ZipLong(ze.getSize())).getBytes()); } written += 12; // file name length byte[] name = getBytes(ze.getName()); writeOut((new ZipShort(name.length)).getBytes()); written += 2; // extra field length byte[] extra = ze.getLocalFileDataExtra(); writeOut((new ZipShort(extra.length)).getBytes()); written += 2; // file name writeOut(name); written += name.length; // extra field writeOut(extra); written += extra.length; dataStart = written; } | 10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/ZipOutputStream.java/clean/src/main/java/org/codehaus/plexus/archiver/zip/ZipOutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
2042,
812,
1864,
12,
9141,
1622,
26637,
13,
1216,
1860,
288,
3639,
8738,
18,
458,
12,
8489,
16,
394,
8603,
3708,
12,
9748,
10019,
3639,
1045,
1182,
12,
9105,
44,
67,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1045,
2042,
812,
1864,
12,
9141,
1622,
26637,
13,
1216,
1860,
288,
3639,
8738,
18,
458,
12,
8489,
16,
394,
8603,
3708,
12,
9748,
10019,
3639,
1045,
1182,
12,
9105,
44,
67,
18... |
orders.add(order); | addToOrders(order); | public Order placeOrder() { // following instantiates an Order // yes, it's horrible, but will be replaced by a simple pointcut on {@InDomain).new ISession session = SessionManager.instance().get(SessionManager.instance().getCurrentSessionId()); IDomainObject<Order> orderDo = session.create(RuntimeDomain.lookupAny(Order.class)); Order order = orderDo.getPojo(); orders.add(order); return order; } | 13434 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13434/f1ded3cc7da2f3496d4f3b37981d5964841e4efe/Customer.java/buggy/trunk/examples/workspace/demo/src/demo/Customer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4347,
3166,
2448,
1435,
288,
202,
202,
759,
3751,
5934,
16020,
392,
4347,
202,
202,
759,
12465,
16,
518,
1807,
29404,
86,
1523,
16,
1496,
903,
506,
8089,
635,
279,
4143,
29774,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4347,
3166,
2448,
1435,
288,
202,
202,
759,
3751,
5934,
16020,
392,
4347,
202,
202,
759,
12465,
16,
518,
1807,
29404,
86,
1523,
16,
1496,
903,
506,
8089,
635,
279,
4143,
29774,
... |
try { if (this.isConstructor() != method.isConstructor()) { return false; } } catch(JavaModelException e) { } return | return | public boolean isSimilar(IMethod method) { try { if (this.isConstructor() != method.isConstructor()) { return false; } } catch(JavaModelException e) { } return this.areSimilarMethods( this.getElementName(), this.getParameterTypes(), method.getElementName(), method.getParameterTypes(), null);} | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/55dd1752724e94f80b5a3c87b786db3965b6bbc2/SourceMethod.java/clean/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1250,
353,
16891,
12,
45,
1305,
707,
13,
288,
202,
698,
288,
202,
202,
430,
261,
2211,
18,
291,
6293,
1435,
480,
707,
18,
291,
6293,
10756,
288,
1082,
202,
2463,
629,
31,
202,
202,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1250,
353,
16891,
12,
45,
1305,
707,
13,
288,
202,
698,
288,
202,
202,
430,
261,
2211,
18,
291,
6293,
1435,
480,
707,
18,
291,
6293,
10756,
288,
1082,
202,
2463,
629,
31,
202,
202,
9... |
tag.setAttribute(attributeName, ""); | tag.setAttribute(attributeName, ""); | private static void parseAttributes(HtmlTag tag, String s, int i) throws ParseException { while (i < s.length()) { // skip whitespace while (i < s.length() && Character.isWhitespace(s.charAt(i))) i++; if (i == s.length()) return; // read the attribute name -- the rule might be looser than the RFC // specifies: // everything up to a space or an equal sign is included int start = i; for (; i < s.length() && !Character.isWhitespace(s.charAt(i)) && s.charAt(i) != '='; i++) { // just move forward } String attributeName = s.substring(start, i).toLowerCase(); if(attributeName.equals("/")) { tag.setSelfTerminating(true); continue; } for (; i < s.length() && Character.isWhitespace(s.charAt(i)); i++) { // just move forward } if (i == s.length() || s.charAt(i) != '=') { // no attribute value tag.setAttribute(attributeName, ""); continue; } // skip whitespace to the start of attribute value for (i = i + 1; i < s.length() && Character.isWhitespace(s.charAt(i)); i++) { // just move forward } if (i == s.length()) return; // read the attribute value -- the rule for unquoted attribute value // is // looser than the one in Conolly's W3C 1996 lexical analyzer draft: // everything // is included up to the next space String attributeValue; if (s.charAt(i) == '"') { start = ++i; for (; i < s.length() && s.charAt(i) != '"'; i++) { // just move forward } if (i == s.length()) return; // shouldn't happen if input returned by nextToken attributeValue = unescape(s.substring(start, i)); i++; } else if (s.charAt(i) == '\'') { start = ++i; for (; i < s.length() && s.charAt(i) != '\''; i++) { // just move forward } if (i == s.length()) return; // shouldn't happen if input returned by nextToken attributeValue = unescape(s.substring(start, i)); i++; } else { start = i; for (; i < s.length() && !Character.isWhitespace(s.charAt(i)); i++) { // just move forward } attributeValue = s.substring(start, i); } tag.setAttribute(attributeName, attributeValue); } } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/854aac6509aa2ec74de8c71cf8795ea91792f9d7/HtmlStreamTokenizer.java/buggy/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/HtmlStreamTokenizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1109,
2498,
12,
4353,
1805,
1047,
16,
514,
272,
16,
509,
277,
13,
1216,
10616,
288,
202,
202,
17523,
261,
77,
411,
272,
18,
2469,
10756,
288,
1082,
202,
759,
2488,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
1109,
2498,
12,
4353,
1805,
1047,
16,
514,
272,
16,
509,
277,
13,
1216,
10616,
288,
202,
202,
17523,
261,
77,
411,
272,
18,
2469,
10756,
288,
1082,
202,
759,
2488,
... |
"SmartFrogDeploymentException", | EXCEPTION_DEPLOYMENT, | public void testCaseTCN25() throws Exception { deployExpectingException(FILES + "tcn25.sf", "tcn25", "SmartFrogDeploymentException", "failed to deploy 'data' component", "SmartFrogResolutionException", "Reference not found"); } | 4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/0d008eff459cca0a5fa7cd82a184cc3202c5b045/CompilerSystemTest.java/clean/core/testharness/testcases/org/smartfrog/test/system/compiler/CompilerSystemTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2449,
56,
12821,
2947,
1435,
1216,
1185,
288,
3639,
7286,
11988,
21546,
12,
12669,
397,
315,
5111,
82,
2947,
18,
21668,
3113,
7734,
315,
5111,
82,
2947,
3113,
7734,
23136,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2449,
56,
12821,
2947,
1435,
1216,
1185,
288,
3639,
7286,
11988,
21546,
12,
12669,
397,
315,
5111,
82,
2947,
18,
21668,
3113,
7734,
315,
5111,
82,
2947,
3113,
7734,
23136,
... |
return null; | return currentChart; | private Chart getConvertedChart( Chart currentChart, String sNewSubType, Orientation newOrientation, String sNewDimension ) { Chart helperModel = (Chart) EcoreUtil.copy( currentChart ); if ( ( currentChart instanceof ChartWithAxes ) ) // Chart is // ChartWithAxes { if ( currentChart.getType( ).equals( TYPE_LITERAL ) ) { if ( !currentChart.getSubType( ).equals( sNewSubType ) ) { currentChart.setSubType( sNewSubType ); EList axes = ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getAssociatedAxes( ); for ( int i = 0; i < axes.size( ); i++ ) { ( (Axis) axes.get( i ) ).setPercent( false ); EList seriesdefinitions = ( (Axis) axes.get( i ) ).getSeriesDefinitions( ); for ( int j = 0; j < seriesdefinitions.size( ); j++ ) { Series series = ( (SeriesDefinition) seriesdefinitions.get( j ) ).getDesignTimeSeries( ); series.setStacked( false ); } } } ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ).get( 0 ) ).setCategoryAxis( false ); if ( currentChart instanceof ChartWithAxes && !( (ChartWithAxes) currentChart ).getOrientation( ) .equals( newOrientation ) ) { ( (ChartWithAxes) currentChart ).setOrientation( newOrientation ); } return currentChart; } else if ( currentChart.getType( ).equals( LineChart.TYPE_LITERAL ) || currentChart.getType( ).equals( AreaChart.TYPE_LITERAL ) || currentChart.getType( ).equals( BarChart.TYPE_LITERAL ) || currentChart.getType( ) .equals( ScatterChart.TYPE_LITERAL ) || currentChart.getType( ) .equals( BubbleChart.TYPE_LITERAL ) || currentChart.getType( ) .equals( DifferenceChart.TYPE_LITERAL ) ) { if ( !currentChart.getType( ).equals( TYPE_LITERAL ) ) { currentChart.setSampleData( getConvertedSampleData( currentChart.getSampleData( ) ) ); } currentChart.setType( TYPE_LITERAL ); ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ).get( 0 ) ).setOrientation( Orientation.HORIZONTAL_LITERAL ); ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ).get( 0 ) ).setType( AxisType.LINEAR_LITERAL ); ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ).get( 0 ) ).setCategoryAxis( false ); ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ).get( 0 ) ).getScale( ) .setStep( 10.0 ); ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ).get( 0 ) ).getMajorGrid( ) .getLineAttributes( ) .setVisible( true ); currentChart.setSubType( sNewSubType ); currentChart.getTitle( ) .getLabel( ) .getCaption( ) .setValue( CHART_TITLE ); EList axes = ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getAssociatedAxes( ); for ( int i = 0; i < axes.size( ); i++ ) { ( (Axis) axes.get( i ) ).setOrientation( Orientation.VERTICAL_LITERAL ); ( (Axis) axes.get( i ) ).setType( AxisType.DATE_TIME_LITERAL ); ( (Axis) axes.get( i ) ).setPercent( false ); EList seriesdefinitions = ( (Axis) axes.get( i ) ).getSeriesDefinitions( ); for ( int j = 0; j < seriesdefinitions.size( ); j++ ) { Series series = ( (SeriesDefinition) seriesdefinitions.get( j ) ).getDesignTimeSeries( ); series = getConvertedSeries( series ); series.setStacked( false ); ( (SeriesDefinition) seriesdefinitions.get( j ) ).getSeries( ) .clear( ); ( (SeriesDefinition) seriesdefinitions.get( j ) ).getSeries( ) .add( series ); } } } else { return null; } } else { // Create a new instance of the correct type and set initial // properties currentChart = ChartWithAxesImpl.create( ); currentChart.setType( TYPE_LITERAL ); currentChart.setSubType( sNewSubType ); ( (ChartWithAxes) currentChart ).setOrientation( newOrientation ); currentChart.setDimension( getDimensionFor( sNewDimension ) ); ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ).get( 0 ) ).setOrientation( Orientation.HORIZONTAL_LITERAL ); ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ).get( 0 ) ).setType( AxisType.DATE_TIME_LITERAL ); ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ).get( 0 ) ).setCategoryAxis( true ); ( (Axis) ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getAssociatedAxes( ).get( 0 ) ).setOrientation( Orientation.VERTICAL_LITERAL ); ( (Axis) ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getAssociatedAxes( ).get( 0 ) ).setType( AxisType.LINEAR_LITERAL ); // Copy generic chart properties from the old chart currentChart.setBlock( helperModel.getBlock( ) ); currentChart.setDescription( helperModel.getDescription( ) ); currentChart.setGridColumnCount( helperModel.getGridColumnCount( ) ); currentChart.setSampleData( getConvertedSampleData( helperModel.getSampleData( ) ) ); currentChart.setScript( helperModel.getScript( ) ); currentChart.setSeriesThickness( helperModel.getSeriesThickness( ) ); currentChart.setUnits( helperModel.getUnits( ) ); if ( helperModel.getType( ).equals( PieChart.TYPE_LITERAL ) ) { // Clear existing series definitions ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ).get( 0 ) ).getSeriesDefinitions( ) .clear( ); // Copy base series definitions ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ).get( 0 ) ).getSeriesDefinitions( ) .add( ( (ChartWithoutAxes) helperModel ).getSeriesDefinitions( ) .get( 0 ) ); // Clear existing series definitions ( (Axis) ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getAssociatedAxes( ).get( 0 ) ).getSeriesDefinitions( ) .clear( ); // Copy orthogonal series definitions ( (Axis) ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getAssociatedAxes( ).get( 0 ) ).getSeriesDefinitions( ) .addAll( ( (SeriesDefinition) ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getSeriesDefinitions( ).get( 0 ) ).getSeriesDefinitions( ) ); // Update the base series Series series = ( (SeriesDefinition) ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getSeriesDefinitions( ).get( 0 ) ).getDesignTimeSeries( ); series = getConvertedSeries( series ); // Clear existing series ( (SeriesDefinition) ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getSeriesDefinitions( ).get( 0 ) ).getSeries( ) .clear( ); // Add converted series ( (SeriesDefinition) ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getSeriesDefinitions( ).get( 0 ) ).getSeries( ) .add( series ); // Update the orthogonal series EList seriesdefinitions = ( (Axis) ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getAssociatedAxes( ).get( 0 ) ).getSeriesDefinitions( ); for ( int j = 0; j < seriesdefinitions.size( ); j++ ) { series = ( (SeriesDefinition) seriesdefinitions.get( j ) ).getDesignTimeSeries( ); series = getConvertedSeries( series ); series.setStacked( false ); // Clear any existing series ( (SeriesDefinition) seriesdefinitions.get( j ) ).getSeries( ) .clear( ); // Add the new series ( (SeriesDefinition) seriesdefinitions.get( j ) ).getSeries( ) .add( series ); } } else { return null; } currentChart.getTitle( ) .getLabel( ) .getCaption( ) .setValue( CHART_TITLE ); } if ( currentChart instanceof ChartWithAxes && !( (ChartWithAxes) currentChart ).getOrientation( ) .equals( newOrientation ) ) { ( (ChartWithAxes) currentChart ).setOrientation( newOrientation ); } if ( !currentChart.getDimension( ) .equals( getDimensionFor( sNewDimension ) ) ) { currentChart.setDimension( getDimensionFor( sNewDimension ) ); } // return currentChart; return null; } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/51342f37efb819d66eb6bfa56ebaba4fb7f4fa8b/GanttChart.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/GanttChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
14804,
336,
22063,
7984,
12,
14804,
783,
7984,
16,
514,
272,
1908,
30511,
16,
1082,
202,
14097,
394,
14097,
16,
514,
272,
1908,
8611,
262,
202,
95,
202,
202,
7984,
4222,
1488,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14804,
336,
22063,
7984,
12,
14804,
783,
7984,
16,
514,
272,
1908,
30511,
16,
1082,
202,
14097,
394,
14097,
16,
514,
272,
1908,
8611,
262,
202,
95,
202,
202,
7984,
4222,
1488,
... |
while(this.returnValue == -1) { | while (this.returnValue == -1) { | void interrupted(Context cx) { synchronized(swingMonitor) { if(java.awt.EventQueue.isDispatchThread()) { dispatcherIsWaiting++; if(nonDispatcherWaiting) { // Another thread is stopped in the debugger // process events until it resumes and we // can enter java.awt.EventQueue eventQ = java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue(); while(nonDispatcherWaiting) { try { AWTEvent event = eventQ.getNextEvent(); if(event instanceof ActiveEvent) { ((ActiveEvent)event).dispatch(); } else { Object source = event.getSource(); if(source instanceof Component) { Component comp = (Component)source; // Suppress Window/InputEvent's that aren't // directed to the Debugger // if(!(event instanceof InputEvent || //event instanceof WindowEvent)|| //shouldDispatchTo(comp)) { comp.dispatchEvent(event); //} } else if(source instanceof MenuComponent) { ((MenuComponent)source).dispatchEvent(event); } } if(this.returnValue == EXIT) { return; } swingMonitor.wait(1); } catch(InterruptedException exc) { return; } } } } else { while(isInterrupted || dispatcherIsWaiting > 0) { try { swingMonitor.wait(); } catch(InterruptedException exc) { return; } } nonDispatcherWaiting = true; } isInterrupted = true; } do { currentContext = cx; DebuggableEngine engine = cx.getDebuggableEngine(); Thread thread = Thread.currentThread(); statusBar.setText("Thread: " + thread.toString()); ThreadState state = (ThreadState)threadState.get(thread); int stopAtFrameDepth = -1; if(state != null) { stopAtFrameDepth = state.stopAtFrameDepth; } if(runToCursorFile != null && thread == runToCursorThread) { int frameCount = engine.getFrameCount(); if(frameCount > 0) { DebugFrame frame = engine.getFrame(0); String sourceName = frame.getSourceName(); if(sourceName != null) { if(sourceName.equals(runToCursorFile)) { int lineNumber = frame.getLineNumber(); if(lineNumber == runToCursorLine) { stopAtFrameDepth = -1; runToCursorFile = null; } else { FileWindow w = getFileWindow(sourceName); if(w == null || !w.isBreakPoint(lineNumber)) { return; } else { runToCursorFile = null; } } } } } else { } } if(stopAtFrameDepth > 0) { if (engine.getFrameCount() > stopAtFrameDepth) { break; } } if(state != null) { state.stopAtFrameDepth = -1; } threadState.remove(thread); int frameCount = engine.getFrameCount(); this.frameIndex = frameCount -1; int line = 0; if(frameCount == 0) { break; } DebugFrame frame = engine.getFrame(0); String fileName = frame.getSourceName(); engine.setBreakNextLine(false); line = frame.getLineNumber(); int enterCount = 0; boolean isDispatchThread = java.awt.EventQueue.isDispatchThread(); if(!isDispatchThread) { // detach cx from its thread so the debugger (in the awt // dispatcher thread) can enter it if necessary cx.exit(); while(Context.getCurrentContext() != null) { Context.exit(); enterCount++; } } if(fileName != null && !fileName.equals("<stdin>")) { FileWindow w = (FileWindow)getFileWindow(fileName); if(w != null) { SetFilePosition action = new SetFilePosition(this, w, line); swingInvoke(action); } else { Vector v = (Vector)sourceNames.get(fileName); String source = ((SourceEntry)v.elementAt(0)).source.toString(); CreateFileWindow action = new CreateFileWindow(this, fileName, source, line); swingInvoke(action); } } else { if(console.isVisible()) { final JSInternalConsole finalConsole = console; swingInvoke(new Runnable() { public void run() { finalConsole.show(); } }); } } swingInvoke(new EnterInterrupt(this, cx)); swingInvoke(new UpdateContext(this, cx)); int returnValue; if(!isDispatchThread) { synchronized(monitor) { this.returnValue = -1; try { while(this.returnValue == -1) { monitor.wait(); } returnValue = this.returnValue; } catch(InterruptedException exc) { break; } } } else { java.awt.EventQueue eventQ = java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue(); this.returnValue = -1; while(this.returnValue == -1) { try { AWTEvent event = eventQ.getNextEvent(); if(event instanceof ActiveEvent) { ((ActiveEvent)event).dispatch(); } else { Object source = event.getSource(); if(source instanceof Component) { Component comp = (Component)source; // Suppress Window/InputEvent's that aren't // directed to the Debugger // if(!(event instanceof InputEvent || //event instanceof WindowEvent)|| // shouldDispatchTo(comp)) { //comp.dispatchEvent(event); //} comp.dispatchEvent(event); } else if(source instanceof MenuComponent) { ((MenuComponent)source).dispatchEvent(event); } } } catch(InterruptedException exc) { } } returnValue = this.returnValue; } swingInvoke(new ExitInterrupt(this)); if(!isDispatchThread) { // reattach cx to its thread Context current; if((current = Context.enter(cx)) != cx) { System.out.println("debugger error: cx = " + cx + " current = " + current); } while(enterCount > 0) { Context.enter(); enterCount--; } } switch(returnValue) { case STEP_OVER: engine.setBreakNextLine(true); stopAtFrameDepth = engine.getFrameCount(); if(state == null) { state = new ThreadState(); } state.stopAtFrameDepth = stopAtFrameDepth; threadState.put(thread, state); break; case STEP_INTO: engine.setBreakNextLine(true); if(state != null) { state.stopAtFrameDepth = -1; } break; case STEP_OUT: stopAtFrameDepth = engine.getFrameCount() -1; if(stopAtFrameDepth > 0) { engine.setBreakNextLine(true); if(state == null) { state = new ThreadState(); } state.stopAtFrameDepth = stopAtFrameDepth; threadState.put(thread, state); } break; case RUN_TO_CURSOR: engine.setBreakNextLine(true); if(state != null) { state.stopAtFrameDepth = -1; } break; } } while(false); synchronized(swingMonitor) { isInterrupted = false; if(java.awt.EventQueue.isDispatchThread()) { dispatcherIsWaiting--; } else { nonDispatcherWaiting = false; } swingMonitor.notifyAll(); } } | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/5b760bc86060749267746b7d77c0c8da1d3b9c1d/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
15711,
12,
1042,
9494,
13,
288,
3639,
3852,
12,
5328,
310,
7187,
13,
288,
5411,
309,
12,
6290,
18,
2219,
88,
18,
1133,
3183,
18,
291,
5325,
3830,
10756,
288,
7734,
7393,
2520,
1594... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15711,
12,
1042,
9494,
13,
288,
3639,
3852,
12,
5328,
310,
7187,
13,
288,
5411,
309,
12,
6290,
18,
2219,
88,
18,
1133,
3183,
18,
291,
5325,
3830,
10756,
288,
7734,
7393,
2520,
1594... |
throws EndOfFileException, BacktrackException { if( LT(1) != IToken.t_catch ) throw backtrack; while (LT(1) == IToken.t_catch) { consume(IToken.t_catch); consume(IToken.tLPAREN); if( LT(1) == IToken.tELLIPSIS ) consume( IToken.tELLIPSIS ); else simpleDeclaration( SimpleDeclarationStrategy.TRY_VARIABLE, scope, null, CompletionKind.EXCEPTION_REFERENCE, true, KeywordSetKey.DECL_SPECIFIER_SEQUENCE ); consume(IToken.tRPAREN); catchBlockCompoundStatement(scope); } } | throws EndOfFileException, BacktrackException { if (LT(1) != IToken.t_catch) throwBacktrack(LA(1).getOffset()); while (LT(1) == IToken.t_catch) { consume(IToken.t_catch); consume(IToken.tLPAREN); if (LT(1) == IToken.tELLIPSIS) consume(IToken.tELLIPSIS); else simpleDeclaration(SimpleDeclarationStrategy.TRY_VARIABLE, scope, null, CompletionKind.EXCEPTION_REFERENCE, true, KeywordSetKey.DECL_SPECIFIER_SEQUENCE); consume(IToken.tRPAREN); catchBlockCompoundStatement(scope); } } | protected void catchHandlerSequence(IASTScope scope) throws EndOfFileException, BacktrackException { if( LT(1) != IToken.t_catch ) throw backtrack; // error, need at least one of these while (LT(1) == IToken.t_catch) { consume(IToken.t_catch); consume(IToken.tLPAREN); if( LT(1) == IToken.tELLIPSIS ) consume( IToken.tELLIPSIS ); else simpleDeclaration( SimpleDeclarationStrategy.TRY_VARIABLE, scope, null, CompletionKind.EXCEPTION_REFERENCE, true, KeywordSetKey.DECL_SPECIFIER_SEQUENCE ); consume(IToken.tRPAREN); catchBlockCompoundStatement(scope); } } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/85be18a5f9556c1b23f600ca12f088a1d51d3925/Parser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1044,
1503,
4021,
12,
45,
9053,
3876,
2146,
13,
202,
15069,
4403,
951,
812,
503,
16,
4297,
4101,
503,
288,
377,
202,
430,
12,
11807,
12,
21,
13,
480,
467,
1345,
18,
88,
67,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1044,
1503,
4021,
12,
45,
9053,
3876,
2146,
13,
202,
15069,
4403,
951,
812,
503,
16,
4297,
4101,
503,
288,
377,
202,
430,
12,
11807,
12,
21,
13,
480,
467,
1345,
18,
88,
67,... |
return (String)constant_pool.get((Integer)constant_pool.get(class_index-1)-1); | int name_index = (Integer)constant_pool.get(class_index-1); String raw_name = getName(name_index); return raw_name.replace("/", "."); | public String getClassName(int class_index) { return (String)constant_pool.get((Integer)constant_pool.get(class_index-1)-1); } | 48847 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48847/9f97e3584bad7135263beb05aaded970c693af67/Reader.java/clean/interview-sun/decompile/Reader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
11819,
12,
474,
667,
67,
1615,
13,
288,
3639,
509,
508,
67,
1615,
273,
261,
4522,
13,
14384,
67,
6011,
18,
588,
12,
1106,
67,
1615,
17,
21,
1769,
514,
1831,
67,
529,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
11819,
12,
474,
667,
67,
1615,
13,
288,
3639,
509,
508,
67,
1615,
273,
261,
4522,
13,
14384,
67,
6011,
18,
588,
12,
1106,
67,
1615,
17,
21,
1769,
514,
1831,
67,
529,
273,
... |
values.add("-1"); | if (curNav.getNavPosition() == Float.MAX_VALUE) { values.add((maxValue + 1) + ""); } else { values.add("-1"); } | public static String buildNavPosSelector(CmsObject cms, String filename, String attributes, CmsWorkplaceMessages messages) { List navList = new ArrayList(); List options = new ArrayList(); List values = new ArrayList(); // get current file navigation element CmsJspNavElement curNav = CmsJspNavBuilder.getNavigationForResource(cms, filename); // get the parent folder of the current file filename = CmsResource.getParentFolder(filename); // get navigation of the current folder navList = CmsJspNavBuilder.getNavigationForFolder(cms, filename); float maxValue = 0; float nextPos = 0; // calculate value for the first navigation position float firstValue = 1; try { CmsJspNavElement ne = (CmsJspNavElement)navList.get(0); maxValue = ne.getNavPosition(); } catch (Exception e) { // should usually never happen if (OpenCms.getLog(CmsChnav.class).isInfoEnabled()) { OpenCms.getLog(CmsChnav.class).info(e); } } if (maxValue != 0) { firstValue = maxValue / 2; } // add the first entry: before first element options.add(messages.key("input.firstelement")); values.add(firstValue+""); // show all present navigation elements in box for (int i=0; i<navList.size(); i++) { CmsJspNavElement ne = (CmsJspNavElement)navList.get(i); String navText = ne.getNavText(); float navPos = ne.getNavPosition(); // get position of next nav element nextPos = navPos + 2; if ((i+1) < navList.size()) { nextPos = ((CmsJspNavElement)navList.get(i+1)).getNavPosition(); } // calculate new position of current nav element float newPos = (navPos + nextPos) / 2; // check new maxValue of positions and increase it if (navPos > maxValue) { maxValue = navPos; } // if the element is the current file, mark it in selectbox if (curNav.getNavText().equals(navText) && curNav.getNavPosition() == navPos) { options.add(CmsEncoder.escapeHtml(messages.key("input.currentposition")+" ["+ne.getFileName()+"]")); values.add("-1"); } else { options.add(CmsEncoder.escapeHtml(navText+" ["+ne.getFileName()+"]")); values.add(newPos+""); } } // add the entry: at the last position options.add(messages.key("input.lastelement")); values.add((maxValue+1)+""); // add the entry: no change options.add(messages.key("input.nochange")); values.add("-1"); if (attributes != null && !"".equals(attributes.trim())) { attributes = " " + attributes; } else { attributes = ""; } CmsDialog wp = new CmsDialog(null); return wp.buildSelect("name=\""+PARAM_NAVPOS+"\"" + attributes, options, values, values.size()-1, true); } | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/c80cbf84d3454cc1f3b1cbd81ab2f9c1a25a001c/CmsChnav.java/buggy/src/org/opencms/workplace/commons/CmsChnav.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1361,
12599,
1616,
4320,
12,
4747,
921,
6166,
16,
514,
1544,
16,
514,
1677,
16,
27755,
5058,
2743,
13,
288,
3639,
987,
8775,
682,
273,
394,
2407,
5621,
3639,
987,
702,
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,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1361,
12599,
1616,
4320,
12,
4747,
921,
6166,
16,
514,
1544,
16,
514,
1677,
16,
27755,
5058,
2743,
13,
288,
3639,
987,
8775,
682,
273,
394,
2407,
5621,
3639,
987,
702,
2... |
if (value == null) | if (value == null) { | public double getDouble(String name) { String value = internalGet(name); if (value == null) return DOUBLE_DEFAULT_DEFAULT; try { return Double.parseDouble(value); } catch (NumberFormatException e) { return DOUBLE_DEFAULT_DEFAULT; } } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ScopedPreferenceStore.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/preferences/ScopedPreferenceStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1645,
16097,
12,
780,
508,
13,
288,
202,
202,
780,
460,
273,
2713,
967,
12,
529,
1769,
202,
202,
430,
261,
1132,
422,
446,
13,
1082,
202,
2463,
14918,
67,
5280,
67,
5280,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1645,
16097,
12,
780,
508,
13,
288,
202,
202,
780,
460,
273,
2713,
967,
12,
529,
1769,
202,
202,
430,
261,
1132,
422,
446,
13,
1082,
202,
2463,
14918,
67,
5280,
67,
5280,
31... |
aclManagerService.addUserToGroup(franz, portals, PortletRole.getAdminRole()); aclManagerService.addUserToGroup(franz, triana, PortletRole.getAdminRole()); | aclManagerService.addUserToGroup(franz, portals, SportletRole.getAdminRole()); aclManagerService.addUserToGroup(franz, triana, SportletRole.getAdminRole()); | protected void setUp() { super.setUp(); int i; // Create both services using mock ServletConfig try { aclService = (AccessControlService)factory.createPortletService(AccessControlService.class, props, null, true); aclManagerService = (AccessControlManagerService)factory.createPortletService(AccessControlManagerService.class, props, null, true); userManager = (UserManagerService)factory.createPortletService(UserManagerService.class, props, null, true); } catch (Exception e) { log.error("Unable to initialize services: ", e); } // First we need to create some groups log.info("creating fake groups"); groups = new Vector(GROUPS.length); for (i = 0; i < GROUPS.length; i++) { groups.set(i, GROUPS[i]); aclManagerService.createNewGroup(GROUPS[i]); } List portletGroups = aclService.getAllGroups(); cactus = (PortletGroup)portletGroups.get(0); portals = (PortletGroup)portletGroups.get(1); triana = (PortletGroup)portletGroups.get(2); // Make sure we have proper ordering assertEquals(cactus.getName(), GROUPS[0]); assertEquals(portals.getName(), GROUPS[1]); assertEquals(triana.getName(), GROUPS[2]); // Lets make user 0 the super user and admin of group 0 hans = new SportletUserImpl(); hans.setGivenName(USERS[0]); hans.setUserID(USERS[0]); aclManagerService.addUserToSuperRole(hans); aclManagerService.addUserToGroup(hans, cactus, PortletRole.getAdminRole()); // Lets make user 1 admin of group 1 and 2 franz = new SportletUserImpl(); franz.setGivenName(USERS[1]); franz.setUserID(USERS[1]); aclManagerService.addUserToGroup(franz, portals, PortletRole.getAdminRole()); aclManagerService.addUserToGroup(franz, triana, PortletRole.getAdminRole()); // Lets make user 2 admin of group 2 josef = new SportletUserImpl(); josef.setGivenName(USERS[2]); josef.setUserID(USERS[2]); aclManagerService.addUserToGroup(josef, triana, PortletRole.getAdminRole()); } | 49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/33fe4e596da0e639836d95d5063f4e3b77e550b2/UserManagerServiceTest.java/buggy/src/org/gridlab/gridsphere/services/user/test/UserManagerServiceTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24292,
1435,
288,
3639,
2240,
18,
542,
1211,
5621,
3639,
509,
277,
31,
3639,
368,
1788,
3937,
4028,
1450,
5416,
7971,
809,
3639,
775,
288,
5411,
7895,
1179,
273,
261,
16541,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24292,
1435,
288,
3639,
2240,
18,
542,
1211,
5621,
3639,
509,
277,
31,
3639,
368,
1788,
3937,
4028,
1450,
5416,
7971,
809,
3639,
775,
288,
5411,
7895,
1179,
273,
261,
16541,
11... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.