From 117e22cdd0d6b20968fc39e2c8e1a7e6c73e9e73 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 4 Jun 2016 16:13:59 +0100 Subject: Use single instance of None --- Mammoth/Couscous/java/util/HashMap.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mammoth/Couscous/java/util/HashMap.cs') diff --git a/Mammoth/Couscous/java/util/HashMap.cs b/Mammoth/Couscous/java/util/HashMap.cs index 38e516e..10070fc 100644 --- a/Mammoth/Couscous/java/util/HashMap.cs +++ b/Mammoth/Couscous/java/util/HashMap.cs @@ -30,7 +30,7 @@ namespace Mammoth.Couscous.java.util { if (_dictionary.ContainsKey(key)) { return new Some(_dictionary[key]); } else { - return new None(); + return None.Instance; } } -- cgit v1.2.3