Description
it’s calling interrupted() instead of interrupt(). This method is intended to re-set the interrupted flag on the thread in case of an InterruptedException
it’s calling interrupted() instead of interrupt(). This method is intended to re-set the interrupted flag on the thread in case of an InterruptedException