[cvs] expresso commit by lhamel: fix deprecations
JCorporate Ltd
jcorp at jcorp2.servlets.net
Sun Oct 17 00:57:33 PDT 2004
Log Message:
-----------
fix deprecations
Modified Files:
--------------
expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/misc:
EventQueueEntry.java
Revision Data
-------------
Index: EventQueueEntry.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/misc/EventQueueEntry.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/misc/EventQueueEntry.java -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/misc/EventQueueEntry.java -u -r1.11 -r1.12
--- expresso-web/WEB-INF/src/com/jcorporate/expresso/core/misc/EventQueueEntry.java
+++ expresso-web/WEB-INF/src/com/jcorporate/expresso/core/misc/EventQueueEntry.java
@@ -69,6 +69,8 @@
*/
package com.jcorporate.expresso.core.misc;
+
+
/**
* Event queue entry class represents a unit of work for the event
* handler thread.
@@ -77,7 +79,6 @@
* instead using of the data members directly. The implementation is
* subject to change.</p>
*
- * @version $Revision$ $Date$
* @author Michael Nash
*
* @see EventHandler
@@ -92,12 +93,9 @@
/** dbName to use for locating the user to notify
* @deprecated since 5.6, use dataContext instead
*/
- public String dbName = ("");
-
- /** dataContext to use for locating the user to notify */
- private String dataContext = ("");
+ public String dbName = "";
- /** Subject is only used for notice entries
+ /** Subject is only used for notice entries
* @deprecated since 5.6, will be made private - use getter/setter
*/
public String subject;
@@ -184,9 +182,7 @@
*/
public void setDataContext( String dataContext )
{
- /* TODO: this.dataContext = dataContext; */
- this.dbName = dataContext;
- this.dataContext = dataContext;
+ this.setDataContext( dataContext );
}
/**
@@ -322,8 +318,5 @@
{
this.attachments = attachments;
}
-
- // *END* Accessor Mutator Helper Peter Pilgrim Wed Feb 11 03:18:15 GMT 2004
-
} /* EventQueueEntry */
More information about the cvs
mailing list