Changeset 697:8b15d9e15435

Show
Ignore:
Timestamp:
10/07/09 12:48:38 (4 years ago)
Author:
tgambet
Branch:
default
convert_revision:
svn:cdcfb263-7567-472c-a848-e2c2df3466e7/trunk@698
Message:

fixed potential NPE

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/org/w3c/unicorn/input/URIInputParameter.java

    r668 r697  
    3737                URL docUrl = null; 
    3838                try { 
    39                         if (uri.equals("")) 
     39                        if (uri == null || uri.equals("")) 
    4040                                throw new UnicornException(Message.ERROR, "$message_empty_uri"); 
    4141