Skip to content

Commit

Permalink
Merge pull request CS2103AUG2017-W14-B2#194 from wenzongteo/enhancements
Browse files Browse the repository at this point in the history
test script.adoc collation
  • Loading branch information
wenzongteo authored Nov 12, 2017
2 parents d68c703 + 354eba5 commit 79a75de
Show file tree
Hide file tree
Showing 4 changed files with 388 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/team/hengyu.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ include::../DeveloperGuide.adoc[tag=backup]

==== Other contributions

* Proofreader of the user and developer guides.
* Proofreader of the user and developer guides.
6 changes: 2 additions & 4 deletions src/main/java/seedu/address/model/person/Name.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ public class Name {
public Name(String name) throws IllegalValueException {
requireNonNull(name);
String trimmedName = name.trim();
if (!trimmedName.equals("-")) {
if (!isValidName(trimmedName)) {
throw new IllegalValueException(MESSAGE_NAME_CONSTRAINTS);
}
if (!isValidName(trimmedName)) {
throw new IllegalValueException(MESSAGE_NAME_CONSTRAINTS);
}
this.fullName = trimmedName;
}
Expand Down
Loading

0 comments on commit 79a75de

Please sign in to comment.