Skip to content

Commit

Permalink
Merge pull request #55 from digipost/hjemmelshaver-name-max-length
Browse files Browse the repository at this point in the history
Øk maxlengden til et navn for hjemmelshaver.
  • Loading branch information
Christian S authored Nov 28, 2019
2 parents 5750d42 + a2fcd7d commit d643795
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>no.digipost</groupId>
<artifactId>digipost-open-super-pom</artifactId>
<version>3</version>
<version>4</version>
</parent>

<artifactId>digipost-data-types</artifactId>
<version>0.27-SNAPSHOT</version>
<version>0.28-SNAPSHOT</version>
<name>Digipost Data Types</name>
<description>Data types for Digipost messages</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import lombok.NoArgsConstructor;
import lombok.Value;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlElement;
Expand All @@ -19,7 +18,7 @@ public class Hjemmelshaver {

@XmlElement
@NotNull
@Size(max = 50)
@Size(max = 75)
String name;

@XmlElement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public ResidenceAddress(String houseNumber, String streetName, String postalCode
String unitNumber;

@XmlElement(name = "house-number")
@Size(max = 5)
@Size(max = 20)
@Description("A house number with or without a house letter. E.g. 11 or 11A")
String houseNumber;

Expand Down

0 comments on commit d643795

Please sign in to comment.