diff options
author | Sandeep J <sandeejh@in.ibm.com> | 2018-08-27 01:27:57 +0530 |
---|---|---|
committer | Sandeep J <sandeejh@in.ibm.com> | 2018-08-27 01:28:05 +0530 |
commit | e61e52844df146c0ad11071e106e8e5a216bf6bf (patch) | |
tree | ddac871dc6387c0070c9ed477445a348a9b5c81c /adapters/mso-openstack-adapters/src/main/java | |
parent | f5c3e3e3c8d0f3c05111de578f1beae99652988d (diff) |
fixed sonar issue in R_CloudConfigMigration.java
fixed sonar issue: Remove the declaration of thrown exception
'com.fasterxml.jackson.core.JsonParseException' which is a subclass of
'java.io.IOException: line 81
Issue-ID: SO-906
Change-Id: If18c2b6e0769d95dc56c9dbac5c1d5219e95955c
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'adapters/mso-openstack-adapters/src/main/java')
-rw-r--r-- | adapters/mso-openstack-adapters/src/main/java/db/migration/R__CloudConfigMigration.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adapters/mso-openstack-adapters/src/main/java/db/migration/R__CloudConfigMigration.java b/adapters/mso-openstack-adapters/src/main/java/db/migration/R__CloudConfigMigration.java index d638e47e8c..fbafdd052e 100644 --- a/adapters/mso-openstack-adapters/src/main/java/db/migration/R__CloudConfigMigration.java +++ b/adapters/mso-openstack-adapters/src/main/java/db/migration/R__CloudConfigMigration.java @@ -78,8 +78,8 @@ public class R__CloudConfigMigration implements JdbcMigration , MigrationInfoPro this.cloudConfig = cloudConfig; } - private CloudConfig loadCloudConfig(InputStream stream) throws JsonParseException, JsonMappingException, IOException { - ObjectMapper mapper = new ObjectMapper(new YAMLFactory()); + private CloudConfig loadCloudConfig(InputStream stream) throws JsonMappingException, IOException { + ObjectMapper mapper = new ObjectMapper(new YAMLFactory()); R__CloudConfigMigration cloudConfigMigration = mapper.readValue(stream, R__CloudConfigMigration.class); CloudConfig cloudConfig = cloudConfigMigration.getCloudConfig(); |