Author: sshafroi
Date: 2008-12-04 13:28:20 +0100 (Thu, 04 Dec 2008)
New Revision: 7035
Modified:
branches/2.18/search-command-config-spi/src/main/java/no/sesat/search/mode/config/CommandConfig.java
Log:
smaller toString for commandConfig, use toStringLong if you want the complete
configuration printed out. This will make the logs smaller.
Modified:
branches/2.18/search-command-config-spi/src/main/java/no/sesat/search/mode/config/CommandConfig.java
===================================================================
---
branches/2.18/search-command-config-spi/src/main/java/no/sesat/search/mode/config/CommandConfig.java
2008-12-04 11:34:29 UTC (rev 7034)
+++
branches/2.18/search-command-config-spi/src/main/java/no/sesat/search/mode/config/CommandConfig.java
2008-12-04 12:28:20 UTC (rev 7035)
@@ -327,8 +327,7 @@
return this;
}
- @Override
- public String toString() {
+ public String toStringLong() {
try {
return this.getClass().getSimpleName() + " " +
BeanUtils.describe(this).toString();
} catch (Exception e) {
@@ -337,6 +336,11 @@
return this.getClass().getSimpleName();
}
+ @Override
+ public String toString() {
+ return this.getClass().getSimpleName() + " Id: " + getId();
+ }
+
/**
* Getter for the userSortParameter property.
* @return the userSortParameter value
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits