From 723ef53b8825b3f5c1630a6e20236925d5469d56 Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 1 Jan 2010 18:31:17 +0000 Subject: [PATCH] Fix some trivial Eclipse warnings git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895048 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/jasper/el/JspELException.java | 2 ++ java/org/apache/jasper/el/JspMethodNotFoundException.java | 2 ++ java/org/apache/jasper/el/JspPropertyNotFoundException.java | 2 ++ java/org/apache/jasper/el/JspPropertyNotWritableException.java | 2 ++ 4 files changed, 8 insertions(+) diff --git a/java/org/apache/jasper/el/JspELException.java b/java/org/apache/jasper/el/JspELException.java index c9cf3022f..3651a6521 100644 --- a/java/org/apache/jasper/el/JspELException.java +++ b/java/org/apache/jasper/el/JspELException.java @@ -20,6 +20,8 @@ import javax.el.ELException; public class JspELException extends ELException { + private static final long serialVersionUID = 1L; + public JspELException(String mark, ELException e) { super(mark + " " + e.getMessage(), e.getCause()); } diff --git a/java/org/apache/jasper/el/JspMethodNotFoundException.java b/java/org/apache/jasper/el/JspMethodNotFoundException.java index abb9d30ff..249576d35 100644 --- a/java/org/apache/jasper/el/JspMethodNotFoundException.java +++ b/java/org/apache/jasper/el/JspMethodNotFoundException.java @@ -20,6 +20,8 @@ import javax.el.MethodNotFoundException; public class JspMethodNotFoundException extends MethodNotFoundException { + private static final long serialVersionUID = 1L; + public JspMethodNotFoundException(String mark, MethodNotFoundException e) { super(mark + " " + e.getMessage(), e.getCause()); } diff --git a/java/org/apache/jasper/el/JspPropertyNotFoundException.java b/java/org/apache/jasper/el/JspPropertyNotFoundException.java index 89ac40b4a..e09b763f8 100644 --- a/java/org/apache/jasper/el/JspPropertyNotFoundException.java +++ b/java/org/apache/jasper/el/JspPropertyNotFoundException.java @@ -21,6 +21,8 @@ import javax.el.PropertyNotFoundException; public final class JspPropertyNotFoundException extends PropertyNotFoundException { + private static final long serialVersionUID = 1L; + public JspPropertyNotFoundException(String mark, PropertyNotFoundException e) { super(mark + " " + e.getMessage(), e.getCause()); } diff --git a/java/org/apache/jasper/el/JspPropertyNotWritableException.java b/java/org/apache/jasper/el/JspPropertyNotWritableException.java index 70507a4a5..95107775e 100644 --- a/java/org/apache/jasper/el/JspPropertyNotWritableException.java +++ b/java/org/apache/jasper/el/JspPropertyNotWritableException.java @@ -21,6 +21,8 @@ import javax.el.PropertyNotWritableException; public class JspPropertyNotWritableException extends PropertyNotWritableException { + private static final long serialVersionUID = 1L; + public JspPropertyNotWritableException(String mark, PropertyNotWritableException e) { super(mark + " " + e.getMessage(), e.getCause()); } -- 2.11.0