Fail earlier if we get a null URL.
This commit is contained in:
@@ -25,6 +25,7 @@ public class LiaisonRegistry
|
||||
*/
|
||||
public static DatabaseLiaison getLiaison (String url)
|
||||
{
|
||||
if (url == null) throw new NullPointerException("URL must not be null");
|
||||
// see if we already have a liaison mapped for this connection
|
||||
DatabaseLiaison liaison = _mappings.get(url);
|
||||
if (liaison == null) {
|
||||
|
||||
Reference in New Issue
Block a user