From 9625891a7bbc0a8b11f7cf9c2b4650775ec8ac53 Mon Sep 17 00:00:00 2001 From: Sebb Date: Sat, 28 May 2016 13:43:46 +0100 Subject: [PATCH] Avoid serialisation warning --- .../apache/commons/lang3/test/NotVisibleExceptionFactory.java | 2 ++ 1 file changed, 2 insertions(+) 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 70c1289f9..dffb0c2c1 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) {