Remove unused field in JPA server

This commit is contained in:
James Agnew 2016-10-25 11:30:11 -04:00
parent 27208127e0
commit 3de62701cd
2 changed files with 4 additions and 11 deletions

View File

@ -164,9 +164,6 @@ public class ResourceTable extends BaseHasResource implements Serializable {
@Column(name = "SP_INDEX_STATUS", nullable = true)
private Long myIndexStatus;
@Column(name = "IS_CONTAINED", nullable = true)
private boolean myIsContainedResource;
@Column(name = "RES_LANGUAGE", length = MAX_LANGUAGE_LENGTH, nullable = true)
private String myLanguage;
@ -362,10 +359,6 @@ public class ResourceTable extends BaseHasResource implements Serializable {
return myHasLinks;
}
public boolean isIsContainedResource() {
return myIsContainedResource;
}
public boolean isParamsCoordsPopulated() {
return myParamsCoordsPopulated;
}
@ -410,10 +403,6 @@ public class ResourceTable extends BaseHasResource implements Serializable {
myIndexStatus = theIndexStatus;
}
public void setIsContainedResource(boolean theIsContainedResource) {
myIsContainedResource = theIsContainedResource;
}
public void setLanguage(String theLanguage) {
if (defaultString(theLanguage).length() > MAX_LANGUAGE_LENGTH) {
throw new UnprocessableEntityException("Language exceeds maximum length of " + MAX_LANGUAGE_LENGTH + " chars: " + theLanguage);

View File

@ -221,6 +221,10 @@
the generated bundle. Thanks to Hannes Venter for the pull
request and contribution!
</action>
<action type="fix">
Remove unused field (myIsContained) from ResourceTable
in JPA server.
</action>
</release>
<release version="2.0" date="2016-08-30">
<action type="fix">