This is an automated email from the ASF dual-hosted git repository.

peacewong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/master by this push:
     new 8181efc1c HttpBmlClient delete useless code (#4898)
8181efc1c is described below

commit 8181efc1cf0807d6bca18df973e4db53580c4949
Author: ChengJie1053 <[email protected]>
AuthorDate: Wed Sep 6 10:27:31 2023 +0800

    HttpBmlClient delete useless code (#4898)
---
 .../scala/org/apache/linkis/bml/client/impl/HttpBmlClient.scala  | 9 ---------
 1 file changed, 9 deletions(-)

diff --git 
a/linkis-public-enhancements/linkis-pes-client/src/main/scala/org/apache/linkis/bml/client/impl/HttpBmlClient.scala
 
b/linkis-public-enhancements/linkis-pes-client/src/main/scala/org/apache/linkis/bml/client/impl/HttpBmlClient.scala
index be251d3b2..258b3feb9 100644
--- 
a/linkis-public-enhancements/linkis-pes-client/src/main/scala/org/apache/linkis/bml/client/impl/HttpBmlClient.scala
+++ 
b/linkis-public-enhancements/linkis-pes-client/src/main/scala/org/apache/linkis/bml/client/impl/HttpBmlClient.scala
@@ -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,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to