o Simplified code

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@900023 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2010-01-16 20:47:17 +00:00
parent 03a383e30e
commit 531384ee21
1 changed files with 4 additions and 14 deletions

View File

@ -124,7 +124,7 @@ else if ( x > y )
return 1;
}
}
if ( !rangeValue.isClosed() )
if ( !rangeValue.closed )
{
return isLeft ? -1 : 1;
}
@ -182,22 +182,12 @@ private static class RangeValue
{
private String value;
private boolean isClosed;
private boolean closed;
RangeValue( String value, boolean isClosed )
RangeValue( String value, boolean closed )
{
this.value = value.trim();
this.isClosed = isClosed;
}
public String getValue()
{
return value;
}
public boolean isClosed()
{
return isClosed;
this.closed = closed;
}
public String toString()