fix warnings
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 12 Jan 2011 18:13:47 +0000 (18:13 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 12 Jan 2011 18:13:47 +0000 (18:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1058260 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/ant/jmx/JMXAccessorCondition.java
java/org/apache/catalina/ant/jmx/JMXAccessorEqualsCondition.java

index 33e8ef9..d7948a6 100644 (file)
@@ -345,6 +345,7 @@ public class JMXAccessorCondition extends ProjectComponent implements Condition
      * It support for operation ">,>=,<,<=" the types <code>long</code> and <code>double</code>.
      * @return expression <em>jmxValue</em> <em>operation</em> <em>value</em>
      */
+    @Override
     public boolean eval() {
         if (operation == null) {
             throw new BuildException("operation attribute is not set");
index b252935..b7e71df 100644 (file)
@@ -232,6 +232,7 @@ public class JMXAccessorEqualsCondition  extends ProjectComponent  implements Co
     }
 
     // This method evaluates the condition
+    @Override
     public boolean eval() {
         if (value == null) {
             throw new BuildException("value attribute is not set");