## What changes were proposed in this pull request?

Fix ~300 warnings reported by FindBugs.

Before:

```
[INFO] Total bugs: 1706
```

After:

```
[INFO] Total bugs: 1392
```

## How was this patch tested?

Functionality smoke test:
 * deployed a ZK-only cluster via blueprint
 * ran service check
 * downloaded client configs
 * checked Ambari web UI for any apparent problems (services, hosts, versions, 
users/groups, etc.)

Unit tests, RAT and Checkstyle checks:

```
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main 2.0.0.0-SNAPSHOT ....................... SUCCESS [  2.677 s]
[INFO] Apache Ambari Project POM .......................... SUCCESS [  0.034 s]
[INFO] Ambari Views ....................................... SUCCESS [  2.235 s]
[INFO] Ambari Server SPI .................................. SUCCESS [  0.939 s]
[INFO] Ambari Service Advisor 1.0.0.0-SNAPSHOT ............ SUCCESS [  0.323 s]
[INFO] ambari-utility 1.0.0.0-SNAPSHOT .................... SUCCESS [  3.213 s]
[INFO] Ambari Server 2.0.0.0-SNAPSHOT ..................... SUCCESS [29:06 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
```

[ Full content available at: https://github.com/apache/ambari/pull/2398 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to