Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Search
Commits
e426950e
Commit
e426950e
authored
Aug 23, 2021
by
Bill Wang
Browse files
use proper instance of
parent
ad6097f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
provider/search-aws/src/main/java/org/opengroup/osdu/search/provider/aws/cache/CursorCacheImpl.java
View file @
e426950e
...
...
@@ -76,7 +76,7 @@ public class CursorCacheImpl implements CursorCache {
}
cache
=
new
RedisCache
(
host
,
port
,
password
,
expTimeSeconds
,
String
.
class
,
CursorSettings
.
class
);
}
local
=
cache
.
getClass
()
!=
AutoCloseable
.
class
;
local
=
cache
instanceof
AutoCloseable
;
}
/**
...
...
provider/search-aws/src/main/java/org/opengroup/osdu/search/provider/aws/cache/FieldTypeMappingCacheImpl.java
View file @
e426950e
...
...
@@ -66,7 +66,7 @@ public class FieldTypeMappingCacheImpl implements IFieldTypeMappingCache {
}
cache
=
new
RedisCache
(
host
,
port
,
password
,
expTimeSeconds
,
String
.
class
,
Map
.
class
);
}
local
=
cache
.
getClass
()
!=
AutoCloseable
.
class
;
local
=
cache
instanceof
AutoCloseable
;
}
/**
...
...
provider/search-aws/src/main/java/org/opengroup/osdu/search/provider/aws/cache/IndexCacheImpl.java
View file @
e426950e
...
...
@@ -60,7 +60,7 @@ public class IndexCacheImpl implements IIndexCache<String, Boolean>, AutoCloseab
}
cache
=
new
RedisCache
(
host
,
port
,
password
,
expTimeSeconds
,
String
.
class
,
Boolean
.
class
);
}
local
=
cache
.
getClass
()
!=
AutoCloseable
.
class
;
local
=
cache
instanceof
AutoCloseable
;
}
@Override
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment