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