Details
Description
________________________________________________________________________________________________________
-
-
- CID 175091: FindBugs: Internationalization (FB.DM_DEFAULT_ENCODING)
/plugin-kylin/src/test/java/org/apache/ranger/authorization/kylin/authorizer/RangerAdminClientImpl.java: 68 in org.apache.ranger.authorization.kylin.authorizer.RangerAdminClientImpl.getServicePoliciesIfUpdated(long, long)()
62 }
63
64 java.nio.file.Path cachePath = FileSystems.getDefault()
65 .getPath(basedir, "/src/test/resources/" + cacheFilename);
66 byte[] cacheBytes = Files.readAllBytes(cachePath);
67
>>> CID 175091: FindBugs: Internationalization (FB.DM_DEFAULT_ENCODING)
>>> Found reliance on default encoding: new String(byte[]).
68 return gson.fromJson(new String(cacheBytes), ServicePolicies.class);
69 }
70
71 @Override
72 public void grantAccess(GrantRevokeRequest request) throws Exception {
73
- CID 175091: FindBugs: Internationalization (FB.DM_DEFAULT_ENCODING)
-
Attachments
Attachments
Issue Links
- links to