Added nullable annotations to Island#getOwner() and Island#getName()

This commit is contained in:
Florian CUNY 2019-06-13 09:57:11 +02:00
parent 8cb5234a0c
commit 0cdd774d0b

View File

@ -371,6 +371,7 @@ public class Island implements DataObject {
/** /**
* @return the island display name. Might be {@code null} if none is set. * @return the island display name. Might be {@code null} if none is set.
*/ */
@Nullable
public String getName() { public String getName() {
return name; return name;
} }
@ -378,6 +379,7 @@ public class Island implements DataObject {
/** /**
* @return the owner * @return the owner
*/ */
@Nullable
public UUID getOwner(){ public UUID getOwner(){
return owner; return owner;
} }