Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
code review: removed the rudiment
Browse files Browse the repository at this point in the history
  • Loading branch information
algorov committed Aug 16, 2023
1 parent 13b598a commit d516927
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/org/semul/budny/connection/Session.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ public void getEmploy() throws FailEmployException, StartSessionException {
restore();
}

boolean needFlag = !this.driver.checkWorkState();
logger.info(needFlag ? "Necessary" : "Not necessary");
if (needFlag) {
this.driver.employ();
}
this.driver.employ();
}
}

0 comments on commit d516927

Please sign in to comment.