summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThugutla sailakshmi <tsaila10@in.ibm.com>2019-10-21 14:31:06 +0530
committerThugutla sailakshmi <tsaila10@in.ibm.com>2019-10-21 14:31:23 +0530
commite6f5dc2031f05882001449ff6e4b405801230e3b (patch)
tree975f6c5cfe95dadb9bddd1b4cf539f464a7ff04f
parentbc5f9dec37da59182034c1166a6a9d4150f40847 (diff)
OAuthTokenDAO.java -there's no need to call "toString()
Issue-ID: AAF-876 Change-Id: Ia19a7ba37b299ff90ad8c9191d3a05c143221b9a Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
-rw-r--r--auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cass/OAuthTokenDAO.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cass/OAuthTokenDAO.java b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cass/OAuthTokenDAO.java
index a84490d0..bda7ef0f 100644
--- a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cass/OAuthTokenDAO.java
+++ b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cass/OAuthTokenDAO.java
@@ -3,6 +3,7 @@
* org.onap.aaf
* ===========================================================================
* Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2019 IBM.
* ===========================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -100,7 +101,7 @@ public class OAuthTokenDAO extends CassDAOImpl<AuthzTrans,OAuthTokenDAO.Data> {
}
public String toString() {
- return user.toString() + ' ' + id.toString() + ' ' + Chrono.dateTime(expires) + (active?"":"in") + "active";
+ return user + ' ' + id + ' ' + Chrono.dateTime(expires) + (active?"":"in") + "active";
}
}