From: David ‘Bombe’ Roden Date: Sat, 1 Dec 2007 12:17:34 +0000 (+0000) Subject: don't create superfluous map X-Git-Tag: 0.4.9.4~2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=675757ca5ef3355c1b79f67f66d34af579d5cef3;p=jSite.git don't create superfluous map --- diff --git a/src/de/todesbaum/jsite/application/Project.java b/src/de/todesbaum/jsite/application/Project.java index 7604259..c1d07f1 100644 --- a/src/de/todesbaum/jsite/application/Project.java +++ b/src/de/todesbaum/jsite/application/Project.java @@ -241,7 +241,7 @@ public class Project implements Comparable { * @return Returns the fileOptions. */ public Map getFileOptions() { - return Collections.unmodifiableMap(new HashMap(fileOptions)); + return Collections.unmodifiableMap(fileOptions); } /**