Revision | 2110 (tree) |
---|---|
Zeit | 2020-07-29 09:47:05 |
Autor | t_nakayama1971 |
(empty log message)
@@ -139,7 +139,7 @@ | ||
139 | 139 | */ |
140 | 140 | protected void putCommonParameter(final Map<String, Object> map) { |
141 | 141 | final var user = Optional.ofNullable(getSessionUser()); |
142 | - map.putAll(user.map(SessionUser::getAttributeMap).orElse(Collections.emptyMap())); | |
142 | + map.putAll(user.map(SessionUser::getAttributeMap).orElseGet(Collections::emptyMap)); | |
143 | 143 | map.putAll(getProperty()); |
144 | 144 | map.put("Uid", getUid()); |
145 | 145 | map.put("DateTime", getDateTime()); |