@Test public void should_find_only_lf_and_not_raise_any_issues() throws Exception { EndLineCharactersCheck check = new EndLineCharactersCheck(); check.setEndLineCharacters("LF"); JavaPropertiesCheckVerifier.issues(check, getTestFileWithProperEndLineCharacters("\n")) .noMore(); }
@VisibleForTesting void setEndLineCharacters(String endLineCharacters) { this.endLineCharacters = endLineCharacters; }
EndLineCharactersCheck extends DoubleDispatchVisitorCheck implements CharsetAwareVisitor { @VisibleForTesting void setEndLineCharacters(String endLineCharacters) { this.endLineCharacters = endLineCharacters; } }
EndLineCharactersCheck extends DoubleDispatchVisitorCheck implements CharsetAwareVisitor { @VisibleForTesting void setEndLineCharacters(String endLineCharacters) { this.endLineCharacters = endLineCharacters; }  }
EndLineCharactersCheck extends DoubleDispatchVisitorCheck implements CharsetAwareVisitor { @VisibleForTesting void setEndLineCharacters(String endLineCharacters) { this.endLineCharacters = endLineCharacters; }  @Override void visitProperties(PropertiesTree tree); @Override void validateParameters(); @Override void setCharset(Charset charset); }
EndLineCharactersCheck extends DoubleDispatchVisitorCheck implements CharsetAwareVisitor { @VisibleForTesting void setEndLineCharacters(String endLineCharacters) { this.endLineCharacters = endLineCharacters; }  @Override void visitProperties(PropertiesTree tree); @Override void validateParameters(); @Override void setCharset(Charset charset);  }