Simplify Database Constructors. Use Setters.

This commit is contained in:
Olof Larsson 2015-12-01 11:23:47 +01:00
parent 9212ccf6ce
commit 159b89ee51
3 changed files with 7 additions and 3 deletions

View File

@ -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);
}
// -------------------------------------------- //

View File

@ -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);
}
// -------------------------------------------- //

View File

@ -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);
}
// -------------------------------------------- //