From d927a63e57cfbd2c186b7dcb6deb290041d7afaf Mon Sep 17 00:00:00 2001 From: markt Date: Tue, 26 Oct 2010 22:19:49 +0000 Subject: [PATCH] Fix the javadoc and Eclipse warnings git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1027762 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/catalina/deploy/ResourceBase.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/java/org/apache/catalina/deploy/ResourceBase.java b/java/org/apache/catalina/deploy/ResourceBase.java index 660f47534..20572d62d 100644 --- a/java/org/apache/catalina/deploy/ResourceBase.java +++ b/java/org/apache/catalina/deploy/ResourceBase.java @@ -40,7 +40,7 @@ public class ResourceBase implements Serializable, Injectable { /** - * The description of this Context Element. + * The description of this resource. */ private String description = null; @@ -55,10 +55,11 @@ public class ResourceBase implements Serializable, Injectable { /** - * The name of this context Element. + * The name of this resource. */ private String name = null; + @Override public String getName() { return (this.name); } @@ -69,7 +70,7 @@ public class ResourceBase implements Serializable, Injectable { /** - * The name of the EJB bean implementation class. + * The name of the resource implementation class. */ private String type = null; @@ -102,7 +103,7 @@ public class ResourceBase implements Serializable, Injectable { } /** - * remove a configured property. + * Remove a configured property. */ public void removeProperty(String name) { properties.remove(name); @@ -117,11 +118,13 @@ public class ResourceBase implements Serializable, Injectable { private List injectionTargets = new ArrayList(); + @Override public void addInjectionTarget(String injectionTargetName, String jndiName) { InjectionTarget target = new InjectionTarget(injectionTargetName, jndiName); injectionTargets.add(target); } + @Override public List getInjectionTargets() { return injectionTargets; } -- 2.11.0