Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill trailing whitespaces in source code files.
[simgrid.git] / src / bindings / java / org / simgrid / msg / Task.java
index 033ba6e..c93c03c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2006-2021. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -43,7 +43,7 @@ public class Task {
         *                              If 0, then it cannot be executed with the execute() method.
         *                              This value has to be ≥ 0.
         *
-        * @param bytesAmount           A value of amount of data (in bytes) needed to transfert this task.
+        * @param bytesAmount           A value of amount of data (in bytes) needed to transfer this task.
         *                              If 0, then it cannot be transferred with the get() and put() methods.
         *                              This value has to be ≥ 0.
         */
@@ -52,9 +52,9 @@ public class Task {
                        throw new IllegalArgumentException("Task flopsAmount (" + flopsAmount + ") cannot be negative");
                if (bytesAmount<0)
                        throw new IllegalArgumentException("Task bytesAmount (" + bytesAmount + ") cannot be negative");
-                       
+
                create(name, flopsAmount, bytesAmount);
-               
+
                this.name = name;
                this.messageSize = bytesAmount;
        }
@@ -81,7 +81,7 @@ public class Task {
                        throw new IllegalArgumentException("Host list is null");
                if (name == null)
                        throw new IllegalArgumentException("Parallel task name is null");
-               
+
                parallelCreate(name, hosts, flopsAmount, bytesAmount);
                this.name = name;
        }
@@ -93,7 +93,7 @@ public class Task {
         * @param flopsAmount    A value of the processing amount (in flop) needed
         *                        to process the task. If 0, then it cannot be executed
         *                        with the execute() method. This value has to be >= 0.
-        * @param bytesAmount        A value of amount of data (in bytes) needed to transfert
+        * @param bytesAmount        A value of amount of data (in bytes) needed to transfer
         *                        this task. If 0, then it cannot be transferred this task.
         *                        If 0, then it cannot be transferred with the get() and put()
         *                        methods. This value has to be >= 0.