correct more sonar rules

Change-Id: If15b8c9dc90e28e3845ea411d2a5caf537d78174
Use Issue instead of violation (Remove deprecated Violation class reference)
bypass false-positive issues

Change-Id: I8454e690bb9c23a8d19a1bab7f918c18c8b06cc8