• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

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

OmegaT の背景に画像を表示します。


Commit MetaInfo

Revision71 (tree)
Time2014-05-30 13:31:19
Authoryu-tang

Log Message

エラーのロギング引数違いを修正

Change Summary

Incremental Difference

--- trunk/src/jp/sourceforge/users/yutang/omegat/plugin/moenizer/Moenizer.java (revision 70)
+++ trunk/src/jp/sourceforge/users/yutang/omegat/plugin/moenizer/Moenizer.java (revision 71)
@@ -16,10 +16,7 @@
1616
1717 package jp.sourceforge.users.yutang.omegat.plugin.moenizer;
1818
19-import java.awt.image.BufferedImage;
20-import java.util.concurrent.TimeUnit;
2119 import javax.swing.SwingUtilities;
22-import javax.swing.SwingWorker;
2320 import org.omegat.core.Core;
2421 import org.omegat.core.CoreEvents;
2522 import org.omegat.core.events.IApplicationEventListener;
@@ -49,7 +46,7 @@
4946 }
5047 } catch (Throwable ex) {
5148 String msg = ex.getMessage();
52- Log.logErrorRB(msg);
49+ Log.logErrorRB("LD_ERROR", msg);
5350 Core.pluginLoadingError(msg);
5451 }
5552 }
@@ -76,7 +73,7 @@
7673 }
7774 });
7875 //CoreEvents.unregisterApplicationEventListener(this); // ここで発行すると、スレッドエラーになるので注意
79- } catch(Exception e) {
76+ } catch (Exception e) {
8077 Log.log("Error raised at " + this.getClass().getCanonicalName() + ".onApplicationStartup()\n" + e);
8178 e.printStackTrace();
8279 }