Skip to content

Commit

Permalink
[Misc] Remove deprecation which does not make sense
Browse files Browse the repository at this point in the history
  • Loading branch information
tmortagne committed Jan 2, 2025
1 parent d74a1af commit 44bb102
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ void setProperty(DocumentReference documentReference, DocumentReference classRef
* @return The content of the attachment, as an array of <code>byte</code>s, which is empty if the attachment does
* not exist.
* @throws Exception If the document cannot be accessed.
* @deprecated use {@link #getAttachmentContent(org.xwiki.model.reference.AttachmentReference)} instead
* @deprecated use {@link #getAttachmentContent(EntityReference)} instead
*/
@Deprecated
byte[] getAttachmentContent(String documentReference, String attachmentName) throws Exception;
Expand All @@ -508,9 +508,7 @@ void setProperty(DocumentReference documentReference, DocumentReference classRef
* @return The content of the attachment as an input stream or null if the attachment doesn't exist
* @throws Exception If the document cannot be accessed.
* @since 2.2M1
* @deprecated use {@link #getAttachmentContent(EntityReference)} instead
*/
@Deprecated(since = "14.7RC1")
InputStream getAttachmentContent(AttachmentReference attachmentReference) throws Exception;

/**
Expand Down

0 comments on commit 44bb102

Please sign in to comment.