Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgkessler2006-06-02 20:27:13 -0400
committergkessler2006-06-02 20:27:13 -0400
commit48d8819919f7266eec0fe892ca96ad2a3e1b9077 (patch)
tree0cade4cd86d4df6177c28a0efa24fe320fcf5945
parent6a8ce91d0866931181d3a2947ec9c4a10ef606fa (diff)
downloadwebtools.jsf-48d8819919f7266eec0fe892ca96ad2a3e1b9077.tar.gz
webtools.jsf-48d8819919f7266eec0fe892ca96ad2a3e1b9077.tar.xz
webtools.jsf-48d8819919f7266eec0fe892ca96ad2a3e1b9077.zip
Checkin of Cam's June2 Checkpoint (https://bugs.eclipse.org/bugs/show_bug.cgi?id=145158)
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/types/TypeTransformer.java46
1 files changed, 0 insertions, 46 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/types/TypeTransformer.java b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/types/TypeTransformer.java
index 4948fbfc9..ffb831ea8 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/types/TypeTransformer.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/types/TypeTransformer.java
@@ -210,50 +210,4 @@ public class TypeTransformer
return newSignature;
}
-
- /**
- * Temporary test main
- *
- * @param args
- */
- public static void main(String[] args)
- {
- // TODO: move to JUnit and flesh out
- testBoxPrimitives();
- testUnboxPrimitives();
- }
-
- private static void testBoxPrimitives()
- {
- final CompositeType type1 =
- new CompositeType("J", IAssignable.ASSIGNMENT_TYPE_RHS);
- final CompositeType type2 =
- new CompositeType("I", IAssignable.ASSIGNMENT_TYPE_RHS);
- final CompositeType type3 =
- new CompositeType("[J", IAssignable.ASSIGNMENT_TYPE_RHS);
- final CompositeType type4 =
- new CompositeType("[[I", IAssignable.ASSIGNMENT_TYPE_RHS);
-
- System.out.println(transformBoxPrimitives(type1));
- System.out.println(transformBoxPrimitives(type2));
- System.out.println(transformBoxPrimitives(type3));
- System.out.println(transformBoxPrimitives(type4));
- }
-
- private static void testUnboxPrimitives()
- {
- final CompositeType type1 =
- new CompositeType("Ljava.lang.Long;", IAssignable.ASSIGNMENT_TYPE_RHS);
- final CompositeType type2 =
- new CompositeType("Ljava.lang.Integer;", IAssignable.ASSIGNMENT_TYPE_RHS);
- final CompositeType type3 =
- new CompositeType("[Ljava.lang.Long;", IAssignable.ASSIGNMENT_TYPE_RHS);
- final CompositeType type4 =
- new CompositeType("[[Ljava.lang.Integer;", IAssignable.ASSIGNMENT_TYPE_RHS);
-
- System.out.println(transformUnboxPrimitives(type1));
- System.out.println(transformUnboxPrimitives(type2));
- System.out.println(transformUnboxPrimitives(type3));
- System.out.println(transformUnboxPrimitives(type4));
- }
}

Back to the top