You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2006/12/28 06:43:44 UTC

svn commit: r490656 - in /incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter: CounterImpl.java CounterLocal.java CounterRemote.java

Author: dblevins
Date: Wed Dec 27 21:43:42 2006
New Revision: 490656

URL: http://svn.apache.org/viewvc?view=rev&rev=490656
Log:
reformatted

Modified:
    incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterImpl.java
    incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterLocal.java
    incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterRemote.java

Modified: incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterImpl.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterImpl.java?view=diff&rev=490656&r1=490655&r2=490656
==============================================================================
--- incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterImpl.java (original)
+++ incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterImpl.java Wed Dec 27 21:43:42 2006
@@ -24,19 +24,18 @@
  * using the annotation @Stateful
  * This EJB has 2 business interfaces: CounterRemote, a remote business
  * interface, and CounterLocal, a local business interface
- * 
  */
 @Stateful
 public class CounterImpl implements CounterLocal, CounterRemote {
-	
-	private int count = 0;
 
-	public int increment() {
-		return ++count;
-	}
+    private int count = 0;
 
-	public int reset() {
-		return (count = 0);
-	}
+    public int increment() {
+        return ++count;
+    }
+
+    public int reset() {
+        return (count = 0);
+    }
 
 }

Modified: incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterLocal.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterLocal.java?view=diff&rev=490656&r1=490655&r2=490656
==============================================================================
--- incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterLocal.java (original)
+++ incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterLocal.java Wed Dec 27 21:43:42 2006
@@ -19,13 +19,13 @@
 /**
  * This is an EJB 3 local business interface
  * A local business interface may be annotated with the @Local
- * annotation, but it's optional. A business interface which is 
+ * annotation, but it's optional. A business interface which is
  * not annotated with @Local or @Remote is assumed to be Local
  */
 public interface CounterLocal {
-	
-	public int increment();
-	
-	public int reset();
+
+    public int increment();
+
+    public int reset();
 
 }

Modified: incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterRemote.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterRemote.java?view=diff&rev=490656&r1=490655&r2=490656
==============================================================================
--- incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterRemote.java (original)
+++ incubator/openejb/trunk/openejb3/examples/counter-stateful-pojo/src/main/java/org/apache/openejb/examples/counter/CounterRemote.java Wed Dec 27 21:43:42 2006
@@ -25,9 +25,9 @@
  */
 @Remote
 public interface CounterRemote {
-	
-	public int increment();
-	
-	public int reset();
+
+    public int increment();
+
+    public int reset();
 
 }