Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion amp/docker/setenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export UMASK=0022

JAVA_OPTS="-server -Xmx16g -Djava.awt.headless=true"
JAVA_OPTS="-server -Xmx8g -Djava.awt.headless=true"
JAVA_OPTS="$JAVA_OPTS -Demail.mode=smtp -DsmtpHost=ampdevde.aws.devgateway.org -DsmtpFrom=noreply@developmentgateway.org"
JAVA_OPTS="$JAVA_OPTS -XX:HeapDumpPath=/opt/heapdumps -XX:+HeapDumpOnOutOfMemoryError"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ public void setFunType(FundingType funType) {
public boolean equalsForVersioning(Object obj) {
AmpFundingAmount aux = (AmpFundingAmount) obj;
String original = getVersionableStr();
String copy = aux.funAmount + "-" + aux.currency.getCurrencyCode() + "-" + aux.funDate;
String copy = aux.funAmount + "-" + aux.getCurrencyCode() + "-" + aux.funDate;
return original.equals(copy);
}

protected String getVersionableStr() {
return "" + this.funAmount + "-" + this.currency.getCurrencyCode() + "-" + this.funDate;
return "" + this.funAmount + "-" + getCurrencyCode() + "-" + this.funDate;
}

@Override
Expand Down
Loading