Skip to content

Commit

Permalink
avoid duplicate package name
Browse files Browse the repository at this point in the history
relevant when using karate as a dependency for a java-module project
  • Loading branch information
ptrthomas committed Jan 15, 2025
1 parent 459aac2 commit 4625a8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
import org.apache.http.config.Registry;
import org.apache.http.config.RegistryBuilder;
import org.apache.http.config.SocketConfig;
import org.apache.http.conn.ssl.LenientSslConnectionSocketFactory;
import nodebug.LenientSslConnectionSocketFactory;
import org.apache.http.conn.ssl.NoopHostnameVerifier;
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.apache.http.conn.ssl.TrustAllStrategy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,19 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.apache.http.conn.ssl;
package nodebug;

import java.io.IOException;
import java.net.Socket;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLContext;

import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.apache.http.protocol.HttpContext;

/**
* in a separate package just for log level config consistency
* in a package that is NOT in the karate package, else it will add un-necessary debug logging
* the parent class is third-party code that unfortunately calls getClass() for logger name
*
* @author pthomas3
*/
Expand Down

0 comments on commit 4625a8a

Please sign in to comment.