Author: ssenrogn
Date: 2008-04-18 21:49:44 +0200 (Fri, 18 Apr 2008)
New Revision: 6494
Modified:
branches/2.17/view-config-spi/src/main/java/no/sesat/search/view/navigation/NavigationConfig.java
Log:
Added missing fields to toString to make debug easier.
Modified:
branches/2.17/view-config-spi/src/main/java/no/sesat/search/view/navigation/NavigationConfig.java
===================================================================
---
branches/2.17/view-config-spi/src/main/java/no/sesat/search/view/navigation/NavigationConfig.java
2008-04-18 14:50:34 UTC (rev 6493)
+++
branches/2.17/view-config-spi/src/main/java/no/sesat/search/view/navigation/NavigationConfig.java
2008-04-18 19:49:44 UTC (rev 6494)
@@ -226,11 +226,13 @@
@Override
public String toString() {
return "\nNavigation{" +
- "commandName='" + commandName + '\'' +
+ "id='" + id + '\'' +
+ ",commandName='" + commandName + '\'' +
", tab='" + tab + '\'' +
", out=" + out +
- ", navList=" + navList +
- ", resetNavSet=" + resetNavSet +
+ ", excludeQuery=" + excludeQuery +
+ ", prefix='" + prefix + '\'' +
+ ", urlGenerator='" + urlGenerator + '\'' +
'}';
}
@@ -373,7 +375,6 @@
}
public void setTab(final String tab) {
-
this.tab = tab;
// The tab property takes preference over any url parameters.
intialse it here and use against urlGenerator.
staticParameters.put(SearchTab.PARAMETER_KEY, tab);
@@ -417,12 +418,19 @@
@Override
public String toString() {
-
return "Nav{"
+ "id='" + id + '\''
+ ", commandName='" + commandName + '\''
+ ", field='" + field + '\''
+ + ", tab='" + tab + '\''
+ + ", backText='" + backText + '\''
+ + ", out=" + out
+ + ", maxsize=" + maxsize
+ + ", autoNavigation=" + autoNavigation
+ ", staticParameters=" + staticParameters
+ + ", childNavs=" + (childNavs != null ? childNavs : "null")
+ + ", parent='" + (parent != null ? parent.getId() :
"null") + '\''
+ + ", navigation='" + (navigation != null ?
navigation.getId() : "null") + '\''
+ '}';
}
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits