fix javadoc

This commit is contained in:
Thomas Rubini 2022-12-15 19:55:58 +01:00
parent b3ef889f6f
commit 04eb23c276
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373
4 changed files with 5 additions and 6 deletions

View File

@ -17,7 +17,6 @@ public class ArgParse {
* Get the command line argument given by the user, parse it with the parser and store it in the corresponding variable * Get the command line argument given by the user, parse it with the parser and store it in the corresponding variable
* @author Capelier-Marla * @author Capelier-Marla
* @param args the command line arguments given by the user * @param args the command line arguments given by the user
* @return void
*/ */
static void parseArguments(String[] args) { static void parseArguments(String[] args) {
// create JCommander and CommandLineParams objects // create JCommander and CommandLineParams objects

View File

@ -21,8 +21,8 @@ public enum DistributionEnum {
/** /**
* Contructor for enums * Contructor for enums
* @param name * @param name the name of the distribution
* @param distributionConstructor * @param distributionConstructor the instance of the distribution
* @author Capelier-Marla * @author Capelier-Marla
*/ */
DistributionEnum(String name, Distribution distributionConstructor) { DistributionEnum(String name, Distribution distributionConstructor) {
@ -49,7 +49,7 @@ public enum DistributionEnum {
/** /**
* Get all distribution instances available in this enum * Get all distribution instances available in this enum
* @return the set of distribution instances * @return the list of distribution instances
*/ */
public static List<Distribution> getAllDistributionsInstances() { public static List<Distribution> getAllDistributionsInstances() {
// create the set that will be returned // create the set that will be returned

View File

@ -37,7 +37,7 @@ public class ArchDistribution extends AsyncRequestsParser implements Distributio
* *
* @param str String, the string to trim * @param str String, the string to trim
* @param trimAfterCharacters String, the character that delimits our string * @param trimAfterCharacters String, the character that delimits our string
* @return * @return the string after being trimmed
*/ */
private static String trimAfterCharacters(String str, String trimAfterCharacters) { private static String trimAfterCharacters(String str, String trimAfterCharacters) {
for (char c : trimAfterCharacters.toCharArray()) { for (char c : trimAfterCharacters.toCharArray()) {

View File

@ -34,7 +34,7 @@ public abstract class AsyncRequestsParser {
* @param packageName String, The package's exact name * @param packageName String, The package's exact name
* @return Pair of Package and Set of String * @return Pair of Package and Set of String
*/ */
protected abstract CompletableFuture<Pair<Package, Set<String>>> getPackageFromAPI(String name); protected abstract CompletableFuture<Pair<Package, Set<String>>> getPackageFromAPI(String packageName);
/** /**
* This function returns a fully completed package containing all * This function returns a fully completed package containing all