Deprecated API


Contents
Deprecated Classes
org.javalite.common.XmlEntities
          use Apache Commons or Escape instead 
 

Deprecated Methods
org.javalite.common.Util.close(Closeable)
          use Util.closeQuietly(java.io.Closeable) instead. Two problems can arise if resources are not closed quietly in the finally block: (1) If there are multiple close() calls, and one of the first ones throws an Exception, then the following ones will never be called. (2) If an Exception is thrown inside the try { ... } catch block and another Exception is thrown by a close() call in the finally { ... } block, then the second Exception will hide the first one. 
org.javalite.common.XmlEntities.escape(Writer, String)
           
org.javalite.common.Inflector.shortName(String)
          Use clazz.getSimpleName() instead of Inflector.shortName(clazz.getName()). 
org.javalite.common.XmlEntities.unescape(Writer, String)
           
 



Copyright © 2015 JavaLite. All rights reserved.