#933 MakeJavafilesFiles does not support 'public enum'

cdk-1.2.x
closed
build.xml (21)
5
2012-11-03
2009-07-02
No

Which can be fixed with this patch:

diff --git a/src/main/net/sf/cdk/tools/MakeJavafilesFiles.java b/src/main/net/sf/cdk/tools/MakeJavafilesFiles.java
index 89186d0..07cf7a0 100644
--- a/src/main/net/sf/cdk/tools/MakeJavafilesFiles.java
+++ b/src/main/net/sf/cdk/tools/MakeJavafilesFiles.java
@@ -190,6 +190,7 @@ public class MakeJavafilesFiles {
}

                            if (!inComment && (line.indexOf("public class") != -1 ||
  • line.indexOf("public enum") != -1 ||
    line.indexOf("public interface") != -1 ||
    line.indexOf("public @interface") != -1 ||
    line.indexOf("abstract class") != -1 ||

Discussion

  • Egon Willighagen

    Rajarshi, can you please verify this one line patch and apply to cdk-1.2.x ?

     
  • Rajarshi Guha

    Rajarshi Guha - 2009-08-03

    Looks good, applied to 1.2.x

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks