aboutsummaryrefslogtreecommitdiff
path: root/src_eclipseagent/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-10-07 23:52:56 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-10-07 23:52:56 +0200
commita65b7320f28a1f53436eed5dd3c9650a9b1dea2a (patch)
tree343e518104f3cc7b0172b93ba06851f9c5e771ce /src_eclipseagent/lombok
parente8c706a7b6c543be12fa4be84f64041c392bb162 (diff)
downloadlombok-a65b7320f28a1f53436eed5dd3c9650a9b1dea2a.tar.gz
lombok-a65b7320f28a1f53436eed5dd3c9650a9b1dea2a.tar.bz2
lombok-a65b7320f28a1f53436eed5dd3c9650a9b1dea2a.zip
Removed debug prints
Diffstat (limited to 'src_eclipseagent/lombok')
-rw-r--r--src_eclipseagent/lombok/eclipse/agent/PatchFixes.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src_eclipseagent/lombok/eclipse/agent/PatchFixes.java b/src_eclipseagent/lombok/eclipse/agent/PatchFixes.java
index 3ec5af90..1914bba7 100644
--- a/src_eclipseagent/lombok/eclipse/agent/PatchFixes.java
+++ b/src_eclipseagent/lombok/eclipse/agent/PatchFixes.java
@@ -23,7 +23,6 @@ public class PatchFixes {
}
public static void setIsGeneratedFlagForSimpleName(SimpleName name, Object internalNode) throws Exception {
- System.out.println("Setting isGenerated on SimpleName");
if (internalNode instanceof org.eclipse.jdt.internal.compiler.ast.ASTNode) {
if (internalNode.getClass().getField("$generatedBy").get(internalNode) != null) {
name.getClass().getField("$isGenerated").set(name, true);
@@ -32,14 +31,12 @@ public class PatchFixes {
}
public static SimpleName[] removeGeneratedSimpleNames(SimpleName[] in) throws Exception {
- System.out.print("Removing is generated...");
Field f = SimpleName.class.getField("$isGenerated");
int count = 0;
for (int i = 0; i < in.length; i++) {
if ( in[i] == null || !((Boolean)f.get(in[i])).booleanValue() ) count++;
}
- System.out.println("" + (in.length - count));
if (count == in.length) return in;
SimpleName[] newSimpleNames = new SimpleName[count];
count = 0;