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 224197 Details for
Bug 378024
Ordering of comments between imports not preserved
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Required changes in JDT/UI tests
clipboard.txt (text/plain), 1.74 KB, created by
Stephan Herrmann
on 2012-12-01 18:22:53 EST
(
hide
)
Description:
Required changes in JDT/UI tests
Filename:
MIME Type:
Creator:
Stephan Herrmann
Created:
2012-12-01 18:22:53 EST
Size:
1.74 KB
patch
obsolete
>diff --git a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/ImportOrganizeTest.java b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/ImportOrganizeTest.java >index ac5a532..930845e 100644 >--- a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/ImportOrganizeTest.java >+++ b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/ImportOrganizeTest.java >@@ -577,8 +577,7 @@ > buf= new StringBuffer(); > buf.append("package pack1;\r\n"); > buf.append("\r\n"); >- buf.append("import java.util.Vector;\r\n"); >- buf.append("// comment\r\n"); >+ buf.append("import java.util.Vector; // comment\r\n"); > buf.append("\r\n"); > buf.append("public class C {\r\n"); > buf.append(" Vector v;\r\n"); >@@ -682,16 +681,12 @@ > buf.append("package pack1;\n"); > buf.append("\n"); > buf.append("// comment 1\n"); >- buf.append("/*lead 1*/"); >- buf.append("import java.util.*;\n"); >+ buf.append("/*lead 1*//*lead 2*/ /**lead 3*/import java.util.*; //test3\n"); >+ buf.append("//test1/*test2*/\n"); >+ buf.append(""); > buf.append("\n"); >- buf.append("import pack.List;\n"); >- buf.append("//test1\n"); >- buf.append("/*lead 2*/ \n"); >- buf.append("/*test2*/\n"); >- buf.append("/**lead 3*/\n"); >- buf.append("//test3\n"); > buf.append("/**comment 2*/\n"); >+ buf.append("import pack.List;\n"); > buf.append("\n"); > buf.append("public class C {\n"); > buf.append(" Vector v;\n"); >@@ -2459,8 +2454,7 @@ > buf.append("/**comment1*/\n"); > buf.append("/*lead1*/"); > buf.append("import java.util.ArrayList;\n"); >- buf.append("import java.util.HashMap;\n"); >- buf.append("// trail 1\n"); >+ buf.append("import java.util.HashMap;// trail 1\n"); > buf.append("\n"); > buf.append("public class C {\n"); > buf.append(" public void foo() {\n");
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 378024
:
219961
|
224197
|
224198
|
224199