| Class and Description |
|---|
| org.javalite.common.XmlEntities
use Apache Commons or
Escape instead |
| Method and Description |
|---|
| org.javalite.common.Util.close(Closeable)
use
Util.closeQuietly(AutoCloseable) 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.http.Http.map2Content(Map) |
| org.javalite.common.Inflector.shortName(String)
Use clazz.getSimpleName() instead of Inflector.shortName(clazz.getName()).
|
| org.javalite.common.XmlEntities.unescape(Writer, String) |
Copyright © 2018 JavaLite. All rights reserved.