Just for keeping jME2 compilable on java 1.5 with default-settings i removed some
"@Override" from momokofans ogre-serialization-classes. Or am I wrong is some way?
Index: src/com/jmex/model/ogrexml/anim/Animation.java
===================================================================
--- src/com/jmex/model/ogrexml/anim/Animation.java (revision 4740)
+++ src/com/jmex/model/ogrexml/anim/Animation.java (working copy)
@@ -123,7 +123,7 @@
return boneAnim;
}
- @Override
+
public void write(JMEExporter e) throws IOException {
OutputCapsule out = e.getCapsule(this);
@@ -133,7 +133,7 @@
out.write(meshAnim, "meshAnim", null);
}
- @Override
+
public void read(JMEImporter i) throws IOException {
InputCapsule in = i.getCapsule(this);
@@ -143,7 +143,7 @@
meshAnim = (MeshAnimation) in.readSavable("meshAnim", null);
}
- @Override
+
public Class getClassTag() {
return Animation.class;
}
Index: src/com/jmex/model/ogrexml/anim/MeshAnimation.java
===================================================================
--- src/com/jmex/model/ogrexml/anim/MeshAnimation.java (revision 4740)
+++ src/com/jmex/model/ogrexml/anim/MeshAnimation.java (working copy)
@@ -75,7 +75,7 @@
}
}
- @Override
+
public void write(JMEExporter e) throws IOException {
OutputCapsule out = e.getCapsule(this);
out.write(name, "name", "");
@@ -83,7 +83,7 @@
out.write(tracks, "tracks", null);
}
- @Override
+
public void read(JMEImporter i) throws IOException {
InputCapsule in = i.getCapsule(this);
name = in.readString("name", "");
@@ -91,7 +91,7 @@
tracks = (Track[]) in.readSavableArray("tracks", null);
}
- @Override
+
public Class getClassTag() {
return MeshAnimation.class;
}