Debug message to stdout
-----------------------

                 Key: WAGON-107
                 URL: http://jira.codehaus.org/browse/WAGON-107
             Project: wagon
          Issue Type: Bug
          Components: wagon-webdav
    Affects Versions: 1.0-beta-2
            Reporter: Kohsuke Kawaguchi


The WebDavWagon class prints out a debug message to stdout, but the proper 
place to send a message like that is to the logger.

The following is the offending line, in the constructor:

{noformat}
                try
                {
                    props.load( pomUrl.openStream() );
                    wagonVersion = props.getProperty( "version" );
                    System.out.println( "WAGON_VERSION: " + wagonVersion );
                }
                catch ( IOException e )
                {
                    wagonVersion = "";
                }
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to