Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1737

Eliminate ex.printStackTrace() from the code base

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.0.0.Beta1
    • Component/s: None
    • Labels:
      None

      Description

      Eliminate ex.printStackTrace() from the code base and use logging facility

       git grep 'printStackTrace()' | wc -l
      45
       
      git grep 'printStackTrace()' | grep -v '//' | wc -l
      35
      

      git grep -l 'printStackTrace()' | grep .java$ | grep -v -i test
      eagledns/src/main/java/se/unlogic/standardutils/crypto/Base64.java
      eagledns/src/main/java/se/unlogic/standardutils/threads/ThreadPoolTaskGroupHandler.java
      eagledns/src/main/java/se/unlogic/standardutils/xml/XMLUtils.java
      resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ExceptionAdapter.java
      resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/interception/jaxrs/ContainerResponseContextImpl.java
      resteasy-spring/src/main/java/org/jboss/resteasy/springmvc/JettyLifecycleManager.java
      server-adapters/resteasy-vertx/src/main/java/org/jboss/resteasy/plugins/server/vertx/VertxRequestHandler.java
      tjws/src/main/java/Acme/Serve/Serve.java
      tjws/src/main/java/Acme/Utils.java
      

      git grep -l 'printStackTrace()' | grep .java$ | grep -i test
      arquillian/RESTEASY-736-jetty/src/main/java/org/jboss/resteasy/resteasy736/TestResource.java
      resteasy-jsapi/src/test/java/org/jboss/resteasy/test/i18n/TestMessagesAbstract.java
      security-legacy/keystone/keystone-core/src/test/java/org/jboss/resteasy/test/keystone/TokenTest.java
      server-adapters/resteasy-netty4/src/test/java/org/jboss/resteasy/test/AsyncJaxrsResource.java
      testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/sse/SseEventSinkTest.java
      testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/sse/SseResource.java
      testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/sse/SseTest.java
      testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/response/AnotherPublisherResponseTest.java
      testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/response/PublisherResponseTest.java
      testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/cdi/resource/ApplicationScopeRestServiceAppScoped.java
      testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/cdi/resource/ApplicationScopeRestServiceReqScoped.java
      testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/client/ChunkedTransferEncodingUnitTest.java
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rsvoboda Rostislav Svoboda
                Reporter:
                rsvoboda Rostislav Svoboda
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: