tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From violet...@apache.org
Subject svn commit: r1722650 - in /tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy: InjectionTarget.java SecurityRoleRef.java
Date Sat, 02 Jan 2016 18:14:08 GMT
Author: violetagg
Date: Sat Jan  2 18:14:07 2016
New Revision: 1722650

URL: http://svn.apache.org/viewvc?rev=1722650&view=rev
Log:
The class should implement Serializable

Modified:
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy/InjectionTarget.java
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy/SecurityRoleRef.java

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy/InjectionTarget.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy/InjectionTarget.java?rev=1722650&r1=1722649&r2=1722650&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy/InjectionTarget.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy/InjectionTarget.java Sat Jan  2 18:14:07
2016
@@ -16,7 +16,12 @@
  */
 package org.apache.catalina.deploy;
 
-public class InjectionTarget {
+import java.io.Serializable;
+
+public class InjectionTarget implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
     private String targetClass;
     private String targetName;
 

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy/SecurityRoleRef.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy/SecurityRoleRef.java?rev=1722650&r1=1722649&r2=1722650&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy/SecurityRoleRef.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy/SecurityRoleRef.java Sat Jan  2 18:14:07
2016
@@ -18,6 +18,7 @@
 
 package org.apache.catalina.deploy;
 
+import java.io.Serializable;
 
 /**
  * <p>Representation of a security role reference for a web application, as
@@ -27,8 +28,9 @@ package org.apache.catalina.deploy;
  * @author Mark Thomas
  * @since Tomcat 5.5
  */
-public class SecurityRoleRef {
+public class SecurityRoleRef implements Serializable {
 
+    private static final long serialVersionUID = 1L;
 
     // ------------------------------------------------------------- Properties
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message