fixed sonar issue in R__CloudConfigMigration.java 75/63575/1
authorSandeep J <sandeejh@in.ibm.com>
Wed, 29 Aug 2018 19:38:00 +0000 (01:08 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Wed, 29 Aug 2018 19:39:39 +0000 (01:09 +0530)
fixed sonar issues mentioned in Jira ticket SO-931

Issue-ID: SO-931
Change-Id: I31ec20e4958a11f25050eadd42ce0edc56e042d4
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
adapters/mso-openstack-adapters/src/main/java/db/migration/R__CloudConfigMigration.java

index fbafdd0..ee89edb 100644 (file)
@@ -2,8 +2,6 @@ package db.migration;
 
 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
 import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.core.JsonParseException;
-import com.fasterxml.jackson.databind.JsonMappingException;
 import com.fasterxml.jackson.databind.ObjectMapper;
 import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
 import org.flywaydb.core.api.MigrationVersion;
@@ -78,7 +76,7 @@ public class R__CloudConfigMigration implements JdbcMigration , MigrationInfoPro
         this.cloudConfig = cloudConfig;
     }
 
-    private CloudConfig loadCloudConfig(InputStream stream) throws JsonMappingException, IOException  {
+    private CloudConfig loadCloudConfig(InputStream stream) throws IOException  {
        ObjectMapper mapper = new ObjectMapper(new YAMLFactory());
         R__CloudConfigMigration cloudConfigMigration =
                        mapper.readValue(stream, R__CloudConfigMigration.class);