Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

Commit

Permalink
Sonar fixes
Browse files Browse the repository at this point in the history
Fixes for sonar violations
  • Loading branch information
nebhale committed Mar 8, 2013
1 parent d193bfb commit c003ddb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,13 @@ String getEndpoint() {
return this.endpoint;
}

String getLocationConstraint() {
return this.locationConstraint;
}

static Region fromLocationConstraint(String locationConstraint) {
for (Region region : values()) {
if (region.locationConstraint.equals(locationConstraint)) {
if (region.getLocationConstraint().equals(locationConstraint)) {
return region;
}
}
Expand Down
39 changes: 0 additions & 39 deletions src/test/java/org/springframework/build/aws/maven/Test.java

This file was deleted.

0 comments on commit c003ddb

Please sign in to comment.