瀏覽代碼

SDK:
- use logger in AssetDataObject

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10252 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

nor..67 12 年之前
父節點
當前提交
3cb621aaee
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      jme3-core/src/com/jme3/gde/core/assets/AssetDataObject.java

+ 2 - 1
jme3-core/src/com/jme3/gde/core/assets/AssetDataObject.java

@@ -36,6 +36,7 @@ import com.jme3.asset.AssetKey;
 import com.jme3.export.Savable;
 import com.jme3.export.binary.BinaryExporter;
 import com.jme3.gde.core.scene.SceneApplication;
+import com.jme3.gde.core.util.notify.NotifyUtil;
 import java.io.IOException;
 import java.io.OutputStream;
 import java.lang.reflect.InvocationTargetException;
@@ -192,7 +193,7 @@ public class AssetDataObject extends MultiDataObject {
 
     public synchronized void saveAsset() throws IOException {
         if (savable == null) {
-            Logger.getLogger(AssetDataObject.class.getName()).log(Level.WARNING, "Trying to write asset failed, asset data null!\nImport failed?");
+            logger.log(Level.WARNING, "Trying to write asset failed, asset data null!\nImport failed?");
             return;
         }
         final Savable savable = this.savable;