From e6f5dc2031f05882001449ff6e4b405801230e3b Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Mon, 21 Oct 2019 14:31:06 +0530 Subject: [PATCH] OAuthTokenDAO.java -there's no need to call "toString() Issue-ID: AAF-876 Change-Id: Ia19a7ba37b299ff90ad8c9191d3a05c143221b9a Signed-off-by: Thugutla sailakshmi --- .../src/main/java/org/onap/aaf/auth/dao/cass/OAuthTokenDAO.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { } public String toString() { - return user.toString() + ' ' + id.toString() + ' ' + Chrono.dateTime(expires) + (active?"":"in") + "active"; + return user + ' ' + id + ' ' + Chrono.dateTime(expires) + (active?"":"in") + "active"; } } -- 2.16.6