Uploaded image for project: 'Wise'
  1. Wise
  2. WISE-291

Extensive usage of System.out.println

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • CORE 2.1.0
    • CORE 2.2.0
    • core
    • None

    Description

      WISE core uses System.out.println quite extensively.

      • some usages could be eliminated
      • use logging tooling, org.jboss.logging preferably
      $ git grep System.out 
      core-cxf/src/main/java/org/jboss/wise/core/client/jaxrs/impl/RSDynamicClientImpl.java:                // System.out.print(response);
      core-cxf/src/main/java/org/jboss/wise/core/client/jaxrs/impl/RSDynamicClientImpl.java:                // System.out.print(response);
      core-cxf/src/main/java/org/jboss/wise/core/client/jaxrs/impl/RSDynamicClientImpl.java:                // System.out.print(response);
      core-cxf/src/main/java/org/jboss/wise/core/client/jaxrs/impl/RSDynamicClientImpl.java:                // System.out.print(response);
      core-cxf/src/test/java/org/jboss/wise/core/client/jaxrs/BookStore.java:        System.out.println("----invoking getBook with id: " + id);
      core-cxf/src/test/java/org/jboss/wise/core/client/jaxrs/JaxrsServer.java:			System.out.println("done!");
      core/src/main/java/org/jboss/wise/core/client/builder/BasicWSDynamicClientBuilder.java:     * would be to use System.out.
      core/src/main/java/org/jboss/wise/core/client/builder/WSDynamicClientBuilder.java:     * would be to use System.out.
      core/src/main/java/org/jboss/wise/core/consumer/impl/jbossws/DefaultWSImportImpl.java:	    wsImporter.setMessageStream(System.out);
      core/src/main/java/org/jboss/wise/core/handlers/LoggingHandler.java:     * Default constructor using default System.out PrintStream to print message
      core/src/main/java/org/jboss/wise/core/handlers/LoggingHandler.java:	outputStream = System.out;
      core/src/test/java/org/jboss/wise/core/consumer/impl/metro/MetroWSConsumerTest.java:        consumer.importObjectFromWsdl(wsdURL.toExternalForm(), outputDir, outputDir, "org.jimma", null, System.out, null);
      core/src/test/resources/META-INF/wise-log4j.xml:		<param name="Target" value="System.out" />
      distribution/main/resouces/samples/helloWorld/resources/META-INF/wise-log4j.xml:		<param name="Target" value="System.out" />
      distribution/main/resouces/samples/helloWorld/src/client/org/jboss/wise/samples/HelloWorldClient.java:	    System.out.println(result.getMapRequestAndResult(null, null));
      distribution/main/resouces/samples/helloWorld/src/client/org/jboss/wise/samples/HelloWorldClient.java:	    System.out.println(result.getMapRequestAndResult(null, requestMap));
      distribution/main/resouces/samples/interactiveHelloWorld/resources/META-INF/wise-log4j.xml:		<param name="Target" value="System.out" />
      distribution/main/resouces/samples/interactiveHelloWorld/src/client/org/jboss/wise/samples/InteractiveHelloWorldClient.java:            System.out.println("Available services are:");
      distribution/main/resouces/samples/interactiveHelloWorld/src/client/org/jboss/wise/samples/InteractiveHelloWorldClient.java:                System.out.println(key);
      distribution/main/resouces/samples/interactiveHelloWorld/src/client/org/jboss/wise/samples/InteractiveHelloWorldClient.java:            System.out.println("Selectting the first one");
      distribution/main/resouces/samples/interactiveHelloWorld/src/client/org/jboss/wise/samples/InteractiveHelloWorldClient.java:            System.out.println("Available endpoints are:");
      distribution/main/resouces/samples/interactiveHelloWorld/src/client/org/jboss/wise/samples/InteractiveHelloWorldClient.java:                System.out.println(key);
      distribution/main/resouces/samples/interactiveHelloWorld/src/client/org/jboss/wise/samples/InteractiveHelloWorldClient.java:            System.out.println("Selectting the first one");
      distribution/main/resouces/samples/interactiveHelloWorld/src/client/org/jboss/wise/samples/InteractiveHelloWorldClient.java:            System.out.println("Available methods are:");
      distribution/main/resouces/samples/interactiveHelloWorld/src/client/org/jboss/wise/samples/InteractiveHelloWorldClient.java:                System.out.println(key);
      distribution/main/resouces/samples/interactiveHelloWorld/src/client/org/jboss/wise/samples/InteractiveHelloWorldClient.java:            System.out.println("Selectting the first one");
      distribution/main/resouces/samples/interactiveHelloWorld/src/client/org/jboss/wise/samples/InteractiveHelloWorldClient.java:            System.out.println(result.getMapRequestAndResult(null, null));
      distribution/main/resouces/samples/interactiveHelloWorld/src/client/org/jboss/wise/samples/InteractiveHelloWorldClient.java:            System.out.println(result.getMapRequestAndResult(null, requestMap));
      integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/basic/BasicMethodStressTest.java:        System.out.println("running NOMK with THREADS=" + THREADS);
      integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/basic/BasicMethodStressTest.java:            System.out.println(i + ") " + result);
      integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/basic/BasicNoCacheNoClientCacheStressTest.java:        System.out.println("running NOMK with THREADS=" + THREADS);
      integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/basic/BasicNoCacheNoClientCacheStressTest.java:            System.out.println(i + ") " + result);
      integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/basic/BasicStressTest.java:        System.out.println("running NOMK with THREADS=" + THREADS);
      integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/basic/BasicStressTest.java:            System.out.println(i + ") " + result);
      integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/incontainer/WiseIntegrationInContainerTest.java:            System.out.println(result);
      integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/mtom/MTOMIntegrationTest.java:        System.out.println("[FIXME] [WISE-45] MTOMSample fails returning empty binaries");
      integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/mtom/MTOMIntegrationTest.java:            System.out.println("bytes: " + bytes);
      integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/smooks/ComplexWS.java:        System.out.println(greeting);
      integration-testsuite/common/src/test/java/org/jboss/wise/test/integration/tree/MessagePreviewIntegrationTest.java:        // System.out.println("--> " + messagePreview); //TODO check...
      integration-testsuite/common/src/test/resources/META-INF/wise-log4j.xml:		<param name="Target" value="System.out" />
      

      Attachments

        Activity

          People

            rsearls r searls
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: