diff options
author | Stephan Herrmann | 2010-04-21 18:58:44 +0000 |
---|---|---|
committer | Stephan Herrmann | 2010-04-21 18:58:44 +0000 |
commit | 51db86797417ea9d19d68b2a0d0328c445a3ae71 (patch) | |
tree | 4f38065e7aaf7fbf6c0f4237ea456d0f8bce4b2d /org.eclipse.jdt.core | |
parent | 6c96408e19d1396f01ef4b535a054f02f915b8c2 (diff) | |
download | org.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.java | 8 |
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. |