~ubuntu-branches/ubuntu/oneiric/libjboss-remoting-java/oneiric

« back to all changes in this revision

Viewing changes to src/tests/org/jboss/test/remoting/transporter/proxy/local/DateConsumerImpl.java

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: package-import@ubuntu.com-20110909140103-hqokx61534tas9rg
Tags: 2.5.3.SP1-1
* Newer but not newest upstream release. Do not build samples.
* Change debian/watch to upstream's svn repo.
* Add patch to fix compile error caused by tomcat update.
  (Closes: #628303)
* Switch to source format 3.0.
* Switch to debhelper level 7.
* Remove useless Depends.
* Update Standards-Version: 3.9.2.
* Update README.source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************
 
2
 *                                     *
 
3
 *  JBoss: The OpenSource J2EE WebOS   *
 
4
 *                                     *
 
5
 *  Distributable under LGPL license.  *
 
6
 *  See terms of license at gnu.org.   *
 
7
 *                                     *
 
8
 ***************************************/
 
9
package org.jboss.test.remoting.transporter.proxy.local;
 
10
 
 
11
import java.util.Date;
 
12
 
 
13
/**
 
14
 * @author <a href="mailto:tom@jboss.org">Tom Elrod</a>
 
15
 */
 
16
public class DateConsumerImpl implements DateConsumer
 
17
{
 
18
   public String consumeDate(DateProcessor dateProcessor)
 
19
   {
 
20
      Date currentDate = new Date();
 
21
      String formattedDate = dateProcessor.formatDate(currentDate);
 
22
      System.out.println("called on date processor to format date.  response is " + formattedDate);
 
23
      return formattedDate;
 
24
   }
 
25
}
 
 
b'\\ No newline at end of file'