summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2014-11-21 00:42:29 +0900
committerchibash <chiba@javassist.org>2014-11-21 00:42:29 +0900
commit8c08b63daaaa5b1626a8666ee6e8d16c728e99a6 (patch)
tree4fdb8ffdda472e0c330b7069fef8fe7247063476
parente68442c7468e9db66f5714c8688a8c0a6c05f7fd (diff)
downloadjavassist-8c08b63daaaa5b1626a8666ee6e8d16c728e99a6.tar.gz
javassist-8c08b63daaaa5b1626a8666ee6e8d16c728e99a6.zip
reformatted the code for fixing JASSIST-209.
It has been fixed by the previous commit, though.
-rw-r--r--Readme.html2
-rw-r--r--src/main/javassist/bytecode/annotation/ClassMemberValue.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/Readme.html b/Readme.html
index a32457e9..9782bfe4 100644
--- a/Readme.html
+++ b/Readme.html
@@ -283,7 +283,7 @@ see javassist.Dump.
<p>-version 3.19
<ul>
-<li>JIRA JASSIST-158, 205, 206, 207, 208, 211, 212, 216, 220, 223, 224, 227, 230, 234, 235, 236.
+<li>JIRA JASSIST-158, 205, 206, 207, 208, 209, 211, 212, 216, 220, 223, 224, 227, 230, 234, 235, 236.
</ul>
</p>
diff --git a/src/main/javassist/bytecode/annotation/ClassMemberValue.java b/src/main/javassist/bytecode/annotation/ClassMemberValue.java
index 6a1bcd85..7169d723 100644
--- a/src/main/javassist/bytecode/annotation/ClassMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/ClassMemberValue.java
@@ -101,10 +101,10 @@ public class ClassMemberValue extends MemberValue {
public String getValue() {
String v = cp.getUtf8Info(valueIndex);
try {
- return SignatureAttribute.toTypeSignature(v).jvmTypeName();
- } catch (BadBytecode e) {
- throw new RuntimeException(e);
- }
+ return SignatureAttribute.toTypeSignature(v).jvmTypeName();
+ } catch (BadBytecode e) {
+ throw new RuntimeException(e);
+ }
}
/**