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