2
0
Fork 0
mirror of https://github.com/ethauvin/bld.git synced 2025-04-25 00:07:12 -07:00

Minor plural cleanups

This commit is contained in:
Erik C. Thauvin 2024-08-26 02:28:28 -07:00
parent 9deb570bf4
commit c15a8d3bcf
Signed by: erik
GPG key ID: 776702A6A2DA330E
7 changed files with 52 additions and 52 deletions

View file

@ -69,7 +69,7 @@ public abstract class AbstractToolProviderOperation<T extends AbstractToolProvid
/** /**
* Adds arguments to pass to the tool. * Adds arguments to pass to the tool.
* *
* @param args the argument to add * @param args tbe list of arguments
* @return this operation * @return this operation
*/ */
@SuppressWarnings({"unchecked"}) @SuppressWarnings({"unchecked"})
@ -81,11 +81,11 @@ public abstract class AbstractToolProviderOperation<T extends AbstractToolProvid
/** /**
* Adds arguments to pass to the tool. * Adds arguments to pass to the tool.
* *
* @param arg one or more argument * @param args one or more arguments
* @return this operation * @return this operation
*/ */
public T toolArgs(String... arg) { public T toolArgs(String... args) {
return toolArgs(List.of(arg)); return toolArgs(List.of(args));
} }
/** /**
@ -100,7 +100,7 @@ public abstract class AbstractToolProviderOperation<T extends AbstractToolProvid
/** /**
* Parses arguments to pass to the tool from the given files. * Parses arguments to pass to the tool from the given files.
* *
* @param files the list of files * @param files one or more files
* @return this operation instance * @return this operation instance
* @throws FileNotFoundException if a file cannot be found * @throws FileNotFoundException if a file cannot be found
*/ */
@ -111,7 +111,7 @@ public abstract class AbstractToolProviderOperation<T extends AbstractToolProvid
/** /**
* Parses arguments to pass to the tool from the given files. * Parses arguments to pass to the tool from the given files.
* *
* @param files the list of files * @param files one or more files
* @return this operation instance * @return this operation instance
* @throws FileNotFoundException if a file cannot be found * @throws FileNotFoundException if a file cannot be found
*/ */
@ -133,7 +133,7 @@ public abstract class AbstractToolProviderOperation<T extends AbstractToolProvid
/** /**
* Parses arguments to pass to the tool from the given files. * Parses arguments to pass to the tool from the given files.
* *
* @param files the list of files * @param files one or more files
* @return this operation instance * @return this operation instance
* @throws FileNotFoundException if a file cannot be found * @throws FileNotFoundException if a file cannot be found
*/ */

View file

