Skip to content

Commit ae8f31f

Browse files
authored
remove duplicate code in lowestRate() method. (#100)
1 parent 4bc2f3c commit ae8f31f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/com/easypost/model/Shipment.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,6 @@ public Rate lowestRate(final List<String> carriers, final List<String> services)
10471047
continue;
10481048
}
10491049
if (services != null && services.size() > 0 &&
1050-
!services.contains(this.rates.get(i).getService().toLowerCase()) &&
10511050
!services.contains(this.rates.get(i).getService().toLowerCase())) {
10521051
continue;
10531052
}

0 commit comments

Comments
 (0)