Skip to content

Commit

Permalink
[Code style] Make list mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
NEZNAMY committed Nov 3, 2024
1 parent 438361e commit e4e7c36
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package me.neznamy.tab.shared.config;

import com.google.common.collect.Lists;
import me.neznamy.tab.shared.TAB;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
Expand All @@ -15,7 +16,7 @@ public interface PropertyConfiguration {

/** List of all valid properties for groups and users */
@NotNull
List<String> VALID_PROPERTIES = Collections.unmodifiableList(Arrays.asList("tagprefix", "tagsuffix", "tabprefix", "customtabname", "tabsuffix", "header", "footer"));
List<String> VALID_PROPERTIES = Lists.newArrayList("tagprefix", "tagsuffix", "tabprefix", "customtabname", "tabsuffix", "header", "footer");

/**
* Sets property value of group or user to specified value. If {@code world} or
Expand Down

0 comments on commit e4e7c36

Please sign in to comment.