Skip to content

Commit

Permalink
Corrected error in set method.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnisLucidi01 committed Aug 30, 2023
1 parent b0f610e commit 4445d78
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import it.pagopa.swclient.mil.preset.ErrorCode;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import jakarta.ws.rs.PathParam;

public class PresetPathParams {
Expand All @@ -23,18 +22,17 @@ public String getPresetId() {
}

/**
* @param subscriberId the subscriberId to set
* @param presetId the presetId to set
*/
public void setPresetId(String subscriberId) {
public void setPresetId(String presetId) {
this.presetId = presetId;
}


@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("PresetPathParam [presetId=");
builder.append(presetId);
builder.append("]");
return builder.toString();
return "PresetPathParam [presetId=" +
presetId +
"]";
}
}

0 comments on commit 4445d78

Please sign in to comment.