Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlschuetter committed Jan 9, 2024
1 parent cd66ff1 commit e362d03
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

/**
* Some {@link Path}-related helper methods.
*
*
* @author Christian Kohlschütter
*/
public final class PathUtil {
Expand All @@ -36,7 +36,7 @@ private PathUtil() {

/**
* Gets the file name of the given path as a string.
*
*
* @param p The path.
* @return The filename
* @throws IllegalStateException if the filename is null.
Expand All @@ -52,7 +52,7 @@ public static String getFilename(Path p) {
/**
* Resolves a sibling path that is identical to the given path, but a suffix string is appended,
* keeping existing "file suffixes" intact.
*
*
* @param path The original path.
* @param suffix The extra suffix.
* @return The new sibling path with the additional suffix.
Expand All @@ -63,7 +63,7 @@ public static Path resolveSiblingAppendingSuffix(Path path, String suffix) {

/**
* Creates ancestor directories for the given path.
*
*
* @param path The path to create ancestor directories for.
* @throws IOException on error.
*/
Expand All @@ -76,7 +76,7 @@ public static void createAncestorDirectories(Path path) throws IOException {

/**
* Relativize a sibling path, using the base's parent directory.
*
*
* @param base The base path.
* @param path The other path.
* @return The relativized path.
Expand Down Expand Up @@ -126,7 +126,7 @@ public static Path partialRealpath(Path p) {

/**
* Converts the given URL to a Path, if possible.
*
*
* @param url The URL to convert to.
* @return The Path, or {@code null} if not convertible.
*/
Expand Down

0 comments on commit e362d03

Please sign in to comment.