Boolean class use method toString() instead of String.valueof() (#3495)
This commit is contained in:
parent
e918fa4632
commit
f415fda034
|
|
@ -601,7 +601,7 @@ public abstract class AbstractInterfaceConfig extends AbstractMethodConfig {
|
|||
if (local == null) {
|
||||
setLocal((String) null);
|
||||
} else {
|
||||
setLocal(String.valueOf(local));
|
||||
setLocal(local.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -623,7 +623,7 @@ public abstract class AbstractInterfaceConfig extends AbstractMethodConfig {
|
|||
if (stub == null) {
|
||||
setStub((String) null);
|
||||
} else {
|
||||
setStub(String.valueOf(stub));
|
||||
setStub(stub.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ public abstract class AbstractMethodConfig extends AbstractConfig {
|
|||
if (mock == null) {
|
||||
setMock((String) null);
|
||||
} else {
|
||||
setMock(String.valueOf(mock));
|
||||
setMock(mock.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue