Skip to content

Commit

Permalink
removed limit for keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
jiwalker-usgs committed Feb 28, 2014
1 parent 7fad034 commit 414f423
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -21,8 +21,6 @@ public class Summary implements Serializable {
private static final long serialVersionUID = 182763L; private static final long serialVersionUID = 182763L;


public static final int VERSION_MAX_LENGTH = 15; public static final int VERSION_MAX_LENGTH = 15;
public static final int KEYWORDS_MAX_LENGTH = 2048;



private transient int id; private transient int id;
private String version; private String version;
Expand Down Expand Up @@ -78,13 +76,11 @@ public void setFull(Full full) {
this.full = full; this.full = full;
} }


@Column(length = KEYWORDS_MAX_LENGTH)
public String getKeywords() { public String getKeywords() {
return keywords; return keywords;
} }


public void setKeywords(String keywords) { public void setKeywords(String keywords) {
StringPrecondition.checkStringArgument(keywords, KEYWORDS_MAX_LENGTH);
this.keywords = keywords; this.keywords = keywords;
} }


Expand Down

0 comments on commit 414f423

Please sign in to comment.