You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2024/07/31 12:48:13 UTC
(streampipes) branch 3084-remove-deprecated-api-getfilecontent updated: refactor(#3084): Remove deprecated method getFileContent
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch 3084-remove-deprecated-api-getfilecontent
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/3084-remove-deprecated-api-getfilecontent by this push:
new e7c3d005d6 refactor(#3084): Remove deprecated method getFileContent
e7c3d005d6 is described below
commit e7c3d005d670cdaabbe075c1d81dcfa68780fb0d
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Wed Jul 31 14:48:06 2024 +0200
refactor(#3084): Remove deprecated method getFileContent
---
.../main/java/org/apache/streampipes/client/api/FileApi.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/streampipes-client/src/main/java/org/apache/streampipes/client/api/FileApi.java b/streampipes-client/src/main/java/org/apache/streampipes/client/api/FileApi.java
index fa80926a46..2e87e1aacd 100644
--- a/streampipes-client/src/main/java/org/apache/streampipes/client/api/FileApi.java
+++ b/streampipes-client/src/main/java/org/apache/streampipes/client/api/FileApi.java
@@ -29,16 +29,6 @@ public class FileApi extends AbstractClientApi implements IFileApi {
super(clientConfig);
}
-
- /**
- * @deprecated As of release 0.95.0, replaced by {@link #getFileContent(String)}.
- * The parameter isOriginalFileName is not used anymore.
- */
- @Deprecated(since = "0.95.0", forRemoval = true)
- public byte[] getFileContent(String filename, boolean isOriginalFileName) {
- return this.getFileContent(filename);
- }
-
@Override
public byte[] getFileContent(String filename) {
return new BinaryGetRequest(