Skip to content

Commit fe000d9

Browse files
committed
undid autoformatting again
1 parent 011bf8a commit fe000d9

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

openid-connect-server/src/main/java/org/mitre/openid/connect/config/JsonMessageSource.java

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,6 @@
1616

1717
package org.mitre.openid.connect.config;
1818

19-
import com.google.common.base.Splitter;
20-
import com.google.gson.JsonElement;
21-
import com.google.gson.JsonIOException;
22-
import com.google.gson.JsonObject;
23-
import com.google.gson.JsonParser;
24-
import com.google.gson.JsonSyntaxException;
25-
import org.slf4j.Logger;
26-
import org.slf4j.LoggerFactory;
27-
import org.springframework.beans.factory.annotation.Autowired;
28-
import org.springframework.context.support.AbstractMessageSource;
29-
import org.springframework.core.io.Resource;
30-
3119
import java.io.File;
3220
import java.io.FileNotFoundException;
3321
import java.io.IOException;
@@ -40,6 +28,19 @@
4028
import java.util.Locale;
4129
import java.util.Map;
4230

31+
import org.slf4j.Logger;
32+
import org.slf4j.LoggerFactory;
33+
import org.springframework.beans.factory.annotation.Autowired;
34+
import org.springframework.context.support.AbstractMessageSource;
35+
import org.springframework.core.io.Resource;
36+
37+
import com.google.common.base.Splitter;
38+
import com.google.gson.JsonElement;
39+
import com.google.gson.JsonIOException;
40+
import com.google.gson.JsonObject;
41+
import com.google.gson.JsonParser;
42+
import com.google.gson.JsonSyntaxException;
43+
4344
/**
4445
* @author jricher
4546
*/
@@ -81,6 +82,9 @@ protected MessageFormat resolveCode(String code, Locale locale) {
8182

8283
/**
8384
* Get a value from the set of maps, taking the first match in order
85+
* @param code
86+
* @param langs
87+
* @return
8488
*/
8589
private String getValue(String code, List<JsonObject> langs) {
8690
if (langs == null || langs.isEmpty()) {
@@ -102,6 +106,9 @@ private String getValue(String code, List<JsonObject> langs) {
102106

103107
/**
104108
* Get a value from a single map
109+
* @param code
110+
* @param lang
111+
* @return
105112
*/
106113
private String getValue(String code, JsonObject lang) {
107114

0 commit comments

Comments
 (0)