mirror of https://github.com/apache/maven.git
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:
parent
03a383e30e
commit
531384ee21
|
@ -124,7 +124,7 @@ public class JdkVersionProfileActivator
|
|||
return 1;
|
||||
}
|
||||
}
|
||||
if ( !rangeValue.isClosed() )
|
||||
if ( !rangeValue.closed )
|
||||
{
|
||||
return isLeft ? -1 : 1;
|
||||
}
|
||||
|
@ -182,22 +182,12 @@ public class JdkVersionProfileActivator
|
|||
{
|
||||
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()
|
||||
|
|
Loading…
Reference in New Issue