2006/unicorn/src/org/w3c/unicorn/input InputParameter.java,1.2,1.3

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/input
In directory hutz:/tmp/cvs-serv837/src/org/w3c/unicorn/input

Modified Files:
	InputParameter.java 
Log Message:
fixed potential NPE

Index: InputParameter.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/input/InputParameter.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- InputParameter.java	1 Oct 2009 14:01:15 -0000	1.2
+++ InputParameter.java	1 Oct 2009 18:12:15 -0000	1.3
@@ -46,7 +46,8 @@
 	}
 
 	public void dispose() {
-		inputModule.dispose();
+		if (inputModule != null)
+			inputModule.dispose();
 	}
 	
 }

Received on Thursday, 1 October 2009 18:12:21 UTC