fix for codacy

This commit is contained in:
Jacky 2017-12-15 21:46:09 -05:00
parent 93f60c848b
commit 659f7bc27a

View File

@ -43,7 +43,6 @@ import java.io.Writer;
import java.lang.reflect.Method;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@ -67,17 +66,11 @@ public class Project {
final static protected Map<String, Class<? extends OverlayModel>>
s_overlayModelClasses = new HashMap<String, Class<? extends OverlayModel>>();
static public void registerOverlayModel(String modelName, Class<? extends OverlayModel> klass) {
s_overlayModelClasses.put(modelName, klass);
}
final public long id;
final public List<Row> rows = new ArrayList<Row>();
final public ColumnModel columnModel = new ColumnModel();
final public RecordModel recordModel = new RecordModel();
final public Map<String, OverlayModel> overlayModels = new HashMap<String, OverlayModel>();
final public History history;
transient public ProcessManager processManager = new ProcessManager();
@ -99,6 +92,10 @@ public class Project {
this.history = new History(this);
}
static public void registerOverlayModel(String modelName, Class<? extends OverlayModel> klass) {
s_overlayModelClasses.put(modelName, klass);
}
/**
* Free/dispose of project data from memory.
*/