Simplify Database Constructors. Use Setters.
This commit is contained in:
parent
9212ccf6ce
commit
159b89ee51
@ -29,7 +29,9 @@ public class BoardColl extends Coll<Board> implements BoardInterface
|
||||
public static BoardColl get() { return i; }
|
||||
private BoardColl()
|
||||
{
|
||||
super(Const.COLLECTION_BOARD, Board.class, MStore.getDb(), Factions.get(), true, true, false);
|
||||
super(Const.COLLECTION_BOARD, Board.class, MStore.getDb(), Factions.get());
|
||||
this.setCreative(true);
|
||||
this.setLowercasing(true);
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
|
@ -18,7 +18,8 @@ public class MFlagColl extends Coll<MFlag>
|
||||
public static MFlagColl get() { return i; }
|
||||
private MFlagColl()
|
||||
{
|
||||
super(Const.COLLECTION_MFLAG, MFlag.class, MStore.getDb(), Factions.get(), false, true, false);
|
||||
super(Const.COLLECTION_MFLAG, MFlag.class, MStore.getDb(), Factions.get());
|
||||
this.setLowercasing(true);
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
|
@ -18,7 +18,8 @@ public class MPermColl extends Coll<MPerm>
|
||||
public static MPermColl get() { return i; }
|
||||
private MPermColl()
|
||||
{
|
||||
super(Const.COLLECTION_MPERM, MPerm.class, MStore.getDb(), Factions.get(), false, true, false);
|
||||
super(Const.COLLECTION_MPERM, MPerm.class, MStore.getDb(), Factions.get());
|
||||
this.setLowercasing(true);
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
|
Loading…
Reference in New Issue
Block a user