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 106097 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]
patch
238119.patch (text/plain), 1.51 KB, created by
Martin Aeschlimann
on 2008-06-30 04:53:46 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Martin Aeschlimann
Created:
2008-06-30 04:53:46 EDT
Size:
1.51 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.40 >diff -u -r1.40 SortElementsOperation.java >--- model/org/eclipse/jdt/internal/core/SortElementsOperation.java 17 Jul 2007 19:38:52 -0000 1.40 >+++ model/org/eclipse/jdt/internal/core/SortElementsOperation.java 30 Jun 2008 08:49:40 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2007 IBM Corporation and others. >+ * Copyright (c) 2000, 2008 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -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