Skip to content

Commit

Permalink
Fixed PMD errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
mentiflectax committed Jan 22, 2015
1 parent 36ded42 commit be756e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Expand Up @@ -41,7 +41,6 @@
import java.util.zip.ZipFile;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.project.MavenProject;
import org.apache.maven.settings.Settings;
import org.jfrog.maven.annomojo.annotations.MojoParameter;
import org.slf4j.impl.StaticLoggerBinder;
Expand All @@ -55,12 +54,6 @@
* @checkstyle ClassDataAbstractionCoupling (500 lines)
*/
abstract class AbstractBeanstalkMojo extends AbstractMojo {
/**
* Object with the data of the project being built.
*/
@MojoParameter(expression = "${project}", readonly = true, required = true)
private MavenProject project;

/**
* Setting.xml.
*/
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/com/jcabi/beanstalk/maven/plugin/WarFile.java
Expand Up @@ -49,11 +49,12 @@
* @since 1.0
* @checkstyle DesignForExtensionCheck
*/
@SuppressWarnings("PMD.UnusedFormalParameter")
public final class WarFile {
/**
* Location of the WAR file.
*/
private final ZipFile war;
private transient ZipFile war;

/**
* Creates an instance of WarFile.
Expand Down

0 comments on commit be756e4

Please sign in to comment.