You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2011/03/26 22:15:52 UTC
svn commit: r1085803 -
/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencySilentLog.java
Author: hboutemy
Date: Sat Mar 26 21:15:52 2011
New Revision: 1085803
URL: http://svn.apache.org/viewvc?rev=1085803&view=rev
Log:
improved javadoc
Modified:
maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencySilentLog.java
Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencySilentLog.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencySilentLog.java?rev=1085803&r1=1085802&r2=1085803&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencySilentLog.java (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencySilentLog.java Sat Mar 26 21:15:52 2011
@@ -23,145 +23,305 @@ import org.apache.maven.plugin.logging.L
import org.codehaus.plexus.logging.Logger;
/**
+ * This logger implements both types of logs currently in use and turns off logs.
+ *
* @author <a href="mailto:brianf@apache.org">Brian Fox</a>
* @version $Id$
*/
public class DependencySilentLog
implements Log, Logger
{
-
+ /**
+ * @return <code>false</code>
+ * @see org.apache.maven.plugin.logging.Log#isDebugEnabled()
+ */
public boolean isDebugEnabled()
{
return false;
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#debug(java.lang.CharSequence)
+ */
public void debug( CharSequence content )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#debug(java.lang.CharSequence, java.lang.Throwable)
+ */
public void debug( CharSequence content, Throwable error )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#debug(java.lang.Throwable)
+ */
public void debug( Throwable error )
{
+ // nop
}
+ /**
+ * @return <code>false</code>
+ * @see org.apache.maven.plugin.logging.Log#isInfoEnabled()
+ */
public boolean isInfoEnabled()
{
return false;
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#info(java.lang.CharSequence)
+ */
public void info( CharSequence content )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#info(java.lang.CharSequence, java.lang.Throwable)
+ */
public void info( CharSequence content, Throwable error )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#info(java.lang.Throwable)
+ */
public void info( Throwable error )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#isWarnEnabled()
+ */
public boolean isWarnEnabled()
{
+ // nop
return false;
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#warn(java.lang.CharSequence)
+ */
public void warn( CharSequence content )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#warn(java.lang.CharSequence, java.lang.Throwable)
+ */
public void warn( CharSequence content, Throwable error )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#warn(java.lang.Throwable)
+ */
public void warn( Throwable error )
{
+ // nop
}
+ /**
+ * @return <code>false</code>
+ * @see org.apache.maven.plugin.logging.Log#isErrorEnabled()
+ */
public boolean isErrorEnabled()
{
return false;
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#error(java.lang.CharSequence)
+ */
public void error( CharSequence content )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#error(java.lang.CharSequence, java.lang.Throwable)
+ */
public void error( CharSequence content, Throwable error )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.apache.maven.plugin.logging.Log#error(java.lang.Throwable)
+ */
public void error( Throwable error )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.codehaus.plexus.logging.Logger#debug(java.lang.String)
+ */
public void debug( String message )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.codehaus.plexus.logging.Logger#debug(java.lang.String, java.lang.Throwable)
+ */
public void debug( String message, Throwable throwable )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.codehaus.plexus.logging.Logger#info(java.lang.String)
+ */
public void info( String message )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.codehaus.plexus.logging.Logger#info(java.lang.String, java.lang.Throwable)
+ */
public void info( String message, Throwable throwable )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.codehaus.plexus.logging.Logger#warn(java.lang.String)
+ */
public void warn( String message )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.codehaus.plexus.logging.Logger#warn(java.lang.String, java.lang.Throwable)
+ */
public void warn( String message, Throwable throwable )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.codehaus.plexus.logging.Logger#error(java.lang.String)
+ */
public void error( String message )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.codehaus.plexus.logging.Logger#error(java.lang.String, java.lang.Throwable)
+ */
public void error( String message, Throwable throwable )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.codehaus.plexus.logging.Logger#fatalError(java.lang.String)
+ */
public void fatalError( String message )
{
+ // nop
}
+ /**
+ * By default, do nothing.
+ *
+ * @see org.codehaus.plexus.logging.Logger#fatalError(java.lang.String, java.lang.Throwable)
+ */
public void fatalError( String message, Throwable throwable )
{
+ // nop
}
+ /**
+ * @return <code>false</code>
+ * @see org.codehaus.plexus.logging.Logger#isFatalErrorEnabled()
+ */
public boolean isFatalErrorEnabled()
{
return false;
}
+ /**
+ * @return <code>null</code>
+ * @see org.codehaus.plexus.logging.Logger#getChildLogger(java.lang.String)
+ */
public Logger getChildLogger( String name )
{
return null;
}
+ /**
+ * @return <code>0</code>
+ * @see org.codehaus.plexus.logging.Logger#getThreshold()
+ */
public int getThreshold()
{
return 0;
}
+ /**
+ * @return <code>null</code>
+ * @see org.codehaus.plexus.logging.Logger#getName()
+ */
public String getName()
{
return null;
}
-
- /* (non-Javadoc)
- * @see org.codehaus.plexus.logging.Logger#setThreshold(int)
- */
- public void setThreshold( int theThreshold )
- {
- }
}