diff options
author | anushadasari <danush10@in.ibm.com> | 2019-09-17 22:32:51 +0530 |
---|---|---|
committer | anushadasari <danush10@in.ibm.com> | 2019-09-17 22:33:14 +0530 |
commit | 6ecb0f85a1896c3f9480579c4d98327666d282f5 (patch) | |
tree | 6c86c2621bf875dcd06f3881963203a71fca8bda /auth/auth-gui/src/main | |
parent | 2b8e68eb0de9052ce86d7312ec5e454d3c06d2e4 (diff) |
Make this final field static too
Making a public constant just final as opposed to static final leads to duplicating its value for every instance of the class, uselessly increasing the amount of memory required to execute the application.
Issue-ID: AAF-983
Change-Id: Ibbf0ab51f83fe4e1acc3b6be11228d8063a94fea
Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'auth/auth-gui/src/main')
-rw-r--r-- | auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RequestDetail.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RequestDetail.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RequestDetail.java index 8b6c1376..09b583bf 100644 --- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RequestDetail.java +++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/RequestDetail.java @@ -73,7 +73,7 @@ public class RequestDetail extends Page { * */ private static class Model extends TableData<AAF_GUI,AuthzTrans> { - final long NUM_100NS_INTERVALS_SINCE_UUID_EPOCH = 0x01b21dd213814000L; + static final long NUM_100NS_INTERVALS_SINCE_UUID_EPOCH = 0x01b21dd213814000L; private Slot sTicket; public Model(AuthzEnv env) { sTicket = env.slot(NAME+".ticket"); |