@Test void missingPropertiesAreNotResolved() { Properties properties = new Properties(); properties.put( CheckstyleSourceCodeFileAnalyzerPlugin.class.getName() + ".existingProperty", "existingValue"); CheckstylePropertiesResolver resolver = new CheckstylePropertiesResolver(properties); Assertions.assertNull(resolver.resolve("missingProperty")); }
@Override public String resolve(String name) { return (String) backingProperties.get(CheckstyleSourceCodeFileAnalyzerPlugin.class.getName() + "." + name); }
CheckstylePropertiesResolver implements PropertyResolver { @Override public String resolve(String name) { return (String) backingProperties.get(CheckstyleSourceCodeFileAnalyzerPlugin.class.getName() + "." + name); } }
CheckstylePropertiesResolver implements PropertyResolver { @Override public String resolve(String name) { return (String) backingProperties.get(CheckstyleSourceCodeFileAnalyzerPlugin.class.getName() + "." + name); } CheckstylePropertiesResolver(Properties backingProperties); }
CheckstylePropertiesResolver implements PropertyResolver { @Override public String resolve(String name) { return (String) backingProperties.get(CheckstyleSourceCodeFileAnalyzerPlugin.class.getName() + "." + name); } CheckstylePropertiesResolver(Properties backingProperties); @Override String resolve(String name); }
CheckstylePropertiesResolver implements PropertyResolver { @Override public String resolve(String name) { return (String) backingProperties.get(CheckstyleSourceCodeFileAnalyzerPlugin.class.getName() + "." + name); } CheckstylePropertiesResolver(Properties backingProperties); @Override String resolve(String name);  }