Skip to content

Commit 189c6bf

Browse files
committed
Update ServiceMessageSource.java
1 parent 18d0c25 commit 189c6bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

microsphere-i18n-core/src/main/java/io/microsphere/i18n/ServiceMessageSource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import io.microsphere.lang.Prioritized;
44

55
import javax.annotation.Nonnull;
6+
import javax.annotation.Nullable;
67
import java.util.List;
78
import java.util.Locale;
89

@@ -39,7 +40,7 @@ public interface ServiceMessageSource extends Prioritized {
3940
* @param args the argument of message pattern
4041
* @return <code>null</code> if message can't be found
4142
*/
42-
@Nonnull
43+
@Nullable
4344
String getMessage(String code, Locale locale, Object... args);
4445

4546
default String getMessage(String code, Object... args) {

0 commit comments

Comments
 (0)