TntFill Fixed & Code Cleanup
This commit is contained in:
@@ -10,14 +10,22 @@ import java.util.ArrayList;
|
||||
public class ListParameterizedType implements ParameterizedType {
|
||||
private Type type;
|
||||
|
||||
public ListParameterizedType(Type type) { this.type = type; }
|
||||
public ListParameterizedType(Type type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Type[] getActualTypeArguments() { return new Type[] { this.type }; }
|
||||
public Type[] getActualTypeArguments() {
|
||||
return new Type[]{this.type};
|
||||
}
|
||||
|
||||
@Override
|
||||
public Type getRawType() { return ArrayList.class; }
|
||||
public Type getRawType() {
|
||||
return ArrayList.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Type getOwnerType() { return null; }
|
||||
public Type getOwnerType() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,13 +6,16 @@ package com.massivecraft.factions.cmd.reserve;
|
||||
public class ReserveObject {
|
||||
private String name;
|
||||
private String factionName;
|
||||
public ReserveObject(String name, String factionName){
|
||||
|
||||
public ReserveObject(String name, String factionName) {
|
||||
this.name = name;
|
||||
this.factionName = factionName;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getFactionName() {
|
||||
return this.factionName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user