Revision: 142
http://gridsim.svn.sourceforge.net/gridsim/?rev=142&view=rev
Author: marcos_dias
Date: 2008-03-08 18:56:01 -0800 (Sat, 08 Mar 2008)
Log Message:
-----------
The message that shows "Starting GridSim Version X" has been fixed to show the right version of GridSim when the simulation is started.
Modified Paths:
--------------
trunk/source/gridsim/GridSim.java
Modified: trunk/source/gridsim/GridSim.java
===================================================================
--- trunk/source/gridsim/GridSim.java 2008-03-09 02:52:03 UTC (rev 141)
+++ trunk/source/gridsim/GridSim.java 2008-03-09 02:56:01 UTC (rev 142)
@@ -71,6 +71,7 @@
private final int ARRAY_SIZE = 3;
private final int SIZE = 12; // Integer object size incl. overhead
private final int RESULT = 1; // array[0] = gridlet id, [1] = result
+ private final static String GRIDSIM_VERSION_STRING = "GridSim Version 4.1";
/////////////////////////// STATIC variables ////////////////////
@@ -600,7 +601,7 @@
*/
public static void startGridSimulation() throws NullPointerException
{
- System.out.println("Starting GridSim version 4.0");
+ System.out.println("Starting GridSim " + GRIDSIM_VERSION_STRING);
try {
Sim_system.run();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|