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 147472 Details for
Bug 238943
SortElementsOperation doesn't use project specific settings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_238943.txt (text/plain), 1.09 KB, created by
Olivier Thomann
on 2009-09-17 14:10:52 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2009-09-17 14:10:52 EDT
Size:
1.09 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/SortElementsOperation.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java,v >retrieving revision 1.43 >diff -u -r1.43 SortElementsOperation.java >--- model/org/eclipse/jdt/internal/core/SortElementsOperation.java 7 Mar 2009 01:08:08 -0000 1.43 >+++ model/org/eclipse/jdt/internal/core/SortElementsOperation.java 17 Sep 2009 18:12:38 -0000 >@@ -137,7 +137,7 @@ > } > > Document document= new Document(content); >- return rewrite.rewriteAST(document, null); >+ return rewrite.rewriteAST(document, cu.getJavaProject().getOptions(true)); > } finally { > done(); > } >@@ -162,7 +162,7 @@ > if (rewriter == null) > return document.get(); > >- TextEdit edits = rewriter.rewriteAST(document, null); >+ TextEdit edits = rewriter.rewriteAST(document, unit.getJavaProject().getOptions(true)); > > RangeMarker[] markers = null; > if (this.positions != null) {
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 238943
:
106097
| 147472