Fix sonar complains 55/57055/9
authorClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Mon, 15 May 2017 11:55:23 +0000 (13:55 +0200)
committerRobert Varga <nite@hq.sk>
Sun, 11 Jun 2017 07:49:54 +0000 (07:49 +0000)
- Remove unused imports
- Remove unused exception
- Extract try block
- dont use generic Exception
- Reduce the number of conditional operators

Change-Id: I0d51ef2aa6540d1d841f637308431ce768b1636b
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>

No differences found