Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 202602 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/datatools/sqltools/parsers/sql/query/AbstractSQLQueryParser.java (+7 lines)
Lines 243-248 Link Here
243
                            {
243
                            {
244
                                sqoToAppendComment.getSourceInfo().setComments(new ArrayList());
244
                                sqoToAppendComment.getSourceInfo().setComments(new ArrayList());
245
                            }
245
                            }
246
                            // BZ 202602 drigby 01 Dec 2008
247
                            // If the Comment is K&R style padd with 1 leading space
248
                            if (comment.getText().startsWith("/*")){
249
                            	String _comment = comment.getText();
250
                            	comment.setText(" " + _comment);
251
                            }
252
                            	
246
                        	sqoToAppendComment.getSourceInfo().getComments().add(comment);
253
                        	sqoToAppendComment.getSourceInfo().getComments().add(comment);
247
                            
254
                            
248
                        	
255
                        	

Return to bug 202602