use StringInterpolator
This commit is contained in:
@ -2,8 +2,7 @@ package com.imyeyu.lang.mapper;
|
||||
|
||||
import com.imyeyu.java.bean.Language;
|
||||
import com.imyeyu.java.bean.LanguageMapping;
|
||||
|
||||
import java.text.MessageFormat;
|
||||
import com.imyeyu.utils.StringInterpolator;
|
||||
|
||||
/**
|
||||
* @author 夜雨
|
||||
@ -11,7 +10,7 @@ import java.text.MessageFormat;
|
||||
*/
|
||||
public abstract class AbstractLanguageMapper implements LanguageMapping {
|
||||
|
||||
protected static final MessageFormat FORMAT = new MessageFormat("");
|
||||
protected static final StringInterpolator INTERPOLATOR = StringInterpolator.createDollarInterpolator();
|
||||
|
||||
protected final Language language;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user