X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/49e85177c669d793e84242983a1b1f430e47184e..895710d49f77179d9893bc76b3e31b69fae638af:/src/bindings/java/org/simgrid/msg/As.java diff --git a/src/bindings/java/org/simgrid/msg/As.java b/src/bindings/java/org/simgrid/msg/As.java index e8a7a983d6..6a297e2989 100644 --- a/src/bindings/java/org/simgrid/msg/As.java +++ b/src/bindings/java/org/simgrid/msg/As.java @@ -1,4 +1,4 @@ -/* Copyright (c) 2006-2014. The SimGrid Team. +/* Copyright (c) 2006-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -8,29 +8,27 @@ package org.simgrid.msg; public class As { - private long bind; - - protected As() { - }; + private long bind; - public String toString (){ - return this.getName(); - } - public native String getName(); + protected As() {} - public native As[] getSons(); + @Override + public String toString (){ + return this.getName(); + } + public native String getName(); - public native String getProperty(String name); + public native As[] getSons(); - public native String getModel(); + public native String getProperty(String name); - public native Host[] getHosts(); + public native Host[] getHosts(); - /** - * Class initializer, to initialize various JNI stuff - */ - public static native void nativeInit(); - static { - nativeInit(); - } + /** + * Class initializer, to initialize various JNI stuff + */ + public static native void nativeInit(); + static { + nativeInit(); + } }