IntelliJ Inspection Based Cleanup
This commit is contained in:
@@ -62,7 +62,7 @@ public class EventFactionsChunksChange extends EventFactionsAbstractSender
|
||||
MPlayer msender = this.getMPlayer();
|
||||
Faction self = null;
|
||||
if (msender != null) self = msender.getFaction();
|
||||
Map<PS, EventFactionsChunkChangeType> currentChunkType = new LinkedHashMap<PS, EventFactionsChunkChangeType>();
|
||||
Map<PS, EventFactionsChunkChangeType> currentChunkType = new LinkedHashMap<>();
|
||||
for (Entry<PS, Faction> entry : this.oldChunkFaction.entrySet())
|
||||
{
|
||||
PS chunk = entry.getKey();
|
||||
|
@@ -21,7 +21,7 @@ public class EventFactionsExpansions extends EventFactionsAbstractSender
|
||||
// FIELDS
|
||||
// -------------------------------------------- //
|
||||
|
||||
private final MassiveTreeMap<String, Boolean, ComparatorCaseInsensitive> expansions = new MassiveTreeMap<String, Boolean, ComparatorCaseInsensitive>(ComparatorCaseInsensitive.get());
|
||||
private final MassiveTreeMap<String, Boolean, ComparatorCaseInsensitive> expansions = new MassiveTreeMap<>(ComparatorCaseInsensitive.get());
|
||||
public Map<String, Boolean> getExpansions() { return this.expansions; }
|
||||
|
||||
// -------------------------------------------- //
|
||||
|
@@ -36,7 +36,7 @@ public class EventFactionsFactionShowAsync extends EventFactionsAbstractSender
|
||||
{
|
||||
super(true, sender);
|
||||
this.faction = faction;
|
||||
this.idPriorityLiness = new HashMap<String, PriorityLines>();
|
||||
this.idPriorityLiness = new HashMap<>();
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -72,7 +72,7 @@ public class EventFactionsMembershipChange extends EventFactionsAbstractSender
|
||||
private final boolean cancellable;
|
||||
public boolean isCancellable() { return this.cancellable; }
|
||||
|
||||
private MembershipChangeReason(boolean cancellable)
|
||||
MembershipChangeReason(boolean cancellable)
|
||||
{
|
||||
this.cancellable = cancellable;
|
||||
}
|
||||
|
@@ -31,7 +31,7 @@ public class EventFactionsRemovePlayerMillis extends EventMassiveCore
|
||||
public long getMillis() { return this.millis; }
|
||||
public void setMillis(long millis) { this.millis = millis; }
|
||||
|
||||
private Map<String, Long> causeMillis = new LinkedHashMap<String, Long>();
|
||||
private Map<String, Long> causeMillis = new LinkedHashMap<>();
|
||||
public Map<String, Long> getCauseMillis() { return this.causeMillis; }
|
||||
|
||||
// -------------------------------------------- //
|
||||
|
Reference in New Issue
Block a user