Skip to content

Commit

Permalink
Merge pull request #98 from iamputradanish/master
Browse files Browse the repository at this point in the history
Implement update password feature
  • Loading branch information
ShreyasKp committed Oct 11, 2018
2 parents f40fac6 + f1ce81b commit 572a41d
Show file tree
Hide file tree
Showing 7 changed files with 218 additions and 154 deletions.
11 changes: 11 additions & 0 deletions addressbook.txt
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AddressBook>
<persons>
<name>John Doe</name>
<phone isPrivate="false">98765432</phone>
<email isPrivate="false">johnd@gmail.com</email>
<address isPrivate="false">311, Clementi Ave 2, #02-25</address>
<tagged>owesMoney</tagged>
<tagged>friends</tagged>
</persons>
</AddressBook>
File renamed without changes
2 changes: 1 addition & 1 deletion passwordStorage.txt
@@ -1,2 +1,2 @@
hqp -795402416
hqp 834283274
po -1367640577
101 changes: 0 additions & 101 deletions src/passwordUpdater.java

This file was deleted.

3 changes: 2 additions & 1 deletion src/seedu/addressbook/commands/HelpCommand.java
Expand Up @@ -21,7 +21,8 @@ public class HelpCommand extends Command {
+ "\n" + ViewAllCommand.MESSAGE_USAGE
+ "\n" + HelpCommand.MESSAGE_USAGE
+ "\n" + LockCommand.MESSAGE_USAGE
+ "\n" + ExitCommand.MESSAGE_USAGE;
+ "\n" + ExitCommand.MESSAGE_USAGE
+ "\n" + UpdatePasswordCommand.MESSAGE_USAGE;

public static final String MESSAGE_PO_USAGES = FindCommand.MESSAGE_USAGE //TODO implement this to PO
+ "\n" + ListCommand.MESSAGE_USAGE
Expand Down
9 changes: 9 additions & 0 deletions src/seedu/addressbook/commands/UpdatePasswordCommand.java
@@ -0,0 +1,9 @@
package seedu.addressbook.commands;

public class UpdatePasswordCommand extends Command {

public static final String COMMAND_WORD = "update password";
public static final String MESSAGE_USAGE = COMMAND_WORD + ":\n" + "Updates a password\n\t"
+ "Example: " + COMMAND_WORD;

}

0 comments on commit 572a41d

Please sign in to comment.