cid#1448277 RV: Bad use of return value
Change-Id: I68fdfc59de2d2590730abaae8b16bfe92e1693b2 Reviewed-on: https://gerrit.libreoffice.org/75629 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
de44936e61
commit
fd55c09eba
@ -150,7 +150,7 @@ public class _XContentProviderManager extends MultiMethodTest {
|
|||||||
log.println("registering the second provider in non-replacing mode");
|
log.println("registering the second provider in non-replacing mode");
|
||||||
try {
|
try {
|
||||||
oObj.registerContentProvider(contentProvider, myScheme, false);
|
oObj.registerContentProvider(contentProvider, myScheme, false);
|
||||||
Status.failed("registerContentProvider(.., .., false)");
|
throw new StatusException(Status.failed("registerContentProvider(.., .., false)"));
|
||||||
} catch (DuplicateProviderException e) {
|
} catch (DuplicateProviderException e) {
|
||||||
log.println("DuplicateProviderException thrown - OK");
|
log.println("DuplicateProviderException thrown - OK");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user