@Test public void getChangeSupport(){ URL resource = getClass().getResource("/valid-properties.xml"); SimplePropertySource source = new SimplePropertySource(resource); assertThat(ChangeSupport.IMMUTABLE).isEqualTo(source.getChangeSupport()); }
@Override public ChangeSupport getChangeSupport(){ return ChangeSupport.IMMUTABLE; }
SimplePropertySource extends BasePropertySource { @Override public ChangeSupport getChangeSupport(){ return ChangeSupport.IMMUTABLE; } }
SimplePropertySource extends BasePropertySource { @Override public ChangeSupport getChangeSupport(){ return ChangeSupport.IMMUTABLE; } SimplePropertySource(File propertiesLocation);  SimplePropertySource(URL propertiesLocation);  SimplePropertySource(String name, Map<String, String> properties, int defaultOrdinal);  SimplePropertySource(String name, Map<String, String> properties);  SimplePropertySource(String name, URL propertiesLocation); private  SimplePropertySource(Builder builder); }
SimplePropertySource extends BasePropertySource { @Override public ChangeSupport getChangeSupport(){ return ChangeSupport.IMMUTABLE; } SimplePropertySource(File propertiesLocation);  SimplePropertySource(URL propertiesLocation);  SimplePropertySource(String name, Map<String, String> properties, int defaultOrdinal);  SimplePropertySource(String name, Map<String, String> properties);  SimplePropertySource(String name, URL propertiesLocation); private  SimplePropertySource(Builder builder); static Builder newBuilder(); @Override Map<String, PropertyValue> getProperties(); @Override ChangeSupport getChangeSupport(); }
SimplePropertySource extends BasePropertySource { @Override public ChangeSupport getChangeSupport(){ return ChangeSupport.IMMUTABLE; } SimplePropertySource(File propertiesLocation);  SimplePropertySource(URL propertiesLocation);  SimplePropertySource(String name, Map<String, String> properties, int defaultOrdinal);  SimplePropertySource(String name, Map<String, String> properties);  SimplePropertySource(String name, URL propertiesLocation); private  SimplePropertySource(Builder builder); static Builder newBuilder(); @Override Map<String, PropertyValue> getProperties(); @Override ChangeSupport getChangeSupport();  }