Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
priority -> task/priority (and task-priority)
[simgrid.git] / examples / java / task / priority / Main.java
similarity index 95%
rename from examples/java/priority/Priority.java
rename to examples/java/task/priority/Main.java
index 10fa76a..adf7fc2 100644 (file)
@@ -4,12 +4,12 @@
 /* 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. */
 
-package priority;
+package task.priority;
 import org.simgrid.msg.Msg;
 import org.simgrid.msg.NativeException;
 
 /* Demonstrates the use of Task.setPriority to change the computation priority of a task */ 
-public class Priority  {
+public class Main {
   public static void main(String[] args) throws NativeException {
     Msg.init(args);
     if(args.length < 2) {