Revision: 4911 http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4911&view=rev Author: bphinz Date: 2012-05-07 00:30:08 +0000 (Mon, 07 May 2012) Log Message: ----------- Fixed a null pointer exception introduced by r4909
Revision Links: -------------- http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4909&view=rev Modified Paths: -------------- trunk/java/com/tigervnc/vncviewer/VncViewer.java Modified: trunk/java/com/tigervnc/vncviewer/VncViewer.java =================================================================== --- trunk/java/com/tigervnc/vncviewer/VncViewer.java 2012-05-06 19:18:05 UTC (rev 4910) +++ trunk/java/com/tigervnc/vncviewer/VncViewer.java 2012-05-07 00:30:08 UTC (rev 4911) @@ -143,7 +143,7 @@ usage(); } - if (vncServerName.getValue() == null) + if (vncServerName.getValue() == "") vncServerName.setParam(argv[i]); } @@ -366,7 +366,7 @@ StringParameter passwordFile = new StringParameter("PasswordFile", "Password file for VNC authentication", - null); + ""); AliasParameter passwd = new AliasParameter("passwd", "Alias for PasswordFile", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Tigervnc-commits mailing list Tigervnc-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-commits