8281567: Remove @throws IOException from X509CRLImpl::getExtension docs

Reviewed-by: xuelei, jiefu
This commit is contained in:
John Jiang 2022-02-10 08:11:08 +00:00
parent fd8a3dcc52
commit 7218d8449b

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -1047,7 +1047,6 @@ public class X509CRLImpl extends X509CRL implements DerEncoder {
* *
* @param oid ObjectIdentifier of extension desired * @param oid ObjectIdentifier of extension desired
* @return Object of type {@code <extension>} or null, if not found * @return Object of type {@code <extension>} or null, if not found
* @throws IOException on error
*/ */
public Object getExtension(ObjectIdentifier oid) { public Object getExtension(ObjectIdentifier oid) {
if (extensions == null) if (extensions == null)