fix: gwt compilation

This commit is contained in:
Hannes Janetzek
2014-01-31 06:05:44 +01:00
parent f6f64deffb
commit b3125c607e
3 changed files with 9 additions and 4 deletions

View File

@@ -10,6 +10,6 @@
<classpathentry kind="lib" path="/vtm-libs/gdx/gdx-backend-gwt.jar"/>
<classpathentry kind="lib" path="/vtm-libs/gdx/gdx-sources.jar"/>
<classpathentry kind="lib" path="/vtm-libs/gdx/gdx.jar"/>
<classpathentry kind="lib" path="/vtm-libs/libs/hudson-gwt-slf4j-2.1.2.jar"/>
<classpathentry kind="lib" path="/vtm-libs/libs/hudson-gwt-slf4j-3.0.1.jar"/>
<classpathentry kind="output" path="war/WEB-INF/classes"/>
</classpath>

View File

@@ -182,7 +182,9 @@ public class ElementLayers {
layer = mCurLayer;
if (layer.type != type) {
log.error("BUG wrong layer {} {} on layer {}",
layer.type, type, level);
Integer.valueOf(layer.type),
Integer.valueOf(type),
Integer.valueOf(level));
throw new IllegalArgumentException();
}
@@ -235,7 +237,10 @@ public class ElementLayers {
/** check if found layer matches requested type */
if (layer.type != type) {
log.error("BUG wrong layer {} {} on layer {}",
layer.type, type, level);
Integer.valueOf(layer.type),
Integer.valueOf(type),
Integer.valueOf(level));
throw new IllegalArgumentException();
}