Revision: 1659 http://svn.sourceforge.net/spring-rich-c/?rev=1659&view=rev Author: kevinstembridge Date: 2007-01-12 12:42:09 -0800 (Fri, 12 Jan 2007)
Log Message: ----------- Added null-check to configure method Modified Paths: -------------- trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/config/DefaultCommandConfigurer.java Modified: trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/config/DefaultCommandConfigurer.java =================================================================== --- trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/config/DefaultCommandConfigurer.java 2007-01-12 20:38:41 UTC (rev 1658) +++ trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/config/DefaultCommandConfigurer.java 2007-01-12 20:42:09 UTC (rev 1659) @@ -21,6 +21,7 @@ import org.springframework.richclient.application.config.ApplicationObjectConfigurer; import org.springframework.richclient.command.AbstractCommand; import org.springframework.richclient.command.CommandServices; +import org.springframework.richclient.util.Assert; import org.springframework.util.ClassUtils; import org.springframework.util.StringUtils; @@ -50,6 +51,7 @@ } public AbstractCommand configure(AbstractCommand command) { + Assert.required(command, "command"); return configure(command, getObjectConfigurer()); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ spring-rich-c-cvs mailing list spring-rich-c-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs