mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-27 12:39:03 +00:00
Fix checkstyle issues in samples
Fix checkstyle issues with samples following the spring-javaformat upgrade. See gh-13932
This commit is contained in:
+5
-5
@@ -49,11 +49,6 @@ public class VehicleDetails {
|
||||
return this.model;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return this.make.hashCode() * 31 + this.model.hashCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == this) {
|
||||
@@ -66,4 +61,9 @@ public class VehicleDetails {
|
||||
return this.make.equals(other.make) && this.model.equals(other.model);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return this.make.hashCode() * 31 + this.model.hashCode();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user