File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
gxweb/src/main/java/com/genexus/internet
java/src/main/java/com/genexus/internet Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -727,8 +727,7 @@ private boolean checkFileExists(String fileName)
727727 boolean fileExists = false ;
728728 try
729729 {
730- fileExists = ApplicationContext .getInstance ().checkIfResourceExist (getDefaultPath () + staticContentBase + fileName );
731- com .genexus .diagnostics .Log .info ("Searching if file exists (" + fileName + "). Found: " + String .valueOf (fileExists ));
730+ fileExists = ApplicationContext .getInstance ().checkIfResourceExist (getDefaultPath () + staticContentBase + fileName );
732731 }
733732 catch (Exception e )
734733 {
Original file line number Diff line number Diff line change @@ -70,8 +70,7 @@ public HttpClientJavaLib() {
7070 getPoolInstance ();
7171 ConnectionKeepAliveStrategy myStrategy = generateKeepAliveStrategy ();
7272 httpClientBuilder = HttpClients .custom ().setConnectionManager (connManager ).setConnectionManagerShared (true ).setKeepAliveStrategy (myStrategy );
73- cookies = new BasicCookieStore ();
74- logger .info ("Using apache http client implementation" );
73+ cookies = new BasicCookieStore ();
7574 streamsToClose = new Vector <>();
7675 }
7776
@@ -719,10 +718,10 @@ private void setEntityReader() throws IOException {
719718 if (reader == null )
720719 reader = new BufferedReader (new InputStreamReader (response .getEntity ().getContent ()));
721720 }
722-
723- public String getString () {
724- if (response == null )
725- return "" ;
721+
722+ public String getString () {
723+ if (response == null )
724+ return "" ;
726725 try {
727726 this .setEntity ();
728727 Charset charset = ContentType .getOrDefault (entity ).getCharset ();
You can’t perform that action at this time.
0 commit comments