@Test public void testFollowLinks() { assertTrue("Null ?", IoUtils.followLinks((LinkOption[]) null)); assertTrue("Empty ?", IoUtils.followLinks(IoUtils.EMPTY_LINK_OPTIONS)); assertFalse("No-follow ?", IoUtils.followLinks(IoUtils.getLinkOptions(false))); }
public ModifiableFileWatcher(Path file) { this(file, IoUtils.getLinkOptions(false)); }