Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2010-04-21 18:58:44 +0000
committerStephan Herrmann2010-04-21 18:58:44 +0000
commit51db86797417ea9d19d68b2a0d0328c445a3ae71 (patch)
tree4f38065e7aaf7fbf6c0f4237ea456d0f8bce4b2d /org.eclipse.jdt.core
parent6c96408e19d1396f01ef4b535a054f02f915b8c2 (diff)
downloadorg.eclipse.objectteams-51db86797417ea9d19d68b2a0d0328c445a3ae71.tar.gz
org.eclipse.objectteams-51db86797417ea9d19d68b2a0d0328c445a3ae71.tar.xz
org.eclipse.objectteams-51db86797417ea9d19d68b2a0d0328c445a3ae71.zip
removed one unused method.
Diffstat (limited to 'org.eclipse.jdt.core')
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java
index 53562c0f0..f954355fb 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java
@@ -796,14 +796,6 @@ public void resetParameters() {
this.generalizedReturnType = null;
}
}
-/** Permantently assign returnType, even if we are in the state of switched parameters. */
-public void setReturnType(TypeBinding returnType) {
- if (this.switchCount > 0) {
- assert this.returnType == this.generalizedReturnType : "confict between return generalization and weakening"; //$NON-NLS-1$
- this.generalizedReturnType = returnType;
- }
- this.returnType = returnType;
-}
//MW+SH}
/* Answer the receiver's constant pool name.

Back to the top