public VersionRange cloneOf() { List<Restriction> copiedRestrictions = null; if ( restrictions != null ) { copiedRestrictions = new ArrayList<>(); if ( !restrictions.isEmpty() ) { copiedRestrictions.addAll( restrictions ); } } return new VersionRange( recommendedVersion, copiedRestrictions ); }
public VersionRange cloneOf() { List<Restriction> copiedRestrictions = null; if ( restrictions != null ) { copiedRestrictions = new ArrayList<>(); if ( !restrictions.isEmpty() ) { copiedRestrictions.addAll( restrictions ); } } return new VersionRange( recommendedVersion, copiedRestrictions ); }
public static VersionRange createFromVersion( String version ) { List<Restriction> restrictions = Collections.emptyList(); return new VersionRange( new DefaultArtifactVersion( version ), restrictions ); }
public static VersionRange createFromVersion( String version ) { List<Restriction> restrictions = Collections.emptyList(); return new VersionRange( new DefaultArtifactVersion( version ), restrictions ); }
return new VersionRange( version, restrictions );
return new VersionRange( version, restrictions );
return new VersionRange( version, restrictions );
return new VersionRange( version, restrictions );
public VersionRange cloneOf() { List<Restriction> copiedRestrictions = null; if ( restrictions != null ) { copiedRestrictions = new ArrayList<Restriction>(); if ( !restrictions.isEmpty() ) { copiedRestrictions.addAll( restrictions ); } } return new VersionRange( recommendedVersion, copiedRestrictions ); }
public static VersionRange createFromVersion( String version ) { List<Restriction> restrictions = Collections.emptyList(); return new VersionRange( new DefaultArtifactVersion( version ), restrictions ); }
return new VersionRange( version, restrictions );
return new VersionRange( version, restrictions );