Skip to content

Commit

Permalink
jcabi#17 - fixes based on review results
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanKisilenko committed Jan 26, 2015
1 parent 2f793e6 commit e76073d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/main/java/com/jcabi/ssl/maven/plugin/KeygenMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ public final class KeygenMojo extends AbstractMojo {
* Creates KeygenMojo.
*/
public KeygenMojo() {
super();
this(
null, new Keystore(DigestUtils.md5Hex(KeygenMojo.class.getName())),
null
);
}

/**
Expand Down Expand Up @@ -142,11 +145,6 @@ public void execute() throws MojoFailureException {
Logger.info(this, "execution skipped because of 'skip' option");
return;
}
if (this.store == null) {
this.store = new Keystore(
DigestUtils.md5Hex(KeygenMojo.class.getName())
);
}
try {
if (this.truststore == null) {
this.truststore = new Cacerts(this.cacerts);
Expand Down

0 comments on commit e76073d

Please sign in to comment.