Skip to content

Commit

Permalink
docs(params): Remove/fix constructors and missing params
Browse files Browse the repository at this point in the history
  • Loading branch information
Griefed committed May 19, 2022
1 parent 20a001b commit d78e310
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,7 @@ public class ServerPackModel extends ConfigurationModel {
* Constructor for our ServerPackModel.
* @author Griefed
*/
public ServerPackModel() {

}

/**
* Constructor for our ServerPackModel using a project and file ID from a CurseForge project.
* @author Griefed
* @param projectID Integer. The project ID of the CurseForge project.
* @param fileID Integer. The file ID of the CurseForge project file.
*/
public ServerPackModel(int projectID, int fileID) {
public ServerPackModel()) {
this.projectName = "";
this.fileName = "";
this.fileDiskName = "";
Expand All @@ -76,7 +66,7 @@ public ServerPackModel(int projectID, int fileID) {
* @param dateCreated The date and time at which this server pack was requested for generation.
* @param lastModified The date and time this server pack was last modified. Be it either due to regeneration or something else.
*/
public ServerPackModel(int id, int projectID, int fileID, String fileName, String displayName, double size, int downloads, int confirmedWorking, String status, Timestamp dateCreated, Timestamp lastModified) {
public ServerPackModel(int id, String fileName, String displayName, double size, int downloads, int confirmedWorking, String status, Timestamp dateCreated, Timestamp lastModified) {
this.id = id;
this.fileName = fileName;
this.fileDiskName = displayName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class GenerateZip extends Task {
* Create a message with a task for a Zip generation.
* @author Griefed
* @param zipGenerationProperties {@link String} The concatenated String which contains all information with which a server pack will be
* generated from. See {@link ZipController#requestGenerationFromZip(String, String, String, String, String, boolean)}.
* generated from. See {@link ZipController#requestGenerationFromZip(String, String, String, String, String)}.
*/
public GenerateZip(String zipGenerationProperties) {
this.zipGenerationProperties = zipGenerationProperties;
Expand Down

0 comments on commit d78e310

Please sign in to comment.