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/modelbase/sql/query/util/SQLQuerySourceWriter.java (+5 lines)
Lines 1193-1198 Link Here
1193
            if (trimText.startsWith(COMMENT_PREFIX_MULTI_LINE) == false) {
1193
            if (trimText.startsWith(COMMENT_PREFIX_MULTI_LINE) == false) {
1194
                sbComment.append(COMMENT_PREFIX_MULTI_LINE);
1194
                sbComment.append(COMMENT_PREFIX_MULTI_LINE);
1195
            }
1195
            }
1196
            // BZ 202602 drigby 02 Dec 2008
1197
            // If the comment is a multiline comment padd with 1 leading space
1198
            if (trimText.startsWith(COMMENT_PREFIX_MULTI_LINE)) {
1199
                sbComment.append(" ");
1200
            } 
1196
            sbComment.append(text);
1201
            sbComment.append(text);
1197
            if (trimText.endsWith(COMMENT_SUFFIX_MULTI_LINE) == false) {
1202
            if (trimText.endsWith(COMMENT_SUFFIX_MULTI_LINE) == false) {
1198
                sbComment.append(COMMENT_SUFFIX_MULTI_LINE);
1203
                sbComment.append(COMMENT_SUFFIX_MULTI_LINE);

Return to bug 202602