src/java.xml/share/classes/javax/xml/catalog/Util.java
changeset 52902 e3398b2e1ab0
parent 47216 71c04702a3d5
equal deleted inserted replaced
52901:3ba9ff4d4aaf 52902:e3398b2e1ab0
   219      * @param sysPropertyName the name of system property
   219      * @param sysPropertyName the name of system property
   220      * @return the catalog file paths, or null if not found.
   220      * @return the catalog file paths, or null if not found.
   221      */
   221      */
   222     static String[] getCatalogFiles(String sysPropertyName) {
   222     static String[] getCatalogFiles(String sysPropertyName) {
   223         String value = SecuritySupport.getJAXPSystemProperty(sysPropertyName);
   223         String value = SecuritySupport.getJAXPSystemProperty(sysPropertyName);
   224         if (value != null && !value.equals("")) {
   224         if (value != null && !value.isEmpty()) {
   225             return value.split(";");
   225             return value.split(";");
   226         }
   226         }
   227         return null;
   227         return null;
   228     }
   228     }
   229 
   229