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:
parent
9deb570bf4
commit
c15a8d3bcf
7 changed files with 52 additions and 52 deletions
|
@ -69,7 +69,7 @@ public abstract class AbstractToolProviderOperation<T extends AbstractToolProvid
|
|||
/**
|
||||
* Adds arguments to pass to the tool.
|
||||
*
|
||||
* @param args the argument to add
|
||||
* @param args tbe list of arguments
|
||||
* @return this operation
|
||||
*/
|
||||
@SuppressWarnings({"unchecked"})
|
||||
|
@ -81,11 +81,11 @@ public abstract class AbstractToolProviderOperation<T extends AbstractToolProvid
|
|||
/**
|
||||
* Adds arguments to pass to the tool.
|
||||
*
|
||||
* @param arg one or more argument
|
||||
* @param args one or more arguments
|
||||
* @return this operation
|
||||
*/
|
||||
public T toolArgs(String... arg) {
|
||||
return toolArgs(List.of(arg));
|
||||
public T toolArgs(String... args) {
|
||||
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.
|
||||
*
|
||||
* @param files the list of files
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
* @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.
|
||||
*
|
||||
* @param files the list of files
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
* @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.
|
||||
*
|
||||
* @param files the list of files
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
* @throws FileNotFoundException if a file cannot be found
|
||||
*/
|
||||
|
|
|
@ -28,7 +28,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JlinkOperation cmdFiles(String... files) {
|
||||
|
@ -38,7 +38,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JlinkOperation cmdFiles(List<File> files) {
|
||||
|
@ -49,7 +49,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JlinkOperation cmdFiles(File... files) {
|
||||
|
@ -59,7 +59,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JlinkOperation cmdFiles(Path... files) {
|
||||
|
@ -69,7 +69,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JlinkOperation cmdFilesPaths(List<Path> files) {
|
||||
|
@ -80,7 +80,7 @@ public class JlinkOperation extends AbstractToolProviderOperation<JlinkOperation
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JlinkOperation cmdFilesStrings(List<String> files) {
|
||||
|
|
|
@ -28,7 +28,7 @@ public class JlinkOptions extends LinkedHashMap<String, String> {
|
|||
* <p>
|
||||
* 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
|
||||
*/
|
||||
public JlinkOptions addModules(List<String> modules) {
|
||||
|
@ -41,7 +41,7 @@ public class JlinkOptions extends LinkedHashMap<String, String> {
|
|||
* <p>
|
||||
* 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
|
||||
*/
|
||||
public JlinkOptions addModules(String... modules) {
|
||||
|
@ -153,7 +153,7 @@ public class JlinkOptions extends LinkedHashMap<String, String> {
|
|||
/**
|
||||
* Limit the universe of observable modules.
|
||||
*
|
||||
* @param modules one or more module
|
||||
* @param modules one or more modules
|
||||
* @return this map of options
|
||||
*/
|
||||
public JlinkOptions limitModule(List<String> modules) {
|
||||
|
@ -163,7 +163,7 @@ public class JlinkOptions extends LinkedHashMap<String, String> {
|
|||
/**
|
||||
* Limit the universe of observable modules.
|
||||
*
|
||||
* @param modules one or more module
|
||||
* @param modules one or more modules
|
||||
* @return this map of options
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @param names one or more provider name
|
||||
* @param names one or more provider names
|
||||
* @return this map of options
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @param names one or more provider name
|
||||
* @param names one or more provider names
|
||||
* @return this map of options
|
||||
*/
|
||||
public JlinkOptions suggestProviders(String... names) {
|
||||
|
|
|
@ -40,7 +40,7 @@ public class JmodOperation extends AbstractToolProviderOperation<JmodOperation>
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JmodOperation cmdFiles(String... files) {
|
||||
|
@ -50,7 +50,7 @@ public class JmodOperation extends AbstractToolProviderOperation<JmodOperation>
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JmodOperation cmdFiles(File... files) {
|
||||
|
@ -61,7 +61,7 @@ public class JmodOperation extends AbstractToolProviderOperation<JmodOperation>
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JmodOperation cmdFiles(Path... files) {
|
||||
|
@ -71,7 +71,7 @@ public class JmodOperation extends AbstractToolProviderOperation<JmodOperation>
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JmodOperation cmdFilesPaths(List<Path> files) {
|
||||
|
@ -82,7 +82,7 @@ public class JmodOperation extends AbstractToolProviderOperation<JmodOperation>
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JmodOperation cmdFilesStrings(List<String> files) {
|
||||
|
|
|
@ -188,7 +188,7 @@ public class JmodOptions extends LinkedHashMap<String, String> {
|
|||
/**
|
||||
* Exclude files matching the supplied pattern list.
|
||||
*
|
||||
* @param patterns one or more pattern
|
||||
* @param patterns one or more patterns
|
||||
* @return the map of options
|
||||
*/
|
||||
public JmodOptions exclude(List<FilePattern> patterns) {
|
||||
|
@ -207,7 +207,7 @@ public class JmodOptions extends LinkedHashMap<String, String> {
|
|||
/**
|
||||
* Exclude files matching the supplied pattern list.
|
||||
*
|
||||
* @param patterns one or more pattern
|
||||
* @param patterns one or more patterns
|
||||
* @return the map of options
|
||||
*/
|
||||
public JmodOptions exclude(FilePattern... patterns) {
|
||||
|
|
|
@ -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 launchers.
|
||||
*
|
||||
* @param launchers one or more {@link JpackageOperation.Launcher}
|
||||
* @param launchers one or more {@link Launcher launchers}
|
||||
* @return this operation instance
|
||||
*/
|
||||
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 launchers.
|
||||
*
|
||||
* @param launchers one or more {@link JpackageOperation.Launcher}
|
||||
* @param launchers one or more {@link Launcher launchers}
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JpackageOperation addLauncher(Launcher... launchers) {
|
||||
|
@ -59,7 +59,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JpackageOperation cmdFiles(List<File> files) {
|
||||
|
@ -70,7 +70,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JpackageOperation cmdFiles(File... files) {
|
||||
|
@ -80,7 +80,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JpackageOperation cmdFiles(Path... files) {
|
||||
|
@ -90,7 +90,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JpackageOperation cmdFiles(String... files) {
|
||||
|
@ -100,7 +100,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JpackageOperation cmdFilesPaths(List<Path> files) {
|
||||
|
@ -111,7 +111,7 @@ public class JpackageOperation extends AbstractToolProviderOperation<JpackageOpe
|
|||
/**
|
||||
* Read options and/or mode from file(s).
|
||||
*
|
||||
* @param files one or more file
|
||||
* @param files one or more files
|
||||
* @return this operation instance
|
||||
*/
|
||||
public JpackageOperation cmdFilesStrings(List<String> files) {
|
||||
|
|
|
@ -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
|
||||
* {@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
|
||||
*/
|
||||
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
|
||||
* {@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
|
||||
*/
|
||||
public JpackageOptions addModules(String... modules) {
|
||||
|
@ -63,7 +63,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
* <p>
|
||||
* <b>Requires Java 20 or higher</b>.
|
||||
*
|
||||
* @param additionalContents one or more path
|
||||
* @param additionalContents one or more paths
|
||||
* @return this map of options
|
||||
*/
|
||||
public JpackageOptions appContent(List<String> additionalContents) {
|
||||
|
@ -76,7 +76,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
* <p>
|
||||
* <b>Requires Java 20 or higher</b>.
|
||||
*
|
||||
* @param additionalContents one or more path
|
||||
* @param additionalContents one or more paths
|
||||
* @return this map of options
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @param arguments one or more argument
|
||||
* @param arguments one or more arguments
|
||||
* @return this map of options
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @param arguments one or more argument
|
||||
* @param arguments one or more arguments
|
||||
* @return this map of options
|
||||
*/
|
||||
public JpackageOptions arguments(String... arguments) {
|
||||
|
@ -619,7 +619,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public JpackageOptions macDmgContent(String... additionalContents) {
|
||||
|
@ -629,7 +629,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
@SuppressWarnings("UnusedReturnValue")
|
||||
|
@ -641,7 +641,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
@SuppressWarnings("UnusedReturnValue")
|
||||
|
@ -652,7 +652,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @param additionalContents one or more path
|
||||
* @param additionalContents one or more paths
|
||||
* @return this map of options
|
||||
*/
|
||||
public JpackageOptions macDmgContentPaths(Path... additionalContents) {
|
||||
|
@ -674,7 +674,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
/**
|
||||
* 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
|
||||
*/
|
||||
public JpackageOptions macDmgContentStrings(List<String> additionalContents) {
|
||||
|
@ -893,7 +893,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
* <p>
|
||||
* 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
|
||||
*/
|
||||
public JpackageOptions modulePath(String... paths) {
|
||||
|
@ -907,7 +907,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
* <p>
|
||||
* 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
|
||||
*/
|
||||
public JpackageOptions modulePathStrings(List<String> paths) {
|
||||
|
@ -922,7 +922,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
* <p>
|
||||
* 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
|
||||
*/
|
||||
@SuppressWarnings("UnusedReturnValue")
|
||||
|
@ -937,7 +937,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
* <p>
|
||||
* 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
|
||||
*/
|
||||
public JpackageOptions modulePath(List<File> paths) {
|
||||
|
@ -951,7 +951,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
* <p>
|
||||
* 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
|
||||
*/
|
||||
public JpackageOptions modulePath(Path... paths) {
|
||||
|
@ -965,7 +965,7 @@ public class JpackageOptions extends LinkedHashMap<String, String> {
|
|||
* <p>
|
||||
* 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
|
||||
*/
|
||||
public JpackageOptions modulePathPaths(List<Path> paths) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue