@ SuppressFBWarnings ( justification = "Accepting that this is a bad practice - but made more sense in this use case" , value = { "NP_BOOLEAN_RETURN_NULL" } ) public Boolean isAutoUpdate ( ) { return ( line != null && line . hasOption ( ARGUMENT . DISABLE_AUTO_UPDATE ) ) ? false : null ; }
Checks if the auto update feature has been disabled . If it has been disabled via the command line this will return false .