From e68442c7468e9db66f5714c8688a8c0a6c05f7fd Mon Sep 17 00:00:00 2001 From: chibash Date: Thu, 20 Nov 2014 23:04:19 +0900 Subject: [PATCH] updated documentation for JASSIST-208 fix --- Readme.html | 2 +- src/main/javassist/bytecode/ClassFileWriter.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Readme.html b/Readme.html index 35ffa495..a32457e9 100644 --- a/Readme.html +++ b/Readme.html @@ -283,7 +283,7 @@ see javassist.Dump.

-version 3.19

diff --git a/src/main/javassist/bytecode/ClassFileWriter.java b/src/main/javassist/bytecode/ClassFileWriter.java index a6c8bfb0..d1e76ce0 100644 --- a/src/main/javassist/bytecode/ClassFileWriter.java +++ b/src/main/javassist/bytecode/ClassFileWriter.java @@ -507,6 +507,7 @@ public class ClassFileWriter { * Returns the length of the bytecode that has been added so far. * * @return the length in bytes. + * @since 3.19 */ public int size() { return output.getPos() - startPos - 14; } -- 2.39.5