Skip to content

Commit f3e6719

Browse files
committed
feat: update graph configuration
Signed-off-by: Otavio Santana <[email protected]>
1 parent 850fbc0 commit f3e6719

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/communication/GraphConfiguration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public interface GraphConfiguration extends Function<Settings, Graph> {
3333
* @param <T> the configuration type
3434
* @return {@link GraphConfiguration} instance
3535
*/
36+
@SuppressWarnings("unchecked")
3637
static <T extends GraphConfiguration> T getConfiguration() {
3738
return (T) ServiceLoader.load(GraphConfiguration.class)
3839
.stream()
@@ -48,6 +49,7 @@ static <T extends GraphConfiguration> T getConfiguration() {
4849
* @param type the particular provider
4950
* @return {@link GraphConfiguration} instance
5051
*/
52+
@SuppressWarnings("unchecked")
5153
static <T extends GraphConfiguration> T getConfiguration(Class<T> type) {
5254
return (T) ServiceLoader.load(GraphConfiguration.class)
5355
.stream()

0 commit comments

Comments
 (0)