HIGUCHI Yuta
Committed by Gerrit Code Review

Fix equals comparing against wrong type

Change-Id: If972a3a7b28c05cbdd9df5c7e5103ebbb5eaf533
......@@ -64,7 +64,7 @@ public class BandwidthResourceRequest implements ResourceRequest {
if (obj == null || getClass() != obj.getClass()) {
return false;
}
final BandwidthResourceAllocation other = (BandwidthResourceAllocation) obj;
final BandwidthResourceRequest other = (BandwidthResourceRequest) obj;
return Objects.equals(this.bandwidth, other.bandwidth());
}
......