commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [lang] Avoid serialisation warning
Date Sat, 28 May 2016 12:43:49 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master 17e654881 -> 9625891a7


Avoid serialisation warning

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/9625891a
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/9625891a
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/9625891a

Branch: refs/heads/master
Commit: 9625891a7bbc0a8b11f7cf9c2b4650775ec8ac53
Parents: 17e6548
Author: Sebb <sebb@apache.org>
Authored: Sat May 28 13:43:46 2016 +0100
Committer: Sebb <sebb@apache.org>
Committed: Sat May 28 13:43:46 2016 +0100

----------------------------------------------------------------------
 .../org/apache/commons/lang3/test/NotVisibleExceptionFactory.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/9625891a/src/test/java/org/apache/commons/lang3/test/NotVisibleExceptionFactory.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/test/NotVisibleExceptionFactory.java b/src/test/java/org/apache/commons/lang3/test/NotVisibleExceptionFactory.java
index 70c1289..dffb0c2 100644
--- a/src/test/java/org/apache/commons/lang3/test/NotVisibleExceptionFactory.java
+++ b/src/test/java/org/apache/commons/lang3/test/NotVisibleExceptionFactory.java
@@ -20,6 +20,8 @@ public class NotVisibleExceptionFactory {
 
   private static class NotVisibleException extends Exception {
 
+    private static final long serialVersionUID = 1L; // avoid warning
+
     private final Throwable cause;
 
     private NotVisibleException(Throwable cause) {


Mime
View raw message