Skip to content

Commit c962991

Browse files
committed
cleaning the API example
#8
1 parent e8d65ee commit c962991

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

schema

src/test/java/mujoco/java/XMLtest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public void marshal() throws JAXBException {
2828
Builder<Void> builder = Mujoco.builder();
2929
builder.addActuator().addCylinder();
3030
builder.addActuator().addMotor();
31-
org.mujoco.xml.Mujoco.Worldbody.Builder<? extends Builder<Void>> addWorldbody = builder.addWorldbody();
32-
org.mujoco.xml.BodyarchType.Builder<? extends Mujoco.Worldbody.Builder<?>> topbody = addWorldbody.addBody();
31+
Mujoco.Worldbody.Builder<?> addWorldbody = builder.addWorldbody();
32+
BodyarchType.Builder<?> topbody = addWorldbody.addBody();
3333
topbody.withName("torso");
3434
topbody.withChildclass("body");
3535
topbody.withPos("0 0 1.282");

0 commit comments

Comments
 (0)