kencochrane/raven-java — pull request #24 by vvasabi (2012-09-02 04:24:17+00:00)
Title: Fix for a thread safety issue, test case for ServletJSONProcessor and a trivial javadoc fix

This pull request is for the refactoring branch. An attempt to use cached http JSON object in `ServletJSONProcessor` turns out not to be thread safe, as MDC implementations typically use `ThreadLocal` as the storage. When threads are pooled, http JSON objects stored in `ThreadLocal`s can leak to other requests. As a result, the optimization code is removed and the http JSON object is removed from RavenMDC when processing is done.