Skip to content

Commit

Permalink
Fix checkstyle reported errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rfscholte committed Nov 26, 2018
1 parent e75d946 commit 9ada711
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Expand Up @@ -57,15 +57,13 @@
import org.codehaus.plexus.util.IOUtil;
import org.codehaus.plexus.util.ReaderFactory;
import org.codehaus.plexus.util.StringUtils;
import org.codehaus.plexus.util.WriterFactory;

import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;
import java.io.StringWriter;
import java.io.Writer;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URL;
Expand Down Expand Up @@ -1946,7 +1944,8 @@ JavaEntityTags parseJavadocTags( final String originalContent, final JavaAnnotat
}

String paramName = params.get( 0 );
switch ( docletTag.getName() ) {
switch ( docletTag.getName() )
{
case PARAM_TAG:
javaEntityTags.putJavadocParamTag( paramName, originalJavadocTag );
break;
Expand Down
Expand Up @@ -101,7 +101,6 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.Writer;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URI;
Expand Down Expand Up @@ -1921,7 +1920,7 @@ public void execute()
protected final void verifyRemovedParameter( String paramName )
{
Xpp3Dom configDom = mojo.getConfiguration();
if (configDom != null)
if ( configDom != null )
{
if ( configDom.getChild( paramName ) != null )
{
Expand All @@ -1934,7 +1933,7 @@ protected final void verifyRemovedParameter( String paramName )
private void verifyReplacedParameter( String oldParamName, String newParamNew )
{
Xpp3Dom configDom = mojo.getConfiguration();
if (configDom != null)
if ( configDom != null )
{
if ( configDom.getChild( oldParamName ) != null )
{
Expand Down

0 comments on commit 9ada711

Please sign in to comment.