Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / src / bindings / java / org / simgrid / msg / As.java
index 35248f8..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
@@ -10,11 +10,11 @@ public class As {
 
        private long bind;
 
-       protected As() {
-       };
+       protected As() {}
 
+       @Override
        public String toString (){
-               return this.getName(); 
+               return this.getName();
        }
        public native String getName();
 
@@ -22,8 +22,6 @@ public class As {
 
        public native String getProperty(String name);
 
-       public native String getModel();
-
        public native Host[] getHosts();
 
        /**