Path function ( Path arg0 ) { if ( ! EMPTY_PATH . equals ( arg0 ) ) { arg0 = arg0 . normalize ( ) ; } return arg0 ; }
get a path without unnecessary path parts . this method is a workaround for jdk-8037945 paths.get '' '' . normalize throws arrayindexoutofboundsexception . concode_field_sep Function<Path,String> UNIX_PATH concode_elem_sep Path EMPTY_PATH concode_elem_sep Function<String,Path> TO_PATH concode_field_sep Optional<Path> stripPrefix concode_elem_sep String pathWithUnixSeparatorsAndTrailingSlash concode_elem_sep String pathWithUnixSeparators concode_elem_sep String pathWithUnixSeparators concode_elem_sep boolean isGeneratedFile concode_elem_sep Function<String,Path> toPathFn concode_elem_sep Path apply concode_elem_sep String apply concode_elem_sep boolean fileContentsDiffer concode_elem_sep String stripPathPrefixAndExtension concode_elem_sep Path createRelativeSymlink concode_elem_sep Path createRelativeSymlink concode_elem_sep String getNameWithoutExtension concode_elem_sep ImmutableSortedSet<Path> asPaths concode_elem_sep byte[] inputStreamDigest concode_elem_sep ByteSource asByteSource concode_elem_sep String pathWithPlatformSeparators concode_elem_sep String pathWithPlatformSeparators concode_elem_sep ImmutableSet<Path> filterForSubpaths concode_elem_sep String getFileExtension concode_elem_sep Path relativize concode_elem_sep Path expandHomeDir concode_elem_sep Path getParentOrEmpty concode_elem_sep Path getRelativePath concode_elem_sep String pathWithWindowsSeparators