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

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


The following commit(s) were added to refs/heads/master by this push:
     new d3719a61d14 Remove useless codes on BootstrapArguments (#34343)
d3719a61d14 is described below

commit d3719a61d14fc77385bee4534d12ebe9fe847cae
Author: Liang Zhang <zhangli...@apache.org>
AuthorDate: Mon Jan 13 20:38:57 2025 +0800

    Remove useless codes on BootstrapArguments (#34343)
---
 .../org/apache/shardingsphere/proxy/arguments/BootstrapArguments.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/proxy/bootstrap/src/main/java/org/apache/shardingsphere/proxy/arguments/BootstrapArguments.java
 
b/proxy/bootstrap/src/main/java/org/apache/shardingsphere/proxy/arguments/BootstrapArguments.java
index d6cda5468c6..f8a2dd37703 100644
--- 
a/proxy/bootstrap/src/main/java/org/apache/shardingsphere/proxy/arguments/BootstrapArguments.java
+++ 
b/proxy/bootstrap/src/main/java/org/apache/shardingsphere/proxy/arguments/BootstrapArguments.java
@@ -96,10 +96,6 @@ public final class BootstrapArguments {
         return addresses.stream().filter(address -> 
!InetAddresses.isInetAddress(address)).filter(this::isValidPath).findFirst();
     }
     
-    private boolean parseForceParameter(final String forceParam) {
-        return Boolean.TRUE.toString().equalsIgnoreCase(forceParam.trim());
-    }
-    
     private String paddingWithSlash(final String pathArg) {
         StringBuilder result = new StringBuilder(pathArg);
         if (!pathArg.startsWith("/")) {

Reply via email to