Improve toString method
This commit is contained in:
parent
dca55d054b
commit
642e62a563
|
@ -446,7 +446,7 @@ public class SearchParameterMap implements Serializable {
|
||||||
public String toString() {
|
public String toString() {
|
||||||
ToStringBuilder b = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
|
ToStringBuilder b = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
|
||||||
if (isEmpty() == false) {
|
if (isEmpty() == false) {
|
||||||
b.append("params", super.toString());
|
b.append("params", mySearchParameterMap);
|
||||||
}
|
}
|
||||||
if (getIncludes().isEmpty() == false) {
|
if (getIncludes().isEmpty() == false) {
|
||||||
b.append("includes", getIncludes());
|
b.append("includes", getIncludes());
|
||||||
|
|
Loading…
Reference in New Issue