summaryrefslogtreecommitdiffstats
path: root/profiles/snmp/src/main/java
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-05-02 15:35:53 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-05-03 17:36:55 +0530
commitd651a1447b8dfd1cc134db0569c8dcd31a33fed0 (patch)
tree92ec0af8ca6e8dfe338e08be141058593f789991 /profiles/snmp/src/main/java
parentcaeab789dec6751d21c884202c2592e0d2c3c965 (diff)
GetAgent never throws exception
Issue-ID: CLI-106 Change-Id: I4caf9e06bdc4301623c1388d64418aa00cb06da5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'profiles/snmp/src/main/java')
-rw-r--r--profiles/snmp/src/main/java/org/onap/cli/fw/snmp/cmd/OnapSnmpCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/cmd/OnapSnmpCommand.java b/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/cmd/OnapSnmpCommand.java
index 1ee1b200..ed88b0c6 100644
--- a/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/cmd/OnapSnmpCommand.java
+++ b/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/cmd/OnapSnmpCommand.java
@@ -60,7 +60,7 @@ public class OnapSnmpCommand extends OnapCommand {
super.addDefaultSchemas(OnapCommandSnmpConstants.DEFAULT_PARAMETER_SNMP_FILE_NAME);
}
- private String getAgent() throws OnapCommandException {
+ private String getAgent() {
OnapCommandParameter onapCommandParameter = this.getParametersMap().get(OnapCommandSnmpConstants.SNMP_AGENT);
return (String) onapCommandParameter.getValue();
}