@Test public void testShouldUseEmptyVersionInCaseOfNull() throws Exception { prepareProcessorForVersion(null); assertEquals("Version: .", processor.process("Version: " + APP_VERSION + ".")); }
@Nonnull @Override public String process(@Nonnull String line) { return line.replace(APP_VERSION, version); }
AboutFragmentLineProcessor implements Resources.LineProcessor { @Nonnull @Override public String process(@Nonnull String line) { return line.replace(APP_VERSION, version); } }
AboutFragmentLineProcessor implements Resources.LineProcessor { @Nonnull @Override public String process(@Nonnull String line) { return line.replace(APP_VERSION, version); } AboutFragmentLineProcessor(@Nonnull Application application); }
AboutFragmentLineProcessor implements Resources.LineProcessor { @Nonnull @Override public String process(@Nonnull String line) { return line.replace(APP_VERSION, version); } AboutFragmentLineProcessor(@Nonnull Application application); @Nonnull @Override String process(@Nonnull String line); }
AboutFragmentLineProcessor implements Resources.LineProcessor { @Nonnull @Override public String process(@Nonnull String line) { return line.replace(APP_VERSION, version); } AboutFragmentLineProcessor(@Nonnull Application application); @Nonnull @Override String process(@Nonnull String line);  }