Skip to content

Commit

Permalink
HttpBmlClient delete useless code (#4898)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengJie1053 authored Sep 6, 2023
1 parent a3e135e commit 8181efc
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,6 @@ class HttpBmlClient(
if (version != null) bmlDownloadAction.getParameters.asScala += "version" -> version
bmlDownloadAction.setUser(user)
val downloadResult = dwsClient.execute(bmlDownloadAction)
// val retIs = new ByteArrayInputStream(IOUtils.toString(bmlDownloadAction.getInputStream).getBytes("UTF-8"))
// if (downloadResult != null) {
// bmlDownloadAction.getResponse match {
// case r: CloseableHttpResponse =>
// Utils.tryAndWarn(r.close())
// case o: Any =>
// info(s"Download response : ${o.getClass.getName} cannot close.")
// }
// }
BmlDownloadResponse(
isSuccess = true,
bmlDownloadAction.getInputStream,
Expand Down

0 comments on commit 8181efc

Please sign in to comment.