You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by "kirklund (GitHub)" <gi...@apache.org> on 2018/11/15 17:18:48 UTC
[GitHub] [geode] kirklund commented on pull request #2856:
GEODE-6051: Fix suspect string by using addIgnoredException.
No need to invoke getName() on the class -- you can just use .class directly. Also, I recommend using the try-resource syntax since IgnoredException is AutoCloseable:
```
try (IgnoredException ie = addIgnoredException(ConnectException.class)) {
giiEventQueueShouldSucceedWithMixedVersions(VersionManager.CURRENT_VERSION, testVersion);
}
[ Full content available at: https://github.com/apache/geode/pull/2856 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org