diff options
Diffstat (limited to 'snmpmapper')
-rw-r--r-- | snmpmapper/src/main/java/org/onap/dcaegen2/services/mapper/snmpmapper/service/MappingFileServiceImpl.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/snmpmapper/src/main/java/org/onap/dcaegen2/services/mapper/snmpmapper/service/MappingFileServiceImpl.java b/snmpmapper/src/main/java/org/onap/dcaegen2/services/mapper/snmpmapper/service/MappingFileServiceImpl.java index e5ca3a8..b0e8821 100644 --- a/snmpmapper/src/main/java/org/onap/dcaegen2/services/mapper/snmpmapper/service/MappingFileServiceImpl.java +++ b/snmpmapper/src/main/java/org/onap/dcaegen2/services/mapper/snmpmapper/service/MappingFileServiceImpl.java @@ -52,7 +52,7 @@ public class MappingFileServiceImpl implements MappingFileService { LOGGER.debug("EnterPrise ID recieved:{}",enterpriseid); - if ((mappingfile != null) && (mappingfile.length > 0) && (!mappingfile.equals(""))) { + if ((mappingfile != null) && (mappingfile.length > 0)) { for (MultipartFile aFile : mappingfile) { if(aFile.isEmpty()) { continue; @@ -77,7 +77,6 @@ public class MappingFileServiceImpl implements MappingFileService { LOGGER.error("IOException occured:{}",e.getCause()); return "failed"; } catch (SQLException e) { - // TODO Auto-generated catch block LOGGER.error("SQLException occured:{}",e.getCause()); return "failed"; } |