File: default-comment-style.diff

package info (click to toggle)
eigenbase-resgen 1.3.0.13768-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 996 kB
  • sloc: java: 7,956; xml: 729; makefile: 13; sh: 6
file content (14 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Use the scm-safe comment style by default (improves the reproducibility)
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/src/org/eigenbase/resgen/ResourceGenTask.java
+++ b/src/org/eigenbase/resgen/ResourceGenTask.java
@@ -164,7 +164,7 @@
     int style = STYLE_DYNAMIC;
     String locales;
     boolean force;
-    int commentStyle = COMMENT_STYLE_NORMAL;
+    int commentStyle = COMMENT_STYLE_SCM_SAFE;
 
     private static final int MODE_UNKNOWN = -1;
     private static final int MODE_JAVA = 1;