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 119174 Details for
Bug 202602
support: comments in source
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]
K&R style comment formatting
patchBZ202602.txt (text/plain), 1.46 KB, created by
Duncan Rigby
on 2008-12-01 12:12:06 EST
(
hide
)
Description:
K&R style comment formatting
Filename:
MIME Type:
Creator:
Duncan Rigby
Created:
2008-12-01 12:12:06 EST
Size:
1.46 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.datatools.sqltools.parsers.sql.query >Index: src/org/eclipse/datatools/sqltools/parsers/sql/query/AbstractSQLQueryParser.java >=================================================================== >RCS file: /cvsroot/datatools/org.eclipse.datatools.sqltools/plugins/org.eclipse.datatools.sqltools.parsers.sql.query/src/org/eclipse/datatools/sqltools/parsers/sql/query/AbstractSQLQueryParser.java,v >retrieving revision 1.3 >diff -u -r1.3 AbstractSQLQueryParser.java >--- src/org/eclipse/datatools/sqltools/parsers/sql/query/AbstractSQLQueryParser.java 31 Jan 2008 03:00:27 -0000 1.3 >+++ src/org/eclipse/datatools/sqltools/parsers/sql/query/AbstractSQLQueryParser.java 1 Dec 2008 17:07:53 -0000 >@@ -243,6 +243,13 @@ > { > sqoToAppendComment.getSourceInfo().setComments(new ArrayList()); > } >+ // BZ 202602 drigby 01 Dec 2008 >+ // If the Comment is K&R style padd with 1 leading space >+ if (comment.getText().startsWith("/*")){ >+ String _comment = comment.getText(); >+ comment.setText(" " + _comment); >+ } >+ > sqoToAppendComment.getSourceInfo().getComments().add(comment); > >
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 202602
:
119174
|
119293