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 27320 Details for
Bug 109963
[dom] Two VariableDeclarationStatements in switch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_109963.txt (text/plain), 975 bytes, created by
Olivier Thomann
on 2005-09-20 21:43:45 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-09-20 21:43:45 EDT
Size:
975 bytes
patch
obsolete
>Index: dom/org/eclipse/jdt/core/dom/ASTConverter.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java,v >retrieving revision 1.219 >diff -u -r1.219 ASTConverter.java >--- dom/org/eclipse/jdt/core/dom/ASTConverter.java 14 Sep 2005 23:34:08 -0000 1.219 >+++ dom/org/eclipse/jdt/core/dom/ASTConverter.java 21 Sep 2005 01:43:24 -0000 >@@ -2470,7 +2470,11 @@ > if (statements != null) { > int statementsLength = statements.length; > for (int i = 0; i < statementsLength; i++) { >- switchStatement.statements().add(convert(statements[i])); >+ if (statements[i] instanceof org.eclipse.jdt.internal.compiler.ast.LocalDeclaration) { >+ checkAndAddMultipleLocalDeclaration(statements, i, switchStatement.statements()); >+ } else { >+ switchStatement.statements().add(convert(statements[i])); >+ } > } > } > return switchStatement;
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 109963
: 27320 |
27321