Skip to content

Commit

Permalink
Update I18nEndpoint.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed May 9, 2024
1 parent ec7de98 commit 4812112
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

Expand Down Expand Up @@ -76,7 +77,7 @@ public void initServiceMessageSources(ServiceMessageSource serviceMessageSource)
public Map<String, Map<String, String>> invoke() {
List<ServiceMessageSource> serviceMessageSources = this.serviceMessageSources;
int size = serviceMessageSources.size();
Map<String, Map<String, String>> allLocalizedResourceMessages = new HashMap<>(size);
Map<String, Map<String, String>> allLocalizedResourceMessages = new LinkedHashMap<>(size);
for (int i = 0; i < size; i++) {
ServiceMessageSource serviceMessageSource = serviceMessageSources.get(i);
List<ServiceMessageSource> subServiceMessageSources = findAllServiceMessageSources(serviceMessageSource);
Expand Down

0 comments on commit 4812112

Please sign in to comment.