summaryrefslogtreecommitdiffstats
path: root/dblib/provider/src
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2018-12-11 14:55:42 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-11 14:55:42 +0000
commit8befae4a4605b2c11541d48b5c026a688d236905 (patch)
tree7c4f29397660fec299a14ac5bae03dc787f54454 /dblib/provider/src
parentab7622d76dcf29983cb6f5c7745898115a89c9fd (diff)
parentc09ec873586ca6870dd2764d64a04482197e9759 (diff)
Merge "fixed sonar issues in CachedDataSourceFactory"
Diffstat (limited to 'dblib/provider/src')
-rw-r--r--dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/CachedDataSourceFactory.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/CachedDataSourceFactory.java b/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/CachedDataSourceFactory.java
index 296fe70f..15aa7a1d 100644
--- a/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/CachedDataSourceFactory.java
+++ b/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/CachedDataSourceFactory.java
@@ -4,6 +4,8 @@
* ================================================================================
* Copyright (C) 2016 - 2017 ONAP
* ================================================================================
+ * Modifications Copyright (C) 2018 IBM.
+ * ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -38,7 +40,7 @@ public class CachedDataSourceFactory {
if(config instanceof JDBCConfiguration)
return JdbcDBCachedDataSource.createInstance(config);
- return (CachedDataSource)null;
+ return null;
}
}