fix for codacy
This commit is contained in:
parent
93f60c848b
commit
659f7bc27a
@ -43,7 +43,6 @@ import java.io.Writer;
|
|||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -67,17 +66,11 @@ public class Project {
|
|||||||
final static protected Map<String, Class<? extends OverlayModel>>
|
final static protected Map<String, Class<? extends OverlayModel>>
|
||||||
s_overlayModelClasses = new HashMap<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 long id;
|
||||||
final public List<Row> rows = new ArrayList<Row>();
|
final public List<Row> rows = new ArrayList<Row>();
|
||||||
|
|
||||||
final public ColumnModel columnModel = new ColumnModel();
|
final public ColumnModel columnModel = new ColumnModel();
|
||||||
final public RecordModel recordModel = new RecordModel();
|
final public RecordModel recordModel = new RecordModel();
|
||||||
final public Map<String, OverlayModel> overlayModels = new HashMap<String, OverlayModel>();
|
final public Map<String, OverlayModel> overlayModels = new HashMap<String, OverlayModel>();
|
||||||
|
|
||||||
final public History history;
|
final public History history;
|
||||||
|
|
||||||
transient public ProcessManager processManager = new ProcessManager();
|
transient public ProcessManager processManager = new ProcessManager();
|
||||||
@ -99,6 +92,10 @@ public class Project {
|
|||||||
this.history = new History(this);
|
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.
|
* Free/dispose of project data from memory.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user