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 21001 Details for
Bug 93727
Code Formatter fails with Method Parameter Annotations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Apply on HEAD on CodeFormatterVisitor
patch_93727.txt (text/plain), 1.26 KB, created by
Olivier Thomann
on 2005-05-11 15:17:12 EDT
(
hide
)
Description:
Apply on HEAD on CodeFormatterVisitor
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-05-11 15:17:12 EDT
Size:
1.26 KB
patch
obsolete
>Index: CodeFormatterVisitor.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java,v >retrieving revision 1.157 >diff -u -r1.157 CodeFormatterVisitor.java >--- CodeFormatterVisitor.java 5 Apr 2005 14:34:30 -0000 1.157 >+++ CodeFormatterVisitor.java 11 May 2005 19:16:22 -0000 >@@ -1486,7 +1486,7 @@ > private void formatLocalDeclaration(LocalDeclaration localDeclaration, BlockScope scope, boolean insertSpaceBeforeComma, boolean insertSpaceAfterComma) { > > if (!isMultipleLocalDeclaration(localDeclaration)) { >- if (localDeclaration.modifiers != NO_MODIFIERS) { >+ if (localDeclaration.modifiers != NO_MODIFIERS || localDeclaration.annotations != null) { > this.scribe.printComment(); > this.scribe.printModifiers(localDeclaration.annotations, this); > this.scribe.space(); >@@ -2268,7 +2268,7 @@ > */ > public boolean visit(Argument argument, BlockScope scope) { > >- if (argument.modifiers != NO_MODIFIERS) { >+ if (argument.modifiers != NO_MODIFIERS || argument.annotations != null) { > this.scribe.printComment(); > this.scribe.printModifiers(argument.annotations, this); > this.scribe.space();
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 93727
: 21001 |
21002