From 1aeffe9862a3efedd3307f78642b31b8e4cd7a96 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Mon, 2 Jul 2018 18:23:57 +0800 Subject: [PATCH] fix error --- .../web/dictionary/simple/BoostDictDefineRepository.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/BoostDictDefineRepository.java b/hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/BoostDictDefineRepository.java index 6e9033fc9..b08782ddb 100644 --- a/hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/BoostDictDefineRepository.java +++ b/hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/BoostDictDefineRepository.java @@ -32,8 +32,7 @@ public class BoostDictDefineRepository extends DefaultDictDefineRepository { if (entity == null) { return super.getDefine(id); } - List> items = new ArrayList<>(entity.getItems()); - + List> items = (List) new ArrayList<>(entity.getItems()); return DefaultDictDefine.builder() .id(id)