src/main/java/net/matrix/app/message/CodedMessage.java
private void format(final StringBuilder sb) {
		CodedMessageDefinition def = CodedMessageDefinition.getDefinition(code);
		if (def == null) {
			sb.append(MessageFormats.formatFallback(code, arguments.toArray()));
		} else {
			sb.append(MessageFormats.format(def.getTemplate(), def.getLocale(), arguments.toArray()));
		}
		for (String unformattedArgument : unformattedArguments) {
			sb.append('，');
			sb.append(unformattedArgument);
		}
	}
private void format(final StringBuilder sb) {
		CodedMessageDefinition def = CodedMessageDefinition.getDefinition(code);
		if (def == null) {
			sb.append(MessageFormats.formatFallback(code, arguments.toArray()));
		} else {
			sb.append(MessageFormats.format(def.getTemplate(), def.getLocale(), arguments.toArray()));
		}
		for (String unformattedArgument : unformattedArguments) {
			sb.append('，');
			sb.append(unformattedArgument);
		}
	}
将消息格式化为字符串。