From: markt Date: Tue, 26 Oct 2010 22:19:49 +0000 (+0000) Subject: Fix the javadoc and Eclipse warnings X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d927a63e57cfbd2c186b7dcb6deb290041d7afaf;p=tomcat7.0 Fix the javadoc and Eclipse warnings git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1027762 13f79535-47bb-0310-9956-ffa450edef68 --- 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; }