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

@ -1 +1 @@
Subproject commit 757a1396f6668a6ece19d7e1e7780b9dab5084fa
Subproject commit 753dc4df738d37755afb9f5c03f8fbb8a374a9b4

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();
}