Revision 619
Added by bojilova almost 24 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
969 | 969 |
{ |
970 | 970 |
String[] acltext = (String[])params.get("acltext"); |
971 | 971 |
try { |
972 |
acl = new StringReader(acltext[0]); |
|
972 |
if ( !acltext[0].equals("") ) { |
|
973 |
acl = new StringReader(acltext[0]); |
|
974 |
} |
|
973 | 975 |
} catch (NullPointerException npe) {} |
974 | 976 |
} |
975 | 977 |
StringReader dtd = null; |
... | ... | |
977 | 979 |
{ |
978 | 980 |
String[] dtdtext = (String[])params.get("dtdtext"); |
979 | 981 |
try { |
980 |
dtd = new StringReader(dtdtext[0]); |
|
982 |
if ( !dtdtext[0].equals("") ) { |
|
983 |
dtd = new StringReader(dtdtext[0]); |
|
984 |
} |
|
981 | 985 |
} catch (NullPointerException npe) {} |
982 | 986 |
} |
983 | 987 |
|
Also available in: Unified diff
fixed typos around acltext and dtdtext params