We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18d0c25 commit 189c6bfCopy full SHA for 189c6bf
microsphere-i18n-core/src/main/java/io/microsphere/i18n/ServiceMessageSource.java
@@ -3,6 +3,7 @@
3
import io.microsphere.lang.Prioritized;
4
5
import javax.annotation.Nonnull;
6
+import javax.annotation.Nullable;
7
import java.util.List;
8
import java.util.Locale;
9
@@ -39,7 +40,7 @@ public interface ServiceMessageSource extends Prioritized {
39
40
* @param args the argument of message pattern
41
* @return <code>null</code> if message can't be found
42
*/
- @Nonnull
43
+ @Nullable
44
String getMessage(String code, Locale locale, Object... args);
45
46
default String getMessage(String code, Object... args) {
0 commit comments