Skip to content

Commit c4ad2ae

Browse files
committed
Remove deprecated WorldGroupManager methods
1 parent e16f4bb commit c4ad2ae

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

src/main/java/org/mvplugins/multiverse/inventories/profile/group/AbstractWorldGroupManager.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,6 @@ protected Map<String, WorldGroup> getGroupNames() {
9999
return groupNamesMap;
100100
}
101101

102-
/**
103-
* {@inheritDoc}
104-
*/
105-
@Override
106-
@Deprecated
107-
public void addGroup(final WorldGroup worldGroup, final boolean persist) {
108-
updateGroup(worldGroup);
109-
}
110-
111102
@Override
112103
public void updateGroup(final WorldGroup worldGroup) {
113104
getGroupNames().put(worldGroup.getName().toLowerCase(), worldGroup);
@@ -135,14 +126,6 @@ public WorldGroup newEmptyGroup(String name) {
135126
return new WorldGroup(this, profileContainerStoreProvider, name);
136127
}
137128

138-
/**
139-
* {@inheritDoc}
140-
*/
141-
@Override
142-
@Deprecated
143-
public void setGroups(List<WorldGroup> worldGroups) {
144-
}
145-
146129
/**
147130
* {@inheritDoc}
148131
*/

src/main/java/org/mvplugins/multiverse/inventories/profile/group/WorldGroupManager.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -53,25 +53,6 @@ public sealed interface WorldGroupManager permits AbstractWorldGroupManager {
5353
*/
5454
boolean hasGroup(String worldName);
5555

56-
/**
57-
* Sets up the World Groups in memory.
58-
*
59-
* @param worldGroups List of World Groups to store in memory.
60-
* @deprecated This feature is now completely unused.
61-
*/
62-
@Deprecated
63-
void setGroups(List<WorldGroup> worldGroups);
64-
65-
/**
66-
* Adds a World Group to the collection in memory, also writing it to the groups configuration.
67-
*
68-
* @param worldGroup World group to add. Casing is ignored.
69-
* @param persist This parameter is unused due to deprecation of the method.
70-
* @deprecated
71-
*/
72-
@Deprecated
73-
void addGroup(WorldGroup worldGroup, boolean persist);
74-
7556
/**
7657
* <p>Adds or updates a world group in Multiverse-Inventories.</p>
7758
*

0 commit comments

Comments
 (0)