diff options
author | nickl- <github@jigsoft.co.za> | 2017-10-28 06:18:43 +0200 |
---|---|---|
committer | nickl- <github@jigsoft.co.za> | 2017-10-28 08:59:37 +0200 |
commit | cd3aa325301e1db20c229f9dce92f86e914ad798 (patch) | |
tree | e616f82e21788f2dabd98504e1b005b7dc4b2eb8 /src/test/test4 | |
parent | ce84f84a174b279ee3e8a38446ea3a1f23bf8287 (diff) | |
download | javassist-cd3aa325301e1db20c229f9dce92f86e914ad798.tar.gz javassist-cd3aa325301e1db20c229f9dce92f86e914ad798.zip |
Added default serialVersionUID.
Diffstat (limited to 'src/test/test4')
-rw-r--r-- | src/test/test4/GetAllRefInnerTest.java | 3 | ||||
-rw-r--r-- | src/test/test4/JIRA181.java | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/test/test4/GetAllRefInnerTest.java b/src/test/test4/GetAllRefInnerTest.java index 352b3252..a4921caf 100644 --- a/src/test/test4/GetAllRefInnerTest.java +++ b/src/test/test4/GetAllRefInnerTest.java @@ -20,6 +20,9 @@ public class GetAllRefInnerTest<T> { } public Object foo() { return new java.util.HashSet<String>() { + /** default serialVersionUID */ + private static final long serialVersionUID = 1L; + public String toString() { return this.getClass().toString(); } }; } diff --git a/src/test/test4/JIRA181.java b/src/test/test4/JIRA181.java index c3d2f45a..7c0b0930 100644 --- a/src/test/test4/JIRA181.java +++ b/src/test/test4/JIRA181.java @@ -3,6 +3,9 @@ package test4; import java.util.ArrayList; public class JIRA181<T extends Number> extends ArrayList<T> { + /** default serialVersionUID */ + private static final long serialVersionUID = 1L; + public @interface Condition { Class<? extends ICondition> condition(); } |