Skip to content

Commit

Permalink
Merge 03fff49 into 14b530a
Browse files Browse the repository at this point in the history
  • Loading branch information
dingyuchen committed Nov 10, 2019
2 parents 14b530a + 03fff49 commit 0e978b3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ dependencies {
}

shadowJar {
archiveName = 'PalPay-v1.3.1.jar'
archiveName = 'PalPay-v1.4-alpha.jar'

destinationDir = file("${buildDir}/jar/")
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/logic/parser/ParserUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public static List<Integer> parseShares(Collection<String> shares) throws ParseE
}
intShares.add(Integer.parseInt(share.trim()));
} catch (NumberFormatException ex) {
throw new ParseException(Amount.MESSAGE_CONSTRAINTS);
throw new ParseException(ex.getMessage());
}

}
Expand Down
1 change: 0 additions & 1 deletion src/main/java/seedu/address/model/transaction/Amount.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public Amount(double amount) {
*/
public Amount(int amount) {
requireNonNull(amount);
checkArgument(isValidAmount(amount), MESSAGE_CONSTRAINTS);
checkArgument(isWithinLimits(amount), INT_CONSTRAINTS);
this.amount = amount;
}
Expand Down

0 comments on commit 0e978b3

Please sign in to comment.