@ -28,7 +28,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JlinkOperation cmdFiles(String... files) { public JlinkOperation cmdFiles(String... files) {
@ -38,7 +38,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JlinkOperation cmdFiles(List<File> files) { public JlinkOperation cmdFiles(List<File> files) {
@ -49,7 +49,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JlinkOperation cmdFiles(File... files) { public JlinkOperation cmdFiles(File... files) {
@ -59,7 +59,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JlinkOperation cmdFiles(Path... files) { public JlinkOperation cmdFiles(Path... files) {
@ -69,7 +69,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JlinkOperation cmdFilesPaths(List<Path> files) { public JlinkOperation cmdFilesPaths(List<Path> files) {
@ -80,7 +80,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JlinkOperation cmdFilesStrings(List<String> files) { public JlinkOperation cmdFilesStrings(List<String> files) {

View file

@ -28,7 +28,7 @@ public class JlinkOptions extends LinkedHashMap<String, String> {
* <p> * <p>
* Module can also be {@link #ALL_MODULE_PATH} * Module can also be {@link #ALL_MODULE_PATH}
* *
* @param modules one or more module * @param modules one or more modules
* @return this map of options * @return this map of options
*/ */
public JlinkOptions addModules(List<String> modules) { public JlinkOptions addModules(List<String> modules) {
@ -41,7 +41,7 @@ public class JlinkOptions extends LinkedHashMap<String, String> {
* <p> * <p>
* Module can also be {@link #ALL_MODULE_PATH} * Module can also be {@link #ALL_MODULE_PATH}
* *
* @param modules one or more module * @param modules one or more modules
* @return this map of options * @return this map of options
*/ */
public JlinkOptions addModules(String... modules) { public JlinkOptions addModules(String... modules) {
@ -153,7 +153,7 @@ public class JlinkOptions extends LinkedHashMap<String, String> {
/** /**
* Limit the universe of observable modules. * Limit the universe of observable modules.
* *
* @param modules one or more module * @param modules one or more modules
* @return this map of options * @return this map of options
*/ */
public JlinkOptions limitModule(List<String> modules) { public JlinkOptions limitModule(List<String> modules) {
@ -163,7 +163,7 @@ public class JlinkOptions extends LinkedHashMap<String, String> {
/** /**
* Limit the universe of observable modules. * Limit the universe of observable modules.
* *
* @param modules one or more module * @param modules one or more modules
* @return this map of options * @return this map of options
*/ */
public JlinkOptions limitModule(String... modules) { public JlinkOptions limitModule(String... modules) {
@ -325,7 +325,7 @@ public class JlinkOptions extends LinkedHashMap<String, String> {
/** /**
* Suggest providers that implement the given service types from the module path. * Suggest providers that implement the given service types from the module path.
* *
* @param names one or more provider name * @param names one or more provider names
* @return this map of options * @return this map of options
*/ */
public JlinkOptions suggestProviders(List<String> names) { public JlinkOptions suggestProviders(List<String> names) {
@ -336,7 +336,7 @@ public class JlinkOptions extends LinkedHashMap<String, String> {
/** /**
* Suggest providers that implement the given service types from the module path. * Suggest providers that implement the given service types from the module path.
* *
* @param names one or more provider name * @param names one or more provider names
* @return this map of options * @return this map of options
*/ */
public JlinkOptions suggestProviders(String... names) { public JlinkOptions suggestProviders(String... names) {

View file

@ -40,7 +40,7 @@ public class JmodOperation extends AbstractToolProviderOperation<JmodOperation>
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JmodOperation cmdFiles(String... files) { public JmodOperation cmdFiles(String... files) {
@ -50,7 +50,7 @@ public class JmodOperation extends AbstractToolProviderOperation<JmodOperation>
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JmodOperation cmdFiles(File... files) { public JmodOperation cmdFiles(File... files) {
@ -61,7 +61,7 @@ public class JmodOperation extends AbstractToolProviderOperation<JmodOperation>
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JmodOperation cmdFiles(Path... files) { public JmodOperation cmdFiles(Path... files) {
@ -71,7 +71,7 @@ public class JmodOperation extends AbstractToolProviderOperation<JmodOperation>
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JmodOperation cmdFilesPaths(List<Path> files) { public JmodOperation cmdFilesPaths(List<Path> files) {
@ -82,7 +82,7 @@ public class JmodOperation extends AbstractToolProviderOperation<JmodOperation>
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JmodOperation cmdFilesStrings(List<String> files) { public JmodOperation cmdFilesStrings(List<String> files) {

View file

@ -188,7 +188,7 @@ public class JmodOptions extends LinkedHashMap<String, String> {
/** /**
* Exclude files matching the supplied pattern list. * Exclude files matching the supplied pattern list.
* *
* @param patterns one or more pattern * @param patterns one or more patterns
* @return the map of options * @return the map of options
*/ */
public JmodOptions exclude(List<FilePattern> patterns) { public JmodOptions exclude(List<FilePattern> patterns) {
@ -207,7 +207,7 @@ public class JmodOptions extends LinkedHashMap<String, String> {
/** /**
* Exclude files matching the supplied pattern list. * Exclude files matching the supplied pattern list.
* *
* @param patterns one or more pattern * @param patterns one or more patterns
* @return the map of options * @return the map of options
*/ */
public JmodOptions exclude(FilePattern... patterns) { public JmodOptions exclude(FilePattern... patterns) {

View file

@ -33,7 +33,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
* Additional alternative launchers can be built using this option, and this option can be used to build multiple * Additional alternative launchers can be built using this option, and this option can be used to build multiple
* additional launchers. * additional launchers.
* *
* @param launchers one or more {@link JpackageOperation.Launcher} * @param launchers one or more {@link Launcher launchers}
* @return this operation instance * @return this operation instance
*/ */
public JpackageOperation addLauncher(List<Launcher> launchers) { public JpackageOperation addLauncher(List<Launcher> launchers) {
@ -49,7 +49,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
* Additional alternative launchers can be built using this option, and this option can be used to build multiple * Additional alternative launchers can be built using this option, and this option can be used to build multiple
* additional launchers. * additional launchers.
* *
* @param launchers one or more {@link JpackageOperation.Launcher} * @param launchers one or more {@link Launcher launchers}
* @return this operation instance * @return this operation instance
*/ */
public JpackageOperation addLauncher(Launcher... launchers) { public JpackageOperation addLauncher(Launcher... launchers) {
@ -59,7 +59,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JpackageOperation cmdFiles(List<File> files) { public JpackageOperation cmdFiles(List<File> files) {
@ -70,7 +70,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JpackageOperation cmdFiles(File... files) { public JpackageOperation cmdFiles(File... files) {
@ -80,7 +80,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JpackageOperation cmdFiles(Path... files) { public JpackageOperation cmdFiles(Path... files) {
@ -90,7 +90,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JpackageOperation cmdFiles(String... files) { public JpackageOperation cmdFiles(String... files) {
@ -100,7 +100,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JpackageOperation cmdFilesPaths(List<Path> files) { public JpackageOperation cmdFilesPaths(List<Path> files) {
@ -111,7 +111,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
/** /**
* Read options and/or mode from file(s). * Read options and/or mode from file(s).
* *
* @param files one or more file * @param files one or more files
* @return this operation instance * @return this operation instance
*/ */
public JpackageOperation cmdFilesStrings(List<String> files) { public JpackageOperation cmdFilesStrings(List<String> files) {

View file

@ -35,7 +35,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
* (if {@link #module(String, String) module} is specified), or the default set of modules (if * (if {@link #module(String, String) module} is specified), or the default set of modules (if
* {@link #mainJar(String) mainJar} is specified) are used. * {@link #mainJar(String) mainJar} is specified) are used.
* *
* @param modules one or more module * @param modules one or more modules
* @return this map of options * @return this map of options
*/ */
public JpackageOptions addModules(List<String> modules) { public JpackageOptions addModules(List<String> modules) {
@ -51,7 +51,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
* (if {@link #module(String, String) module} is specified), or the default set of modules (if * (if {@link #module(String, String) module} is specified), or the default set of modules (if
* {@link #mainJar(String) mainJar} is specified) are used. * {@link #mainJar(String) mainJar} is specified) are used.
* *
* @param modules one or more module * @param modules one or more modules
* @return this map of options * @return this map of options
*/ */
public JpackageOptions addModules(String... modules) { public JpackageOptions addModules(String... modules) {
@ -63,7 +63,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
* <p> * <p>
* <b>Requires Java 20 or higher</b>. * <b>Requires Java 20 or higher</b>.
* *
* @param additionalContents one or more path * @param additionalContents one or more paths
* @return this map of options * @return this map of options
*/ */
public JpackageOptions appContent(List<String> additionalContents) { public JpackageOptions appContent(List<String> additionalContents) {
@ -76,7 +76,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
* <p> * <p>
* <b>Requires Java 20 or higher</b>. * <b>Requires Java 20 or higher</b>.
* *
* @param additionalContents one or more path * @param additionalContents one or more paths
* @return this map of options * @return this map of options
*/ */
public JpackageOptions appContent(String... additionalContents) { public JpackageOptions appContent(String... additionalContents) {
@ -129,7 +129,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
/** /**
* Command line arguments to pass to main class if no command line arguments are given to the launcher. * Command line arguments to pass to main class if no command line arguments are given to the launcher.
* *
* @param arguments one or more argument * @param arguments one or more arguments
* @return this map of options * @return this map of options
*/ */
public JpackageOptions arguments(List<String> arguments) { public JpackageOptions arguments(List<String> arguments) {
@ -140,7 +140,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
/** /**
* Command line arguments to pass to main class if no command line arguments are given to the launcher. * Command line arguments to pass to main class if no command line arguments are given to the launcher.
* *
* @param arguments one or more argument * @param arguments one or more arguments
* @return this map of options * @return this map of options
*/ */
public JpackageOptions arguments(String... arguments) { public JpackageOptions arguments(String... arguments) {
@ -619,7 +619,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
/** /**
* Include all the referenced content in the dmg. * Include all the referenced content in the dmg.
* *
* @param additionalContents one or more path * @param additionalContents one or more paths
* @return this map of options * @return this map of options
*/ */
public JpackageOptions macDmgContent(String... additionalContents) { public JpackageOptions macDmgContent(String... additionalContents) {
@ -629,7 +629,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
/** /**
* Include all the referenced content in the dmg. * Include all the referenced content in the dmg.
* *
* @param additionalContents one or more path * @param additionalContents one or more paths
* @return this map of options * @return this map of options
*/ */
@SuppressWarnings("UnusedReturnValue") @SuppressWarnings("UnusedReturnValue")
@ -641,7 +641,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
/** /**
* Include all the referenced content in the dmg. * Include all the referenced content in the dmg.
* *
* @param additionalContents one or more path * @param additionalContents one or more paths
* @return this map of options * @return this map of options
*/ */
@SuppressWarnings("UnusedReturnValue") @SuppressWarnings("UnusedReturnValue")
@ -652,7 +652,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
/** /**
* Include all the referenced content in the dmg. * Include all the referenced content in the dmg.
* *
* @param additionalContents one or more path * @param additionalContents one or more paths
* @return this map of options * @return this map of options
*/ */
public JpackageOptions macDmgContentPaths(List<Path> additionalContents) { public JpackageOptions macDmgContentPaths(List<Path> additionalContents) {
@ -664,7 +664,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
/** /**
* Include all the referenced content in the dmg. * Include all the referenced content in the dmg.
* *
* @param additionalContents one or more path * @param additionalContents one or more paths
* @return this map of options * @return this map of options
*/ */
public JpackageOptions macDmgContentPaths(Path... additionalContents) { public JpackageOptions macDmgContentPaths(Path... additionalContents) {
@ -674,7 +674,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
/** /**
* Include all the referenced content in the dmg. * Include all the referenced content in the dmg.
* *
* @param additionalContents one or more path * @param additionalContents one or more paths
* @return this map of options * @return this map of options
*/ */
public JpackageOptions macDmgContentStrings(List<String> additionalContents) { public JpackageOptions macDmgContentStrings(List<String> additionalContents) {
@ -893,7 +893,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
* <p> * <p>
* Each path is absolute or relative to the current directory. * Each path is absolute or relative to the current directory.
* *
* @param paths one or more path * @param paths one or more paths
* @return this map of options * @return this map of options
*/ */
public JpackageOptions modulePath(String... paths) { public JpackageOptions modulePath(String... paths) {
@ -907,7 +907,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
* <p> * <p>
* Each path is absolute or relative to the current directory. * Each path is absolute or relative to the current directory.
* *
* @param paths one or more path * @param paths one or more paths
* @return this map of options * @return this map of options
*/ */
public JpackageOptions modulePathStrings(List<String> paths) { public JpackageOptions modulePathStrings(List<String> paths) {
@ -922,7 +922,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
* <p> * <p>
* Each path is absolute or relative to the current directory. * Each path is absolute or relative to the current directory.
* *
* @param paths one or more path * @param paths one or more paths
* @return this map of options * @return this map of options
*/ */
@SuppressWarnings("UnusedReturnValue") @SuppressWarnings("UnusedReturnValue")
@ -937,7 +937,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
* <p> * <p>
* Each path is absolute or relative to the current directory. * Each path is absolute or relative to the current directory.
* *
* @param paths one or more path * @param paths one or more paths
* @return this map of options * @return this map of options
*/ */
public JpackageOptions modulePath(List<File> paths) { public JpackageOptions modulePath(List<File> paths) {
@ -951,7 +951,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
* <p> * <p>
* Each path is absolute or relative to the current directory. * Each path is absolute or relative to the current directory.
* *
* @param paths one or more path * @param paths one or more paths
* @return this map of options * @return this map of options
*/ */
public JpackageOptions modulePath(Path... paths) { public JpackageOptions modulePath(Path... paths) {
@ -965,7 +965,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
* <p> * <p>
* Each path is absolute or relative to the current directory. * Each path is absolute or relative to the current directory.
* *
* @param paths one or more path * @param paths one or more paths
* @return this map of options * @return this map of options
*/ */
public JpackageOptions modulePathPaths(List<Path> paths) { public JpackageOptions modulePathPaths(List<Path> paths) {