We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85d110b commit c8afdd5Copy full SHA for c8afdd5
dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/ServiceConfig.java
@@ -207,7 +207,7 @@ protected synchronized void doExport() {
207
generic = Boolean.FALSE.toString();
208
}
209
if(local !=null){
210
- if(local=="true"){
+ if("true".equals(local)){
211
local=interfaceName+"Local";
212
213
Class<?> localClass;
@@ -221,7 +221,7 @@ protected synchronized void doExport() {
221
222
223
if(stub !=null){
224
- if(stub=="true"){
+ if("true".equals(stub)){
225
stub=interfaceName+"Stub";
226
227
Class<?> stubClass;
0 commit comments