@Test public void resetWithNoDefaultValueSetDoesNotError() { Result<String> result = new Result<>(); result.reset(); }
public void reset() { _lock.readLock().lock(); try { if (_defaultValue == null) { return; } } finally { _lock.readLock().unlock(); } setValue(_defaultValue); }
Result implements Referable<T> { public void reset() { _lock.readLock().lock(); try { if (_defaultValue == null) { return; } } finally { _lock.readLock().unlock(); } setValue(_defaultValue); } }
Result implements Referable<T> { public void reset() { _lock.readLock().lock(); try { if (_defaultValue == null) { return; } } finally { _lock.readLock().unlock(); } setValue(_defaultValue); } Result();  Result(T value); }
Result implements Referable<T> { public void reset() { _lock.readLock().lock(); try { if (_defaultValue == null) { return; } } finally { _lock.readLock().unlock(); } setValue(_defaultValue); } Result();  Result(T value); void reset(); @Override T getValue(); @Override void setValue(T value); @Override String toString(); }
Result implements Referable<T> { public void reset() { _lock.readLock().lock(); try { if (_defaultValue == null) { return; } } finally { _lock.readLock().unlock(); } setValue(_defaultValue); } Result();  Result(T value); void reset(); @Override T getValue(); @Override void setValue(T value); @Override String toString();  }