From: chibash Date: Wed, 27 May 2015 14:40:10 +0000 (+0900) Subject: made SerialVersionUID.calculateDefault() public. Issue #30 X-Git-Tag: rel_3_20_0_ga~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6dc421894d4ab8f981c45cd88de853fb86fed8bf;p=javassist.git made SerialVersionUID.calculateDefault() public. Issue #30 --- diff --git a/src/main/javassist/SerialVersionUID.java b/src/main/javassist/SerialVersionUID.java index 1339af4e..c1a93bb6 100644 --- a/src/main/javassist/SerialVersionUID.java +++ b/src/main/javassist/SerialVersionUID.java @@ -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 {