Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-m committed May 10, 2016
1 parent ce57c82 commit d43bf7f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,11 @@ protected void checkSnapshotDependencies() throws MojoFailureException {
for (Dependency d : list) {
if (ArtifactUtils.isSnapshot(d.getVersion())) {
throw new MojoFailureException(
"There is some SNAPSHOT dependencies in the project. Change them or ignore with `allowSnapshots` property.");
"There is some SNAPSHOT dependencies in the project. Change them or ignore with `allowSnapshots` property.");
}
}
}

/**
* Executes git commands to check for uncommitted changes.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
try {
// check uncommitted changes
checkUncommittedChanges();

// check snapshots dependencies
if (!allowSnapshots) {
checkSnapshotDependencies();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
if (!allowSnapshots) {
checkSnapshotDependencies();
}

// git for-each-ref --count=1 refs/heads/release/*
final String releaseBranch = gitFindBranches(
gitFlowConfig.getReleaseBranchPrefix(), true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {

// check uncommitted changes
checkUncommittedChanges();

// check snapshots dependencies
if (!allowSnapshots) {
checkSnapshotDependencies();
Expand Down

0 comments on commit d43bf7f

Please sign in to comment.