From 4ab08c51262cc682aef11e7ccfab1950550d7789 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Thu, 22 Mar 2018 17:52:30 +0800 Subject: [PATCH] update code --- .../com/lyms/platform/operate/web/facade/BasicConfigFacade.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BasicConfigFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BasicConfigFacade.java index 01237c9..766db96 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BasicConfigFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BasicConfigFacade.java @@ -122,14 +122,12 @@ public class BasicConfigFacade { } } } - long start = System.currentTimeMillis(); - for (BasicConfig bs : mainBasicConfigList) { + for (BasicConfig bs : mainBasicConfigList) { configData(bs, slaveBasicConfigMap); sortBasicConfig(bs); } - long end = System.currentTimeMillis(); - System.out.println(end-start); + Collections.sort(mainBasicConfigList, new Comparator() { @Override public int compare(BasicConfig o1, BasicConfig o2) { -- 1.8.3.1