FCREPO-1168, FCREPO-1089, FCREPO-1090
- Pool DocumentBuilders and non-validating SAXParsers where possible
- add a convenience method to XmlTransformUtility
- Upgrade to Apache Commons Pool 1.6
remove a lot of unnecessary creation of primitive wrappers
be a little smarter about pretty-printing b64
remove intermediate Strings in serialization and deserialization
- clean up some intermediate StringBuilders
- allow serializing methods to accept parameter builders
- separate concatenation of static constant strings from dynamic strings
- clean up lots of unnecessary concatenations in debug logging
- fix a bug in FieldSearchServlet result serialization
clean up info logging and batch XML char encoding
unit test StreamUtility.encode
- log cleanup
- URI cheat for XACMLName
ReadOnlyContext tracks most attributes with a URI id
fix a small bug in the test custom attribute finder
String.isEmpty() where useful, log cleanup
custom IO wrappers to avoid unnecessary array copies
remove synchronization from FOXMLDODeserializer
Refactor Triple/Relationship handling
- Refactor Trippi iterators and convenience methods
- Reduce conversions between arrays of Triple and RelationshipTuple
Reduce Collection and StringBuffer overhead
- Reduce use of and unused capacity of StringBuilder/Buffers
- use URI constants where possible
- reduce Collection creation in AttributeFinders
- minimize capacity of Collection instances where possible
- Some replacement of single-character Strings with chars
- Removal of dead or pointless code
lazy init in DCFields
simplify processing in AttributeFinderModules
stop creating all these empty String arrays
use pooled TransformerFactories in FESL filters where possible
minimize HashSet creation in default JAAS handlers
minimize array copying in FOXML deserialization
Do not use raw types; move sun xml serializer access to single class to be refactored