Added Spring Java Conventions to all of the spring sub-projects and formatted them to meet the guidelines.
This commit is contained in:
@@ -34,7 +34,7 @@ public class Rate implements Serializable {
|
||||
if (!(o instanceof Rate)) {
|
||||
return false;
|
||||
}
|
||||
return value.equals(((Rate)o).value);
|
||||
return value.equals(((Rate) o).value);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
|
||||
@@ -26,7 +26,7 @@ public class RateCriteriaValidator implements Validator {
|
||||
}
|
||||
|
||||
public void validate(Object obj, Errors errors) {
|
||||
RateCriteria criteria = (RateCriteria)obj;
|
||||
RateCriteria criteria = (RateCriteria) obj;
|
||||
validateSender(criteria, errors);
|
||||
validateReceiver(criteria, errors);
|
||||
validatePackageDetails(criteria, errors);
|
||||
|
||||
Reference in New Issue
Block a user