• R/O
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision67 (tree)
Time2015-08-20 22:23:11
Authort_nakayama1971

Log Message

(empty log message)

Change Summary

Incremental Difference

--- trunk/framework/fwBase/src/core/config/EncodingProperties.java (revision 66)
+++ trunk/framework/fwBase/src/core/config/EncodingProperties.java (revision 67)
@@ -11,7 +11,6 @@
1111 import java.util.ResourceBundle;
1212
1313 import org.apache.logging.log4j.LogManager;
14-import org.apache.logging.log4j.Logger;
1514
1615
1716 /**
@@ -103,8 +102,7 @@
103102 }
104103 return ret;
105104 } catch (final MissingResourceException ex) {
106- Logger logger = LogManager.getLogger(EncodingProperties.class);
107- logger.info(ex.getMessage());
105+ LogManager.getLogger().info(ex.getMessage());
108106 return null;
109107 }
110108 }
--- trunk/framework/fwBase/src/core/config/Factory.java (revision 66)
+++ trunk/framework/fwBase/src/core/config/Factory.java (revision 67)
@@ -8,7 +8,6 @@
88 import java.util.Objects;
99
1010 import org.apache.logging.log4j.LogManager;
11-import org.apache.logging.log4j.Logger;
1211
1312 import core.exception.PhysicalException;
1413 import core.exception.ThrowableUtil;
@@ -21,9 +20,6 @@
2120 */
2221 public abstract class Factory {
2322
24- /** ログ出力 */
25- private static final Logger LOGGER = LogManager.getLogger(Factory.class);
26-
2723 /** インスタンス */
2824 private static final Factory INSTANCE = toInstance(loadClass(getClassName(Factory.class)));
2925
@@ -144,7 +140,7 @@
144140 }
145141 return cast(cl.loadClass(name));
146142 } catch (final ClassNotFoundException ex) {
147- LOGGER.info(ex.getMessage());
143+ LogManager.getLogger().info(ex.getMessage());
148144 return null;
149145 }
150146 }
@@ -219,7 +215,7 @@
219215 try {
220216 return cls != null && name != null ? cls.getMethod(name, prm) : null;
221217 } catch (final NoSuchMethodException ex) {
222- LOGGER.info(ex.getMessage());
218+ LogManager.getLogger().info(ex.getMessage());
223219 return null;
224220 }
225221 }
@@ -259,7 +255,7 @@
259255 try {
260256 return cls.getConstructor(arg);
261257 } catch (final NoSuchMethodException e) {
262- LOGGER.info(e.getMessage());
258+ LogManager.getLogger().info(e.getMessage());
263259 return null;
264260 }
265261 }
@@ -275,7 +271,7 @@
275271 try {
276272 return cons != null ? cons.newInstance(val) : null;
277273 } catch (final InstantiationException e) {
278- LOGGER.info(e.getMessage());
274+ LogManager.getLogger().info(e.getMessage());
279275 return null;
280276 } catch (final IllegalAccessException e) {
281277 LogManager.getLogger().error(e.getMessage(), e);
--- trunk/framework/fwBase/src/core/config/Env.java (revision 66)
+++ trunk/framework/fwBase/src/core/config/Env.java (revision 67)
@@ -16,7 +16,6 @@
1616 import java.util.stream.Stream;
1717
1818 import org.apache.logging.log4j.LogManager;
19-import org.apache.logging.log4j.Logger;
2019
2120 import core.exception.PhysicalException;
2221
@@ -88,8 +87,7 @@
8887 try {
8988 return Integer.parseInt(ret.replaceAll("[, ]", ""));
9089 } catch (final NumberFormatException ex) {
91- Logger logger = LogManager.getLogger(Env.class);
92- logger.info(ex.getMessage());
90+ LogManager.getLogger().info(ex.getMessage());
9391 return def;
9492 }
9593 }