mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
Fix method name for checkstyle
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -208,7 +208,7 @@ public class CarbonPlayerCommon implements CarbonPlayer, ForwardingAudience.Sing
|
|||||||
newIgnored.remove(player);
|
newIgnored.remove(player);
|
||||||
}
|
}
|
||||||
if (internal) {
|
if (internal) {
|
||||||
this.ignoredPlayers.setInternal(Collections.unmodifiableSet(newIgnored));
|
this.ignoredPlayers.internalSet(Collections.unmodifiableSet(newIgnored));
|
||||||
} else {
|
} else {
|
||||||
this.ignoredPlayers.set(Collections.unmodifiableSet(newIgnored));
|
this.ignoredPlayers.set(Collections.unmodifiableSet(newIgnored));
|
||||||
}
|
}
|
||||||
@@ -298,7 +298,7 @@ public class CarbonPlayerCommon implements CarbonPlayer, ForwardingAudience.Sing
|
|||||||
final Set<Key> newKeys = new HashSet<>(this.leftChannels.get());
|
final Set<Key> newKeys = new HashSet<>(this.leftChannels.get());
|
||||||
newKeys.remove(key);
|
newKeys.remove(key);
|
||||||
if (internal) {
|
if (internal) {
|
||||||
this.leftChannels.setInternal(Collections.unmodifiableSet(newKeys));
|
this.leftChannels.internalSet(Collections.unmodifiableSet(newKeys));
|
||||||
} else {
|
} else {
|
||||||
this.leftChannels.set(Collections.unmodifiableSet(newKeys));
|
this.leftChannels.set(Collections.unmodifiableSet(newKeys));
|
||||||
}
|
}
|
||||||
@@ -313,7 +313,7 @@ public class CarbonPlayerCommon implements CarbonPlayer, ForwardingAudience.Sing
|
|||||||
final Set<Key> newKeys = new HashSet<>(this.leftChannels.get());
|
final Set<Key> newKeys = new HashSet<>(this.leftChannels.get());
|
||||||
newKeys.add(channel.key());
|
newKeys.add(channel.key());
|
||||||
if (internal) {
|
if (internal) {
|
||||||
this.leftChannels.setInternal(Collections.unmodifiableSet(newKeys));
|
this.leftChannels.internalSet(Collections.unmodifiableSet(newKeys));
|
||||||
} else {
|
} else {
|
||||||
this.leftChannels.set(Collections.unmodifiableSet(newKeys));
|
this.leftChannels.set(Collections.unmodifiableSet(newKeys));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ public final class PersistentUserProperty<T> {
|
|||||||
* @param value value
|
* @param value value
|
||||||
*/
|
*/
|
||||||
@ApiStatus.Internal
|
@ApiStatus.Internal
|
||||||
public void setInternal(final @Nullable T value) {
|
public void internalSet(final @Nullable T value) {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user