Revision 617
Added by bojilova about 24 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
965 | 965 |
String[] doctext = (String[])params.get("doctext"); |
966 | 966 |
|
967 | 967 |
StringReader acl = null; |
968 |
if(params.contains("acltext")) |
|
968 |
if(params.containsKey("acltext"))
|
|
969 | 969 |
{ |
970 | 970 |
String[] acltext = (String[])params.get("acltext"); |
971 | 971 |
try { |
... | ... | |
973 | 973 |
} catch (NullPointerException npe) {} |
974 | 974 |
} |
975 | 975 |
StringReader dtd = null; |
976 |
if(params.contains("dtdtext")) |
|
976 |
if(params.containsKey("dtdtext"))
|
|
977 | 977 |
{ |
978 | 978 |
String[] dtdtext = (String[])params.get("dtdtext"); |
979 | 979 |
try { |
Also available in: Unified diff
fixed typo