Skip to content

Commit

Permalink
removed unnecessary logging and returns
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskrause committed Oct 9, 2014
1 parent a92628e commit 8e81cec
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions annis-gui/src/main/java/annis/gui/resultfetch/ResultFetchJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,10 @@ public void run()
}
} // end if no results

if (Thread.interrupted())
{
return;
}
}
catch (InterruptedException ex)
{
log.warn(null, ex);
// just return
}
catch (final ExecutionException root)
{
Expand Down Expand Up @@ -249,13 +245,6 @@ else if(ex.getResponse().getStatus() == 403)
}
}
});
}
finally
{
if (Thread.interrupted())
{
return;
}
}
} // end catch
}
}

0 comments on commit 8e81cec

Please sign in to comment.