Issue #2361 undo loading maps at startup

Change-Id: If737fe16df0b11dbb2dd510697cba2ffaa5967a4

Former-commit-id: 15c1452f6970515d91b5bcc0c75de1679f561c87
This commit is contained in:
Nate Jensen 2013-10-22 12:42:41 -05:00
parent d44293baa9
commit 5e2ebbaad8

View file

@ -19,8 +19,6 @@
**/ **/
package com.raytheon.viz.ui.personalities.awips; package com.raytheon.viz.ui.personalities.awips;
import com.raytheon.uf.viz.core.maps.MapStore;
/** /**
* This is the default component for CAVE that is the standard workbench with * This is the default component for CAVE that is the standard workbench with
* all the perspectives. * all the perspectives.
@ -30,8 +28,9 @@ import com.raytheon.uf.viz.core.maps.MapStore;
* SOFTWARE HISTORY * SOFTWARE HISTORY
* Date Ticket# Engineer Description * Date Ticket# Engineer Description
* ------------ ---------- ----------- -------------------------- * ------------ ---------- ----------- --------------------------
* Aug 9, 2010 mschenke Initial creation * Aug 09, 2010 mschenke Initial creation
* Jul 1, 2013 2139 jsanchez Loaded map tree at cave start up. * Jul 01, 2013 2139 jsanchez Loaded map tree at cave start up.
* Oct 22, 2013 2361 njensen Undid 2139 fix since 2158 fixes it more efficiently
* *
* </pre> * </pre>
* *
@ -54,11 +53,7 @@ public class CAVE extends AbstractCAVEComponent {
*/ */
@Override @Override
protected void startInternal(String componentName) throws Exception { protected void startInternal(String componentName) throws Exception {
// Loading Map Tree
long t = System.currentTimeMillis();
MapStore.getMapTree();
System.out.println("Loading Map Tree: "
+ (System.currentTimeMillis() - t));
} }
} }