=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/webportal/module/Module.java' --- dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/webportal/module/Module.java 2014-03-25 12:28:24 +0000 +++ dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/webportal/module/Module.java 2014-06-03 07:08:08 +0000 @@ -157,6 +157,10 @@ this.description = description; } + // ------------------------------------------------------------------------- + // hashCode, equals, toString + // ------------------------------------------------------------------------- + @Override public int hashCode() { @@ -189,4 +193,10 @@ return name.equals( other.getName() ); } + @Override + public String toString() + { + return "[Name: " + name + ", namespace: " + namespace + ", default action: " + defaultAction + "]"; + } + }