@Override public void run() { try { resolutionService.put(io); } catch (NetInfResolutionException e) { throw new RuntimeException(e); } }
@Override public void run() { try { InformationObject retrievedIO = resolutionService.get(io.getIdentifier()); isCorrect = io.equals(retrievedIO); } catch (NetInfResolutionException ex) { throw new RuntimeException(ex); } }