Author: markt
Date: Tue Oct 26 22:19:49 2010
New Revision: 1027762
URL: http://svn.apache.org/viewvc?rev=1027762&view=rev
Log:
Fix the javadoc and Eclipse warnings
Modified:
tomcat/trunk/java/org/apache/catalina/deploy/ResourceBase.java
Modified: tomcat/trunk/java/org/apache/catalina/deploy/ResourceBase.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ResourceBase.java?rev=1027762&r1=1027761&r2=1027762&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ResourceBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ResourceBase.java Tue Oct 26
22:19:49 2010
@@ -40,7 +40,7 @@ public class ResourceBase implements Ser
/**
- * The description of this Context Element.
+ * The description of this resource.
*/
private String description = null;
@@ -55,10 +55,11 @@ public class ResourceBase implements Ser
/**
- * 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 Ser
/**
- * 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 Ser
}
/**
- * remove a configured property.
+ * Remove a configured property.
*/
public void removeProperty(String name) {
properties.remove(name);
@@ -117,11 +118,13 @@ public class ResourceBase implements Ser
private List<InjectionTarget> injectionTargets = new
ArrayList<InjectionTarget>();
+ @Override
public void addInjectionTarget(String injectionTargetName, String
jndiName) {
InjectionTarget target = new InjectionTarget(injectionTargetName,
jndiName);
injectionTargets.add(target);
}
+ @Override
public List<InjectionTarget> getInjectionTargets() {
return injectionTargets;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]