Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9046647

Browse files
committedNov 5, 2024
Fix swapped javadoc
1 parent fa764c6 commit 9046647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎core/src/main/java/org/bouncycastle/asn1/x509/ExtensionsGenerator.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public void removeExtension(
203203
* Return if the extension indicated by OID is present.
204204
*
205205
* @param oid the OID for the extension of interest.
206-
* @return the Extension, or null if it is not present.
206+
* @return true if a matching extension is present, false otherwise.
207207
*/
208208
public boolean hasExtension(ASN1ObjectIdentifier oid)
209209
{
@@ -214,7 +214,7 @@ public boolean hasExtension(ASN1ObjectIdentifier oid)
214214
* Return the current value of the extension for OID.
215215
*
216216
* @param oid the OID for the extension we want to fetch.
217-
* @return true if a matching extension is present, false otherwise.
217+
* @return the Extension, or null if it is not present.
218218
*/
219219
public Extension getExtension(ASN1ObjectIdentifier oid)
220220
{

0 commit comments

Comments
 (0)
Please sign in to comment.