Update of /cvsroot/tm4j/tm4web/cocoon/src/java/org/tm4j/tm4web/cocoon
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30323
Modified Files:
TM4WebTransformer.java
Log Message:
changed default radius for tolog queries to 0, which seems a more obvious default than 1, since it then returns the exact result of the tolog query without addition
Index: TM4WebTransformer.java
===================================================================
RCS file: /cvsroot/tm4j/tm4web/cocoon/src/java/org/tm4j/tm4web/cocoon/TM4WebTransformer.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** TM4WebTransformer.java 18 Jan 2008 05:09:32 -0000 1.11
--- TM4WebTransformer.java 22 Jan 2008 01:07:34 -0000 1.12
***************
*** 147,151 ****
m_radius = Integer.parseInt(attr.getValue("radius"));
} else {
! m_radius = 1;
}
} else {
--- 147,153 ----
m_radius = Integer.parseInt(attr.getValue("radius"));
} else {
! // if not specified, radius is 0, which means that the results of the tolog query
! // are returned without any addition
! m_radius = 0;
}
} else {
***************
*** 716,719 ****
--- 718,724 ----
/*
* $Log$
+ * Revision 1.12 2008/01/22 01:07:34 conal_tuohy
+ * changed default radius for tolog queries to 0, which seems a more obvious default than 1, since it then returns the exact result of the tolog query without addition
+ *
* Revision 1.11 2008/01/18 05:09:32 conal_tuohy
* fixed error reporting when no nested exception
|