Fix compile

This commit is contained in:
Luck 2018-03-12 21:27:23 +00:00
parent 907d716929
commit 60aa7c6104
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -101,6 +101,13 @@ class NodeBuilder implements Node.Builder {
return this; return this;
} }
@Nonnull
@Override
public Node.Builder clearExpiry() {
this.expireAt = 0L;
return this;
}
@Nonnull @Nonnull
@Override @Override
public Node.Builder setWorld(String world) { public Node.Builder setWorld(String world) {
@ -167,6 +174,13 @@ class NodeBuilder implements Node.Builder {
return this; return this;
} }
@Nonnull
@Override
public Node.Builder setExtraContext(@Nonnull ContextSet contextSet) {
this.extraContexts = ImmutableContextSet.builder().addAll(contextSet);
return this;
}
@Nonnull @Nonnull
@Override @Override
public Node build() { public Node build() {