From 659f7bc27a94074e975cd76ae50525e74ce500da Mon Sep 17 00:00:00 2001 From: Jacky Date: Fri, 15 Dec 2017 21:46:09 -0500 Subject: [PATCH] fix for codacy --- main/src/com/google/refine/model/Project.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/main/src/com/google/refine/model/Project.java b/main/src/com/google/refine/model/Project.java index 8ad1b4d50..7d35f29d2 100644 --- a/main/src/com/google/refine/model/Project.java +++ b/main/src/com/google/refine/model/Project.java @@ -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> s_overlayModelClasses = new HashMap>(); - static public void registerOverlayModel(String modelName, Class klass) { - s_overlayModelClasses.put(modelName, klass); - } - final public long id; final public List rows = new ArrayList(); - final public ColumnModel columnModel = new ColumnModel(); final public RecordModel recordModel = new RecordModel(); final public Map overlayModels = new HashMap(); - 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 klass) { + s_overlayModelClasses.put(modelName, klass); + } + /** * Free/dispose of project data from memory. */