]> source.dussan.org Git - javassist.git/commitdiff
made SerialVersionUID.calculateDefault() public. Issue #30
authorchibash <chiba@javassist.org>
Wed, 27 May 2015 14:40:10 +0000 (23:40 +0900)
committerchibash <chiba@javassist.org>
Wed, 27 May 2015 14:40:10 +0000 (23:40 +0900)
src/main/javassist/SerialVersionUID.java

index 1339af4e832ed5d9d7b6691a302726b3d7f8c3e3..c1a93bb691166ca81520728bae29c17d3eb2856d 100644 (file)
@@ -70,8 +70,10 @@ public class SerialVersionUID {
     /**
      * Calculate default value. See Java Serialization Specification, Stream
      * Unique Identifiers.
+     *
+     * @since 3.20
      */
-    static long calculateDefault(CtClass clazz)
+    public static long calculateDefault(CtClass clazz)
         throws CannotCompileException
     {
         try {