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 12982 Details for
Bug 69349
[DOM/AST] Wrong end position for method declaration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to apply on HEAD
patch_for_69349.txt (text/plain), 1.04 KB, created by
Olivier Thomann
on 2004-07-06 10:30:02 EDT
(
hide
)
Description:
Patch to apply on HEAD
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2004-07-06 10:30:02 EDT
Size:
1.04 KB
patch
obsolete
>Index: ASTConverter.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java,v >retrieving revision 1.155 >diff -u -r1.155 ASTConverter.java >--- ASTConverter.java 1 Jul 2004 09:31:53 -0000 1.155 >+++ ASTConverter.java 6 Jul 2004 14:22:45 -0000 >@@ -594,7 +594,7 @@ > int declarationSourceStart = methodDeclaration.declarationSourceStart; > int declarationSourceEnd = methodDeclaration.bodyEnd; > methodDecl.setSourceRange(declarationSourceStart, declarationSourceEnd - declarationSourceStart + 1); >- int closingPosition = retrieveRightBraceOrSemiColonPosition(methodDeclaration.bodyEnd, methodDeclaration.declarationSourceEnd); >+ int closingPosition = retrieveRightBraceOrSemiColonPosition(methodDeclaration.bodyEnd + 1, methodDeclaration.declarationSourceEnd); > if (closingPosition != -1) { > int startPosition = methodDecl.getStartPosition(); > methodDecl.setSourceRange(startPosition, closingPosition - startPosition + 1);
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 69349
: 12982