Merge "Issue #2361 undo loading maps at startup" into development

Former-commit-id: ced02a508a [formerly 9e3b9ba67aafbcb0bfe7de147d00c44aa37403ac]
Former-commit-id: 88ca2a78de
This commit is contained in:
Nate Jensen 2013-10-22 13:05:22 -05:00 committed by Gerrit Code Review
commit 173e28b9d9

View file

@ -19,8 +19,6 @@
**/
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
* all the perspectives.
@ -30,8 +28,9 @@ import com.raytheon.uf.viz.core.maps.MapStore;
* SOFTWARE HISTORY
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Aug 9, 2010 mschenke Initial creation
* Jul 1, 2013 2139 jsanchez Loaded map tree at cave start up.
* Aug 09, 2010 mschenke Initial creation
* 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>
*
@ -54,11 +53,7 @@ public class CAVE extends AbstractCAVEComponent {
*/
@Override
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));
}
}