fixing javax cache issue

This commit is contained in:
hasuniea 2016-08-04 16:35:31 +05:30
parent 86056df434
commit 16e306268f

View File

@ -54,7 +54,7 @@ public class DeviceUtil {
if (deviceID != null) {
cacheEntry.setDeviceID(deviceID);
}
getTokenCache().put(token, cacheEntry);
getTokenCache().put(token.trim(), cacheEntry);
}
public static void removeToken(String token) {