From 62c8592cd182b3e9661fe91e923f55c33485ac53 Mon Sep 17 00:00:00 2001
From: Nikolaus Krismer <nikolaus.krismer@uibk.ac.at>
Date: Mon, 11 Aug 2014 13:51:48 +0200
Subject: [PATCH] simplified constructor calls fixed typo in javadoc

---
 src/main/java/it/unibz/inf/isochrone/algorithm/MrneX.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/it/unibz/inf/isochrone/algorithm/MrneX.java b/src/main/java/it/unibz/inf/isochrone/algorithm/MrneX.java
index 80796b24..5ad81bb2 100644
--- a/src/main/java/it/unibz/inf/isochrone/algorithm/MrneX.java
+++ b/src/main/java/it/unibz/inf/isochrone/algorithm/MrneX.java
@@ -29,7 +29,7 @@ public class MrneX extends Isochrone {
 	// Constructors
 
 	public MrneX(final ConfigDataset config, final Query query) throws AlgorithmException {
-		this(config, null, query, Integer.MAX_VALUE);
+		this(config, null, query);
 	}
 
 	public MrneX(final ConfigDataset config, final Database db, final Query query) throws AlgorithmException {
@@ -41,9 +41,9 @@ public class MrneX extends Isochrone {
 
 		adjList = new HashMap<>();
 		loadedIERNodes = new HashMap<>();
-		nodes = new HashMap<>();
 		maxDuration = query.getDuration().intValue();
 		maxMemory = maxMemorySize;
+		nodes = new HashMap<>();
 		walkingSpeed = query.getWalkingSpeed();
 	}
 
@@ -155,7 +155,7 @@ public class MrneX extends Isochrone {
 	}
 
 	/**
-	 * Do we have unlimited memory available (or don't we care
+	 * Do we have unlimited memory available (or do not care
 	 * about how much memory we will be using)?
 	 *
 	 * @return true if there is unlimited memory, false otherwise
-- 
GitLab