From c96e0408d1ea7fdfcdea81c83fc3530c65a409dd Mon Sep 17 00:00:00 2001 From: Jaro Hartmann <57985712+ds-jhartmann@users.noreply.github.com> Date: Mon, 18 Sep 2023 09:56:41 +0200 Subject: [PATCH] feat(irs-policy-store):[TRI-1593] Fix typos in Javadoc --- .../org/eclipse/tractusx/irs/policystore/models/Constraint.java | 2 +- .../eclipse/tractusx/irs/policystore/models/Constraints.java | 2 +- .../tractusx/irs/policystore/models/CreatePolicyRequest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/Constraint.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/Constraint.java index 062b661f7f..b541e612ed 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/Constraint.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/Constraint.java @@ -30,7 +30,7 @@ import lombok.NoArgsConstructor; /** - * A Constraint object use as a element of collection in Permission + * A Constraint object used as an element of collection in Permission */ @Getter @AllArgsConstructor diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/Constraints.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/Constraints.java index 5fd52a7428..efaf2722a5 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/Constraints.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/Constraints.java @@ -30,7 +30,7 @@ import lombok.NoArgsConstructor; /** - * A Constraints contain two collection of Constraint + * A Constraint containing two collections of Constraints */ @Getter @AllArgsConstructor diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/CreatePolicyRequest.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/CreatePolicyRequest.java index cff4edb5be..55af1f8ee8 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/CreatePolicyRequest.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/models/CreatePolicyRequest.java @@ -39,7 +39,7 @@ public record CreatePolicyRequest(@Schema(description = "The ID of the policy to add") @NotNull String policyId, @Schema(description = "Timestamp after which the policy will no longer be accepted in negotiations") @NotNull OffsetDateTime validUntil, - @Schema(description = "List of permissions that will be add to Policy on creation.") @NotNull List permissions + @Schema(description = "List of permissions that will be added to the Policy on creation.") @NotNull List permissions ) { }