User: schaefera
  Date: 01/05/30 22:47:33

  Modified:    src/docs howtotimer.xml
  Log:
  Forgot something (need an upcast after the lServer.invoke() call).
  
  Revision  Changes    Path
  1.5       +2 -2      manual/src/docs/howtotimer.xml
  
  Index: howtotimer.xml
  ===================================================================
  RCS file: /cvsroot/jboss/manual/src/docs/howtotimer.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- howtotimer.xml    2001/05/31 05:45:33     1.4
  +++ howtotimer.xml    2001/05/31 05:47:33     1.5
  @@ -149,7 +149,7 @@
               </para> 
               <programlisting>
      Date lNext = new Date( new Date().getTime() + Timer.ONE_MINUTE );
  -   Integer lOneMinuteTimer = lServer.invoke(
  +   Integer lOneMinuteTimer = (Integer) lServer.invoke(
         lTimer.getObjectName(),
         "addNotification",
         new Object[] { 
  @@ -175,7 +175,7 @@
               </para> 
               <programlisting>
      Date lNext = new Date( new Date().getTime() + Timer.ONE_HOUR );
  -   Integer lOneHourTimer = lServer.invoke(
  +   Integer lOneHourTimer = (Integer) lServer.invoke(
         lTimer.getObjectName(),
         "addNotification",
         new Object[] { 
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to