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 22935 Details for
Bug 99355
extract method trips up with generics and final variables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
But in the AST converter parsing of modifiers
patch_99355.txt (text/plain), 2.99 KB, created by
Olivier Thomann
on 2005-06-13 11:25:13 EDT
(
hide
)
Description:
But in the AST converter parsing of modifiers
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-06-13 11:25:13 EDT
Size:
2.99 KB
patch
obsolete
>Index: dom/org/eclipse/jdt/core/dom/ASTConverter.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java,v >retrieving revision 1.211 >diff -u -r1.211 ASTConverter.java >--- dom/org/eclipse/jdt/core/dom/ASTConverter.java 2 Jun 2005 16:51:42 -0000 1.211 >+++ dom/org/eclipse/jdt/core/dom/ASTConverter.java 13 Jun 2005 15:24:37 -0000 >@@ -4377,8 +4377,15 @@ > if (annotations != null && indexInAnnotations < annotations.length) { > org.eclipse.jdt.internal.compiler.ast.Annotation annotation = annotations[indexInAnnotations++]; > modifier = convert(annotation); >- this.scanner.resetTo(annotation.declarationSourceEnd + 1, this.scanner.eofPosition); >+ this.scanner.resetTo(annotation.declarationSourceEnd + 1, this.compilationUnitSourceLength); > } >+ break; >+ case TerminalTokens.TokenNameCOMMENT_BLOCK : >+ case TerminalTokens.TokenNameCOMMENT_LINE : >+ case TerminalTokens.TokenNameCOMMENT_JAVADOC : >+ break; >+ default : >+ return; > } > if (modifier != null) { > variableDecl.modifiers().add(modifier); >@@ -4445,8 +4452,15 @@ > if (annotations != null && indexInAnnotations < annotations.length) { > org.eclipse.jdt.internal.compiler.ast.Annotation annotation = annotations[indexInAnnotations++]; > modifier = convert(annotation); >- this.scanner.resetTo(annotation.declarationSourceEnd + 1, this.scanner.eofPosition); >+ this.scanner.resetTo(annotation.declarationSourceEnd + 1, this.compilationUnitSourceLength); > } >+ break; >+ case TerminalTokens.TokenNameCOMMENT_BLOCK : >+ case TerminalTokens.TokenNameCOMMENT_LINE : >+ case TerminalTokens.TokenNameCOMMENT_JAVADOC : >+ break; >+ default : >+ return; > } > if (modifier != null) { > variableDecl.modifiers().add(modifier); >@@ -4542,6 +4556,13 @@ > modifier = convert(annotation); > this.scanner.resetTo(annotation.declarationSourceEnd + 1, this.compilationUnitSourceLength); > } >+ break; >+ case TerminalTokens.TokenNameCOMMENT_BLOCK : >+ case TerminalTokens.TokenNameCOMMENT_LINE : >+ case TerminalTokens.TokenNameCOMMENT_JAVADOC : >+ break; >+ default : >+ return; > } > if (modifier != null) { > variableDeclarationExpression.modifiers().add(modifier); >@@ -4616,6 +4637,13 @@ > modifier = convert(annotation); > this.scanner.resetTo(annotation.declarationSourceEnd + 1, this.compilationUnitSourceLength); > } >+ break; >+ case TerminalTokens.TokenNameCOMMENT_BLOCK : >+ case TerminalTokens.TokenNameCOMMENT_LINE : >+ case TerminalTokens.TokenNameCOMMENT_JAVADOC : >+ break; >+ default : >+ return; > } > if (modifier != null) { > variableDeclarationStatement.modifiers().add(modifier);
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 99355
:
22873
| 22935