SDK:
- use logger in AssetDataObject git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10252 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
94da7c8190
commit
7b17e38dc1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user