Remove unused/broken constructors.
Review at http://gwt-code-reviews.appspot.com/1614805
Patch by: stephenh
Review by: scottb@google.com
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10945 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/javac/typemodel/JField.java b/dev/core/src/com/google/gwt/dev/javac/typemodel/JField.java
index b2c8d11..754519f 100644
--- a/dev/core/src/com/google/gwt/dev/javac/typemodel/JField.java
+++ b/dev/core/src/com/google/gwt/dev/javac/typemodel/JField.java
@@ -44,10 +44,6 @@
this.type = srcField.type;
}
- JField(JClassType enclosingType, String name) {
- this(enclosingType, name, null);
- }
-
JField(JClassType enclosingType, String name,
Map<Class<? extends Annotation>, Annotation> declaredAnnotations) {
assert (enclosingType != null);
diff --git a/dev/core/src/com/google/gwt/dev/javac/typemodel/JMethod.java b/dev/core/src/com/google/gwt/dev/javac/typemodel/JMethod.java
index c12e715..b4c835a 100644
--- a/dev/core/src/com/google/gwt/dev/javac/typemodel/JMethod.java
+++ b/dev/core/src/com/google/gwt/dev/javac/typemodel/JMethod.java
@@ -36,10 +36,6 @@
this.returnType = srcMethod.returnType;
}
- JMethod(JClassType enclosingType, String name) {
- this(enclosingType, name, null, null);
- }
-
JMethod(JClassType enclosingType, String name,
Map<Class<? extends Annotation>, Annotation> declaredAnnotations,
JTypeParameter[] jtypeParameters) {
diff --git a/dev/core/src/com/google/gwt/dev/javac/typemodel/JParameter.java b/dev/core/src/com/google/gwt/dev/javac/typemodel/JParameter.java
index aeda808..6cae2ba 100644
--- a/dev/core/src/com/google/gwt/dev/javac/typemodel/JParameter.java
+++ b/dev/core/src/com/google/gwt/dev/javac/typemodel/JParameter.java
@@ -43,10 +43,6 @@
this.annotations = new Annotations(srcParam.annotations);
}
- JParameter(JAbstractMethod enclosingMethod, JType type, String name) {
- this(enclosingMethod, type, name, null);
- }
-
JParameter(JAbstractMethod enclosingMethod, JType type, String name,
Map<Class<? extends Annotation>, Annotation> declaredAnnotations) {
this(enclosingMethod, type, name, declaredAnnotations, true);