Skip to content

Commit

Permalink
start work on #678
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 19, 2015
1 parent 44df4d2 commit ae101c6
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -144,7 +144,11 @@ public PropertyMetadata withRequired(Boolean b) {
/**
* @since 2.5
*/
public boolean hasDefuaultValue() { return (_defaultValue != null); }
public boolean hasDefuaultValue() { return hasDefaultValue(); }

// NOTE: officially only added in 2.6 (to replace 'hasDefuaultValue()'; actually added in 2.5.1
// for forwards-compatibility
public boolean hasDefaultValue() { return (_defaultValue != null); }

public boolean isRequired() { return (_required != null) && _required.booleanValue(); }

Expand Down

0 comments on commit ae101c6

Please sign in to comment.