Skip to content

Commit c423567

Browse files
committed
Fix ordering of Meeting's toString
1 parent 8a7b1a4 commit c423567

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

  • src/main/java/seedu/address/model/meeting/meeting

src/main/java/seedu/address/model/meeting/meeting/Meeting.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,18 @@ public int hashCode() {
111111
@Override
112112
public String toString() {
113113
final StringBuilder builder = new StringBuilder();
114-
builder.append(getTitle())
115-
.append(" Title: ")
116-
.append(getDescription())
114+
builder.append(" Title: ")
115+
.append(getTitle())
117116
.append(" Description: ")
118-
.append(getFrom())
117+
.append(getDescription())
119118
.append(" From: ")
120-
.append(getTo())
119+
.append(getFrom())
121120
.append(" To: ")
122-
.append(getContacts())
121+
.append(getTo())
123122
.append(" Contacts: ")
124-
.append(getLocation())
125-
.append(" Location: ");
123+
.append(getContacts())
124+
.append(" Location: ")
125+
.append(getLocation());
126126
return builder.toString();
127127
}
128128

0 commit comments

Comments
 (0)