Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sepehrkianian09 committed Jun 26, 2020
1 parent f1f348f commit 4f9c5d0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/controller/account/VendorControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,6 @@ public Notification editOff(Off off, File offImageFile) {
return Notification.OUT_BOUND_OF_PERCENT;
if(off.getProductIDs() == null || off.getProductIDs().size() == 0)
return Notification.EMPTY_OFF_PRODUCTS;
if(off.getStartDate().compareTo(new Date(System.currentTimeMillis())) < 0)
return Notification.START_DATE_BEFORE_NOW;
if(off.getStartDate().compareTo(off.getFinishDate()) > -1)
return Notification.START_DATE_AFTER_FINISH_DATE;
try {
Expand Down

0 comments on commit 4f9c5d0

Please sign in to comment.