Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / src / bindings / java / org / simgrid / msg / As.java
index e8a7a98..a917bf5 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2014. The SimGrid Team.
+/* Copyright (c) 2006-2021. 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();
+       }
 }