Unverified Commit 35c520c0 authored by Manoel Campos's avatar Manoel Campos
Browse files

Updates CloudletTaskCompletionTimeWorkLoadMinimizationExperiment to


ignore empty lines inside a file containing a list of SLA contracts
in json format.
Signed-off-by: default avatarManoel Campos <manoelcampos@gmail.com>
parent 01f85031
......@@ -4,7 +4,7 @@
<groupId>org.cloudsimplus</groupId>
<artifactId>cloudsim-plus-benchmarks</artifactId>
<version>1.3.1</version>
<version>1.3.2</version>
<name>CloudSim Plus Benchmarks</name>
<description>A module containing benchmarks created using JMH (Java Microbenchmark Harness framework) to assess CloudSim Plus performance</description>
<url>http://cloudsimplus.org</url>
......
......@@ -4,7 +4,7 @@
<groupId>org.cloudsimplus</groupId>
<artifactId>cloudsim-plus-examples</artifactId>
<version>1.3.1</version>
<version>1.3.2</version>
<name>CloudSim Plus Examples</name>
<description>
Ready-to-run examples of how to use CloudSim Plus API.
......
......@@ -4,7 +4,7 @@
<groupId>org.cloudsimplus</groupId>
<artifactId>cloudsim-plus-testbeds</artifactId>
<version>1.3.1</version>
<version>1.3.2</version>
<name>CloudSim Plus Testbeds</name>
<description>
A set of more complex and comprehensive CloudSim Plus testbeds used to assess
......
......@@ -125,6 +125,8 @@ public class CloudletTaskCompletionTimeWorkLoadMinimizationExperiment extends Si
return ResourceLoader
.getBufferedReader(getClass(), SLA_CONTRACTS_LIST)
.lines()
.map(String::trim)
.filter(l -> !l.isEmpty())
.filter(l -> !l.startsWith("#"))
.collect(toList());
}
......
......@@ -4,7 +4,7 @@
<groupId>org.cloudsimplus</groupId>
<artifactId>cloudsim-plus</artifactId>
<version>1.3.1</version>
<version>1.3.2</version>
<name>CloudSim Plus API</name>
<description>CloudSim Plus: A modern, highly extensible and easier-to-use Java 8 Framework for Modeling and Simulation of Cloud Computing Infrastructures and Services</description>
<url>http://cloudsimplus.org</url>
......
......@@ -35,7 +35,7 @@ public class CloudSim implements Simulation {
/**
* CloudSim Plus current version.
*/
public static final String VERSION = "1.3.1";
public static final String VERSION = "1.3.2";
/**
* An array that works as a circular queue with capacity for just 2 elements
......
......@@ -3,7 +3,7 @@
<groupId>org.cloudsimplus</groupId>
<artifactId>cloudsim-plus-package</artifactId>
<version>1.3.1</version>
<version>1.3.2</version>
<packaging>pom</packaging>
<name>CloudSim Plus Modules (All)</name>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment