Skip to content

Commit

Permalink
Use proper data type, see GluuFederation/oxAuth#1271
Browse files Browse the repository at this point in the history
  • Loading branch information
jgomer2001 committed Mar 11, 2020
1 parent 51bea1f commit d7ed7f1
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.gluu.persist.annotation.AttributeName;
Expand All @@ -34,10 +35,10 @@ public class SimpleUser implements Serializable {
private String userId;

@AttributeName
private String updatedAt;
private Date updatedAt;

@AttributeName(name = "oxCreationTimestamp")
private String createdAt;
private Date createdAt;

@AttributeName(name = "oxAuthPersistentJWT")
private String[] oxAuthPersistentJwt;
Expand Down Expand Up @@ -72,19 +73,19 @@ public void setOxAuthPersistentJwt(String[] oxAuthPersistentJwt) {
this.oxAuthPersistentJwt = oxAuthPersistentJwt;
}

public String getUpdatedAt() {
public Date getUpdatedAt() {
return updatedAt;
}

public void setUpdatedAt(String updatedAt) {
public void setUpdatedAt(Date updatedAt) {
this.updatedAt = updatedAt;
}

public String getCreatedAt() {
public Date getCreatedAt() {
return createdAt;
}

public void setCreatedAt(String createdAt) {
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}

Expand Down

0 comments on commit d7ed7f1

Please sign in to comment.