final variables and parameters
seeing some methods it does actually help to enforce the parameters
This commit is contained in:
@@ -13,13 +13,13 @@ public final class DefaultVersion extends BaseVersion
|
||||
* @param channel either alpha, beta or release
|
||||
* @param build natural number
|
||||
*/
|
||||
public DefaultVersion( int revision, Channel channel, int build )
|
||||
public DefaultVersion( final int revision, final Channel channel, final int build )
|
||||
{
|
||||
super( revision, channel, build );
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isNewerAs( Version maybeOlder )
|
||||
public boolean isNewerAs( final Version maybeOlder )
|
||||
{
|
||||
if( this.revision() > maybeOlder.revision() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user