Browse Source

update: 修改格式

master
zjz1993 5 years ago
parent
commit
2706950e44
  1. 1
      src/main/java/com/fanruan/api/conf/HolderKit.java
  2. 6
      src/main/java/com/fanruan/api/i18n/I18nKit.java

1
src/main/java/com/fanruan/api/conf/HolderKit.java

@ -6,7 +6,6 @@ import com.fanruan.api.conf.impl.ObjectColConf;
import com.fanruan.api.conf.impl.ObjectMapConf; import com.fanruan.api.conf.impl.ObjectMapConf;
import com.fanruan.api.conf.impl.SimConf; import com.fanruan.api.conf.impl.SimConf;
import com.fr.config.holder.Conf; import com.fr.config.holder.Conf;
import com.fr.config.holder.factory.Holders;
import java.util.Collection; import java.util.Collection;

6
src/main/java/com/fanruan/api/i18n/I18nKit.java

@ -1,4 +1,5 @@
package com.fanruan.api.i18n; package com.fanruan.api.i18n;
import com.fr.locale.InterProviderFactory; import com.fr.locale.InterProviderFactory;
public class I18nKit { public class I18nKit {
@ -11,6 +12,7 @@ public class I18nKit {
public static String getLocText(String string) { public static String getLocText(String string) {
return InterProviderFactory.getProvider().getLocText(string); return InterProviderFactory.getProvider().getLocText(string);
} }
/** /**
* 获取国际化文本 * 获取国际化文本
* *
@ -18,7 +20,7 @@ public class I18nKit {
* @param args 变量 * @param args 变量
* @return 返回国际化文本 * @return 返回国际化文本
*/ */
public static String getLocText(String string,String... args) { public static String getLocText(String string, String... args) {
return InterProviderFactory.getProvider().getLocText(string,args); return InterProviderFactory.getProvider().getLocText(string, args);
} }
} }

Loading…
Cancel
Save