Fixed potential failure to freak out if a synchronized int map was created

with a null source map.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@760 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2002-05-24 21:31:56 +00:00
parent ebebcbf530
commit c172c41a15
@@ -1,5 +1,5 @@
//
// $Id: Collections.java,v 1.2 2001/12/14 18:27:57 mdb Exp $
// $Id: Collections.java,v 1.3 2002/05/24 21:31:56 mdb Exp $
package com.samskivert.util;
@@ -66,6 +66,9 @@ public class Collections
}
SynchronizedIntMap(IntMap m, Object mutex) {
if (m == null) {
throw new NullPointerException();
}
this.m = m;
this.mutex = mutex;
}