Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
portlek committed Sep 30, 2024
1 parent 95e719d commit f593980
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.util.Map;
import java.util.Optional;
import net.infumia.frame.type.InvType;
import net.infumia.frame.util.Preconditions;
import net.infumia.frame.view.config.ViewConfigModifier;
import net.infumia.frame.view.config.option.ViewConfigOption;
import org.jetbrains.annotations.NotNull;
Expand All @@ -25,7 +24,6 @@ final class ViewConfigImpl implements ViewConfigRich {
final Duration interactionDelay;

ViewConfigImpl(@NotNull final ViewConfigBuilderImpl builder) {
Preconditions.argumentNotNull(builder.title, "Title cannot be null!");
this.options = Collections.unmodifiableMap(builder.options);
this.modifiers = Collections.unmodifiableCollection(builder.modifiers);
this.title = builder.title;
Expand All @@ -36,7 +34,7 @@ final class ViewConfigImpl implements ViewConfigRich {
this.interactionDelay = builder.interactionDelay;
}

@NotNull
@Nullable
@Override
public Object title() {
return this.title;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
import org.jetbrains.annotations.NotNull;

public interface ViewConfigRich extends ViewConfig, ViewConfigOptionController {
@NotNull
@Override
Object title();

@NotNull
ViewConfigBuilderRich toBuilder();
}

0 comments on commit f593980

Please sign in to comment.