Skip to content

Commit

Permalink
Fix Broken Startup (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanlk99 authored and Yehezkiel01 committed Oct 17, 2019
1 parent d201ae5 commit 28621c8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/main/java/tagline/MainApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*/
public class MainApp extends Application {

public static final Version VERSION = new Version(0, 6, 0, true);
public static final Version VERSION = new Version(1, 2, 0, true);

private static final Logger logger = LogsCenter.getLogger(MainApp.class);

Expand Down
19 changes: 11 additions & 8 deletions src/main/java/tagline/model/util/SampleDataUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,20 @@ public static Contact[] getSampleContacts() {
// @formatter:off
return new Contact[]{
new Contact(new Name("Alex Yeoh"), new Phone("87438807"), new Email("[email protected]"),
new Address("Blk 30 Geylang Street 29, #06-40"), new Description("friend")),
new Address("Blk 30 Geylang Street 29, #06-40"), new Description("friend"), new ContactId(1)),
new Contact(new Name("Bernice Yu"), new Phone("99272758"), new Email("[email protected]"),
new Address("Blk 30 Lorong 3 Serangoon Gardens, #07-18"), new Description("friend")),
new Address("Blk 30 Lorong 3 Serangoon Gardens, #07-18"), new Description("friend"),
new ContactId(2)),
new Contact(new Name("Charlotte Oliveiro"), new Phone("93210283"), new Email("[email protected]"),
new Address("Blk 11 Ang Mo Kio Street 74, #11-04"), new Description("friend")),
new Address("Blk 11 Ang Mo Kio Street 74, #11-04"), new Description("friend"),
new ContactId(3)),
new Contact(new Name("David Li"), new Phone("91031282"), new Email("[email protected]"),
new Address("Blk 436 Serangoon Gardens Street 26, #16-43"), new Description("friend")),
new Address("Blk 436 Serangoon Gardens Street 26, #16-43"), new Description("friend"),
new ContactId(4)),
new Contact(new Name("Irfan Ibrahim"), new Phone("92492021"), new Email("[email protected]"),
new Address("Blk 47 Tampines Street 20, #17-35"), new Description("friend")),
new Address("Blk 47 Tampines Street 20, #17-35"), new Description("friend"), new ContactId(5)),
new Contact(new Name("Roy Balakrishnan"), new Phone("92624417"), new Email("[email protected]"),
new Address("Blk 45 Aljunied Street 85, #11-31"), new Description("friend"))
new Address("Blk 45 Aljunied Street 85, #11-31"), new Description("friend"), new ContactId(6))
};
}

Expand All @@ -57,8 +60,8 @@ public static ReadOnlyAddressBook getSampleAddressBook() {

public static Note[] getSampleNotes() {
return new Note[]{
new Note(new NoteId(), new Title(""), new Content(""), new TimeCreated(), new TimeLastEdited(),
new HashSet<>()),
new Note(new NoteId(), new Title(""), new Content("Hello from TagLine!"),
new TimeCreated(), new TimeLastEdited(), new HashSet<>()),
new Note(new NoteId(), new Title("Lorem Ipsum"), new Content("Lorem ipsum dolor sit amet, "
+ "consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna "
+ "aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip"
Expand Down

0 comments on commit 28621c8

Please sign in to comment.