viviel opened a new pull request #87:
URL: https://github.com/apache/incubator-tubemq/pull/87
1. Optimize the use of assertions
2. Fix possible null pointer exception
```
SSLEngine sslEngine = null;
try {
// create engine
sslEngine = TSSLEngineUtil.createSSLEngine(keyStorePath, trustStorePath,
keyStorePassword, trustStorePassword, true, false);
} catch (Throwable e) {
e.printStackTrace();
}
// If the above code is a field, it may cause the object sslEngine is null
boolean needClientAuth = sslEngine.getNeedClientAuth();
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]