From af539e1a51d78f28be547603b3bf711812712787 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Mon, 30 Sep 2013 20:09:33 +0200 Subject: [PATCH] Small changes to the Couple --- src/com/massivecraft/mcore/Couple.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/com/massivecraft/mcore/Couple.java b/src/com/massivecraft/mcore/Couple.java index 99daefbc..a068c686 100644 --- a/src/com/massivecraft/mcore/Couple.java +++ b/src/com/massivecraft/mcore/Couple.java @@ -32,10 +32,15 @@ public class Couple implements Entry, Cloneable, Serializable public Couple withSecond(B second) { return valueOf(first, second); } // -------------------------------------------- // - // PRIVATE CONSTRUCTOR + // CONSTRUCT // -------------------------------------------- // - private Couple(A first, B second) + public Couple() + { + this(null, null); + } + + public Couple(A first, B second) { this.first = first; this.second = second;