Follow standard guidelines for predicate methods.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3747 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-11-05 02:25:56 +00:00
parent 6cb4345c6c
commit 6e9687ac9b
+4 -4
View File
@@ -71,15 +71,15 @@ public class Name extends SimpleStreamableObject
*/
public boolean isValid ()
{
return !blank();
return !isBlank();
}
/**
* Returns true if this name is blank, false if it contains data.
*/
public boolean blank ()
public boolean isBlank ()
{
return blank(this);
return isBlank(this);
}
/**
@@ -125,7 +125,7 @@ public class Name extends SimpleStreamableObject
* Returns true if this name is null or blank, false if it contains
* useful data. This works on derived classes as well.
*/
public static boolean blank (Name name)
public static boolean isBlank (Name name)
{
return (name == null || name.toString().equals(BLANK.toString()));
}