Skip to content

Commit

Permalink
Making DelegatingCache helper and key members private
Browse files Browse the repository at this point in the history
Signed-off-by: Sagar Upadhyaya <[email protected]>
  • Loading branch information
sgup432 committed Nov 6, 2023
1 parent ebeadf9 commit 6acc85d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ public DelegatingCacheHelper getDelegatingCacheHelper() {
* @opensearch.internal
*/
public class DelegatingCacheHelper implements CacheHelper {
CacheHelper cacheHelper;
DelegatingCacheKey serializableCacheKey;
private CacheHelper cacheHelper;
private DelegatingCacheKey serializableCacheKey;

DelegatingCacheHelper(CacheHelper cacheHelper) {
this.cacheHelper = cacheHelper;
Expand All @@ -112,7 +112,7 @@ public void addClosedListener(ClosedListener listener) {
* object itself for serialization purposes.
*/
public class DelegatingCacheKey {
CacheKey cacheKey;
private CacheKey cacheKey;
private final String uniqueId;

DelegatingCacheKey(CacheKey cacheKey) {
Expand Down

0 comments on commit 6acc85d

Please sign in to comment.