X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Fgeneral%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fconditions%2FGreaterThanCondition.java;h=ccd2d734fe025f25c384c9f4eb8418583a66b0b8;hb=ddd261f331280640c5b53c7128230b629ebcd268;hp=bdb9589763d02b179ae8621759cb3f254cf7cd19;hpb=32a62ca2c752e33a7873ac868a7a1f289caedcd4;p=utils diff --git a/support/general/src/test/java/org/wamblee/conditions/GreaterThanCondition.java b/support/general/src/test/java/org/wamblee/conditions/GreaterThanCondition.java index bdb95897..ccd2d734 100644 --- a/support/general/src/test/java/org/wamblee/conditions/GreaterThanCondition.java +++ b/support/general/src/test/java/org/wamblee/conditions/GreaterThanCondition.java @@ -1,39 +1,37 @@ /* * Copyright 2005 the original author or authors. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - + */ package org.wamblee.conditions; + /** - * Test condition object. + * Test condition object. * * @author Erik Brakkee */ public class GreaterThanCondition implements Condition { - - private int _value; - - public GreaterThanCondition(int aValue) { - _value = aValue; + private int value; + + public GreaterThanCondition(int aValue) { + value = aValue; } - + /* (non-Javadoc) * @see org.wamblee.conditions.Condition#matches(T) */ public boolean matches(Integer aObject) { - return aObject > _value; + return aObject > value; } - }