Skip to content

Commit

Permalink
Minor changes during review
Browse files Browse the repository at this point in the history
  • Loading branch information
ottlinger committed Feb 9, 2025
1 parent 266ec4c commit 2773b03
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public class DocumentName implements Comparable<DocumentName> {
private final String root;

/**
* Creates a Builder with the default File system info.
* @return the Builder.
* Creates a Builder with the default file system info.
* @return the builder.
* @see FSInfo
*/
public static Builder builder() {
Expand All @@ -86,27 +86,27 @@ public static Builder builder(final FSInfo fsInfo) {

/**
* Creates a builder for the specified file system.
* @param fileSystem the file system to create ethe builder on.
* @param fileSystem the file system to create the builder on.
* @return a new builder.
*/
public static Builder builder(final FileSystem fileSystem) {
return new Builder(fileSystem);
}

/**
* Creates a builder from a File. The {@link #baseName} is set to the file name if it is a directory otherwise
* Creates a builder from a File. The {@link #baseName} is set to the file name if it is a directory otherwise
* it is set to the directory containing the file.
* @param file The file to set defaults from.
* @return the Builder.
* @return the builder.
*/
public static Builder builder(final File file) {
return new Builder(file);
}

/**
* Creates a Builder from a document name. The Builder will be configured to create a clone of the DocumentName.
* Creates a builder from a document name. The builder will be configured to create a clone of the DocumentName.
* @param documentName the document name to set the defaults from.
* @return the Builder.
* @return the builder.
*/
public static Builder builder(final DocumentName documentName) {
return new Builder(documentName);
Expand Down Expand Up @@ -339,7 +339,7 @@ public FSInfo(final String name, final FileSystem fileSystem) {

/**
* Determines if the file system is case-sensitive.
* @param fileSystem the file system to check
* @param fileSystem the file system to check.
* @return {@code true} if the file system is case-sensitive.
*/
private static boolean isCaseSensitive(final FileSystem fileSystem) {
Expand Down

0 comments on commit 2773b03

Please sign in to comment.