|
From: <rga...@us...> - 2002-11-01 22:06:21
|
Update of /cvsroot/csms/csms-core/src/java/org/fanfoot/scoring
In directory usw-pr-cvs1:/tmp/cvs-serv4042
Modified Files:
Scores.java
Log Message:
Added additional feedback to user (via log) and changed order panes are displayed. This gives less "dead" time whilst calculating scores
Index: Scores.java
===================================================================
RCS file: /cvsroot/csms/csms-core/src/java/org/fanfoot/scoring/Scores.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Scores.java 21 Oct 2002 12:01:14 -0000 1.2
--- Scores.java 1 Nov 2002 22:06:16 -0000 1.3
***************
*** 47,52 ****
* collection.
*
! *@author rgardler
! *@created 21 October 2002
*/
public class Scores {
--- 47,52 ----
* collection.
*
! *@author rgardler
! *@created 21 October 2002
*/
public class Scores {
***************
*** 68,78 ****
* Creates a new instance of calculator
*
! *@param evts the events to calculate
! * the score from
! *@param sc Description of the
! * Parameter
! *@exception ScoringConfigurationException Description of the
* Exception
! *@throws ScoringConfigurationException if unable to calculate
* scores
*/
--- 68,76 ----
* Creates a new instance of calculator
*
! *@param evts the events to calculate the score from
! *@param sc Description of the Parameter
! *@exception ScoringConfigurationException Description of the
* Exception
! *@throws ScoringConfigurationException if unable to calculate
* scores
*/
***************
*** 88,92 ****
* Getter for property events.
*
! *@return Value of property events.
*/
public Events getEvents() {
--- 86,90 ----
* Getter for property events.
*
! *@return Value of property events.
*/
public Events getEvents() {
***************
*** 99,103 ****
* Setter for property events.
*
! *@param events New value of property events.
*/
public void setEvents(Events events) {
--- 97,101 ----
* Setter for property events.
*
! *@param events New value of property events.
*/
public void setEvents(Events events) {
***************
*** 109,113 ****
* Getter for property conf.
*
! *@return Value of property conf.
*/
public ScoringConfiguration getConfiguration() {
--- 107,111 ----
* Getter for property conf.
*
! *@return Value of property conf.
*/
public ScoringConfiguration getConfiguration() {
***************
*** 120,124 ****
* Setter for property conf.
*
! *@param conf New value of property conf.
*/
public void setConfiguration(ScoringConfiguration conf) {
--- 118,122 ----
* Setter for property conf.
*
! *@param conf New value of property conf.
*/
public void setConfiguration(ScoringConfiguration conf) {
***************
*** 130,148 ****
* Calculate the scores.
*
! *@return DOM document representing
! * the scores
! *@throws ScoringConfigurationException if unalb to calculate
* scores
*/
public Document calculate()
throws ScoringConfigurationException {
- logger.entering("org.fanfoot.scoring.scores", "calculate()");
Document doc = null;
try {
- logger.finest(
- "Events document root element is named "
- + getEvents().toXMLDoc().getDocumentElement().getNodeName());
doc = XMLUtils.transform(getEvents().toXMLDoc(),
getConfiguration().getXSL());
--- 128,141 ----
* Calculate the scores.
*
! *@return DOM document representing the scores
! *@throws ScoringConfigurationException if unalb to calculate
* scores
*/
public Document calculate()
throws ScoringConfigurationException {
Document doc = null;
try {
doc = XMLUtils.transform(getEvents().toXMLDoc(),
getConfiguration().getXSL());
***************
*** 154,161 ****
setScoresDocument(doc);
- logger.finest(
- "Scores document root element is named "
- + getScoresDocument().getDocumentElement().getNodeName());
- logger.exiting("org.fanfoot.scoring.scores", "calculate()");
return doc;
--- 147,150 ----
***************
*** 166,170 ****
* Getter for property scoresDocument.
*
! *@return Value of property scoresDocument.
*/
public Document getScoresDocument() {
--- 155,159 ----
* Getter for property scoresDocument.
*
! *@return Value of property scoresDocument.
*/
public Document getScoresDocument() {
***************
*** 177,181 ****
* Setter for property scoresDocument.
*
! *@param scoresDocument New value of property scoresDocument.
*/
public void setScoresDocument(Document scoresDocument) {
--- 166,170 ----
* Setter for property scoresDocument.
*
! *@param scoresDocument New value of property scoresDocument.
*/
public void setScoresDocument(Document scoresDocument) {
|