@Test public void equalsAndHashcode() throws Exception { DurationConverter conv1 = new DurationConverter(); DurationConverter conv2 = new DurationConverter(); assertThat(conv2).isEqualTo(conv1); assertThat(conv2.hashCode()).isEqualTo(conv1.hashCode()); }
@Override public int hashCode(){ return getClass().hashCode(); }
DurationConverter implements PropertyConverter<Duration> { @Override public int hashCode(){ return getClass().hashCode(); } }
DurationConverter implements PropertyConverter<Duration> { @Override public int hashCode(){ return getClass().hashCode(); }  }
DurationConverter implements PropertyConverter<Duration> { @Override public int hashCode(){ return getClass().hashCode(); }  @Override Duration convert(String value, ConversionContext ctx); @Override boolean equals(Object o); @Override int hashCode(); }
DurationConverter implements PropertyConverter<Duration> { @Override public int hashCode(){ return getClass().hashCode(); }  @Override Duration convert(String value, ConversionContext ctx); @Override boolean equals(Object o); @Override int hashCode();  }