public boolean isDefault ( SqlLineProperty property ) { final String defaultValue = String . valueOf ( property . defaultValue ( ) ) ; final String currentValue = get ( property ) ; return String . valueOf ( ( Object ) null ) . equals ( currentValue ) || Objects . equals ( currentValue , defaultValue ) ; }
Returns whether the property is its default value .