X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Fgeneral%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fconditions%2FLessThanCondition.java;h=820819527d250211beffb406bfc8e066c54b765b;hb=4a575582a5c2999bd816b197d9cf274b4b3ddcd7;hp=06ab192a781001cf2f2d1e9046325486072215c9;hpb=32a62ca2c752e33a7873ac868a7a1f289caedcd4;p=utils diff --git a/support/general/src/test/java/org/wamblee/conditions/LessThanCondition.java b/support/general/src/test/java/org/wamblee/conditions/LessThanCondition.java index 06ab192a..82081952 100644 --- a/support/general/src/test/java/org/wamblee/conditions/LessThanCondition.java +++ b/support/general/src/test/java/org/wamblee/conditions/LessThanCondition.java @@ -1,5 +1,5 @@ /* - * Copyright 2005 the original author or authors. + * Copyright 2005-2010 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. @@ -12,28 +12,27 @@ * 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 LessThanCondition implements Condition { - - private int _value; - - public LessThanCondition(int aValue) { - _value = aValue; + private int value; + + public LessThanCondition(int aValue) { + value = aValue; } - - /* (non-Javadoc) + + /* + * (non-Javadoc) + * * @see org.wamblee.conditions.Condition#matches(T) */ public boolean matches(Integer aObject) { - return aObject < _value; + return aObject < value; } - }