mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 01:57:55 +01:00
Remove deprecated guava function in config (#2327)
This removes the need to shade in the full guava library if a java program only uses bungeecord-config.
This commit is contained in:
parent
22bd43f725
commit
aef386178a
@ -1,10 +1,10 @@
|
||||
package net.md_5.bungee.config;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@ -143,7 +143,7 @@ public final class Configuration
|
||||
*/
|
||||
public Collection<String> getKeys()
|
||||
{
|
||||
return Sets.newLinkedHashSet( self.keySet() );
|
||||
return new LinkedHashSet<>( self.keySet() );
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
Loading…
Reference in New Issue
Block a user