Skip to content

Commit

Permalink
Remove unused createAtTimestamp for account output
Browse files Browse the repository at this point in the history
  • Loading branch information
wkurniawan07 committed Mar 28, 2022
1 parent d040e65 commit fb54cb6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/main/java/teammates/ui/output/AccountData.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ public class AccountData extends ApiOutput {
private final String googleId;
private final String name;
private final String email;
private final long createdAtTimeStamp;

public AccountData(AccountAttributes accountInfo) {
this.googleId = accountInfo.getGoogleId();
this.name = accountInfo.getName();
this.email = accountInfo.getEmail();
this.createdAtTimeStamp = accountInfo.getCreatedAt().toEpochMilli();
}

public String getEmail() {
Expand All @@ -27,10 +25,6 @@ public String getGoogleId() {
return googleId;
}

public long getCreatedAtTimeStamp() {
return createdAtTimeStamp;
}

public String getName() {
return name;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export class AdminAccountsPageComponent implements OnInit {
googleId: '',
name: '',
email: '',
createdAtTimeStamp: 0,
};

isLoadingAccountInfo: boolean = false;
Expand Down

0 comments on commit fb54cb6

Please sign in to comment.