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 124665 Details for
Bug 246627
[ast rewrite] Wrong indentation for statement inserted before SwitchCase
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch for JDTUI tests
bug246627jdtui_002.txt (text/plain), 2.90 KB, created by
David Audel
on 2009-02-04 07:13:12 EST
(
hide
)
Description:
Proposed patch for JDTUI tests
Filename:
MIME Type:
Creator:
David Audel
Created:
2009-02-04 07:13:12 EST
Size:
2.90 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.ui.tests >Index: ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java,v >retrieving revision 1.153 >diff -u -r1.153 LocalCorrectionsQuickFixTest.java >--- ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java 2 Feb 2009 10:02:32 -0000 1.153 >+++ ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java 4 Feb 2009 11:50:18 -0000 >@@ -5770,7 +5770,7 @@ > buf.append(" case 1:\n"); > buf.append(" foo();\n"); > buf.append(" break;\n"); >- buf.append(" case 2:\n"); >+ buf.append(" case 2:\n"); > buf.append(" foo();\n"); > buf.append(" break;\n"); > buf.append(" default:\n"); >@@ -6833,7 +6833,7 @@ > buf.append(" switch (i) {\n"); > buf.append(" case 1:\n"); > buf.append(" time= System.currentTimeMillis();\n"); >- buf.append(" break;\n"); >+ buf.append(" break;\n"); > buf.append(" case 2:\n"); > buf.append(" time= 3;\n"); > buf.append(" }\n"); >@@ -6867,7 +6867,7 @@ > buf.append(" switch (i) {\n"); > buf.append(" case 1:\n"); > buf.append(" time= System.currentTimeMillis();\n"); >- buf.append(" //$FALL-THROUGH$\n"); >+ buf.append(" //$FALL-THROUGH$\n"); > buf.append(" case 2:\n"); > buf.append(" time= 3;\n"); > buf.append(" }\n"); >@@ -6916,7 +6916,7 @@ > buf.append(" switch (i) {\n"); > buf.append(" case 1:\n"); > buf.append(" time= System.currentTimeMillis();\n"); >- buf.append(" break;\n"); >+ buf.append(" break;\n"); > buf.append(" default:\n"); > buf.append(" time= 3;\n"); > buf.append(" }\n"); >@@ -6950,7 +6950,7 @@ > buf.append(" switch (i) {\n"); > buf.append(" case 1:\n"); > buf.append(" time= System.currentTimeMillis();\n"); >- buf.append(" //$FALL-THROUGH$\n"); >+ buf.append(" //$FALL-THROUGH$\n"); > buf.append(" default:\n"); > buf.append(" time= 3;\n"); > buf.append(" }\n"); >@@ -7037,7 +7037,7 @@ > buf.append(" case 1:\n"); > buf.append(" time= System.currentTimeMillis();\n"); > buf.append(" // fall through is OK\n"); >- buf.append(" //$FALL-THROUGH$\n"); >+ buf.append(" //$FALL-THROUGH$\n"); > buf.append(" default:\n"); > buf.append(" time= 3;\n"); > buf.append(" }\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 246627
:
124661
|
124662
| 124665