Polish "Adds support for useCodeAsDefaultMessage"

Closes gh-10466
This commit is contained in:
Stephane Nicoll
2017-10-02 15:43:27 +02:00
parent a68ec76bb6
commit 6c826ef0b6
3 changed files with 6 additions and 3 deletions

View File

@@ -59,7 +59,8 @@ public class MessageSourceProperties {
private boolean alwaysUseMessageFormat = false;
/**
* Set whether to use the message code as default message instead of throwing a NoSuchMessageException.
* Set whether to use the message code as default message instead of throwing a
* "NoSuchMessageException". Recommended during development only.
*/
private boolean useCodeAsDefaultMessage = false;
@@ -110,4 +111,5 @@ public class MessageSourceProperties {
public void setUseCodeAsDefaultMessage(final boolean useCodeAsDefaultMessage) {
this.useCodeAsDefaultMessage = useCodeAsDefaultMessage;
}
}