Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 21932 Details for
Bug 96858
IllegalArgumentException in Signature
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch96858_org.eclipse.jdt.core.txt (text/plain), 1.51 KB, created by
Jerome Lanneluc
on 2005-05-29 05:09:19 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2005-05-29 05:09:19 EDT
Size:
1.51 KB
patch
obsolete
>Index: model/org/eclipse/jdt/internal/core/util/KeyToSignature.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/KeyToSignature.java,v >retrieving revision 1.17 >diff -u -r1.17 KeyToSignature.java >--- model/org/eclipse/jdt/internal/core/util/KeyToSignature.java 25 May 2005 16:29:49 -0000 1.17 >+++ model/org/eclipse/jdt/internal/core/util/KeyToSignature.java 29 May 2005 09:08:02 -0000 >@@ -16,10 +16,6 @@ > import org.eclipse.jdt.core.compiler.CharOperation; > import org.eclipse.jdt.internal.compiler.ast.Wildcard; > >-/* >- * Converts a binding key into a signature >- */ >-// TODO (jerome) handle methods and fields > public class KeyToSignature extends BindingKeyParser { > > public static final int SIGNATURE = 0; >@@ -173,6 +169,11 @@ > } > > public void consumeType() { >+ // remove main type if needed >+ if (this.mainTypeStart != -1) { >+ this.signature.replace(this.mainTypeStart, this.mainTypeEnd, ""); //$NON-NLS-1$ >+ } >+ // parameter types > int length = this.typeParameters.size(); > if (length > 0) { > StringBuffer typeParametersSig = new StringBuffer(); >@@ -186,10 +187,6 @@ > this.signature.insert(this.typeSigStart, typeParametersSig); > this.typeParameters = new ArrayList(); > } >- // remove main type if needed >- if (this.mainTypeStart != -1) { >- this.signature.replace(this.mainTypeStart, this.mainTypeEnd, ""); //$NON-NLS-1$ >- } > this.signature.append(';'); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 96858
: 21932 |
21933