feature server Keyword sonar fix 71/109471/4
authorTaka Cho <takamune.cho@att.com>
Tue, 23 Jun 2020 20:19:35 +0000 (16:19 -0400)
committerTakamune Cho <takamune.cho@att.com>
Fri, 26 Jun 2020 13:02:42 +0000 (13:02 +0000)
commit7707b8db05c1018c6a9e53dc0d9126698b88e62d
tree048aef401f451db0fd03ff007a6c3b03c7b13a44
parenta8cdf564ed34a2ec155a7c5f34392130f36ce877
feature server Keyword sonar fix

- remove unnecessary cast
- A "NullPointerException" could be
  thrown; "last" is nullable here
- regexp method name
- remove curly braces and 'return'

Issue-ID: POLICY-2616
Change-Id: Icd6ab0cf1f77cdc8cf1bffb3ae2781702add9ab5
Signed-off-by: Taka Cho <takamune.cho@att.com>
feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/Keyword.java