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 2012/02/19 23:33:57 UTC

svn commit: r1291079 - in /openejb/trunk/openejb/examples: bean-validation-design-by-contract/ component-interfaces/ datasource-ciphered-password/ dynamic-dao-implementation/ dynamic-datasource-routing/ dynamic-implementation/ mbean-auto-registration/ ...

Author: dblevins
Date: Sun Feb 19 22:33:56 2012
New Revision: 1291079

URL: http://svn.apache.org/viewvc?rev=1291079&view=rev
Log:
yank author tags from source snippets in README.md files

Modified:
    openejb/trunk/openejb/examples/bean-validation-design-by-contract/README.md
    openejb/trunk/openejb/examples/component-interfaces/README.md
    openejb/trunk/openejb/examples/datasource-ciphered-password/README.md
    openejb/trunk/openejb/examples/dynamic-dao-implementation/README.md
    openejb/trunk/openejb/examples/dynamic-datasource-routing/README.md
    openejb/trunk/openejb/examples/dynamic-implementation/README.md
    openejb/trunk/openejb/examples/mbean-auto-registration/README.md
    openejb/trunk/openejb/examples/rest-on-ejb/README.md
    openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/README.md
    openejb/trunk/openejb/examples/webapps/rest-example-with-application/README.md
    openejb/trunk/openejb/examples/webapps/rest-example/README.md

Modified: openejb/trunk/openejb/examples/bean-validation-design-by-contract/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/bean-validation-design-by-contract/README.md?rev=1291079&r1=1291078&r2=1291079&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/bean-validation-design-by-contract/README.md (original)
+++ openejb/trunk/openejb/examples/bean-validation-design-by-contract/README.md Sun Feb 19 22:33:56 2012
@@ -52,9 +52,6 @@ If a parameter is not validated an excep
     import javax.validation.constraints.Pattern;
     import javax.validation.constraints.Size;
 
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Stateless
     public class OlympicGamesManager {
         public String addSportMan(@Pattern(regexp = "^[A-Za-z]+$") String name, @Size(min = 2, max = 4) String country) {
@@ -72,9 +69,6 @@ If a parameter is not validated an excep
     import javax.ejb.Local;
     import javax.validation.constraints.Min;
 
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Local
     public interface PoleVaultingManager {
         int points(@Min(120) int centimeters);
@@ -86,9 +80,6 @@ If a parameter is not validated an excep
 
     import javax.ejb.Stateless;
 
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Stateless
     public class PoleVaultingManagerBean implements PoleVaultingManager {
         @Override

Modified: openejb/trunk/openejb/examples/component-interfaces/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/component-interfaces/README.md?rev=1291079&r1=1291078&r2=1291079&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/component-interfaces/README.md (original)
+++ openejb/trunk/openejb/examples/component-interfaces/README.md Sun Feb 19 22:33:56 2012
@@ -22,7 +22,6 @@ Title: Component Interfaces
      * This is an EJB 3 style pojo stateful session bean
      * it does not need to implement javax.ejb.SessionBean
      *
-     * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
      */
     //START SNIPPET: code
     
@@ -243,7 +242,6 @@ Title: Component Interfaces
     import java.util.Locale;
     
     /**
-     * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
      * @version $Rev: 1090810 $ $Date: 2011-04-10 07:49:26 -0700 (Sun, 10 Apr 2011) $
      */
     public class FriendlyPersonTest extends TestCase {

Modified: openejb/trunk/openejb/examples/datasource-ciphered-password/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/datasource-ciphered-password/README.md?rev=1291079&r1=1291078&r2=1291079&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/datasource-ciphered-password/README.md (original)
+++ openejb/trunk/openejb/examples/datasource-ciphered-password/README.md Sun Feb 19 22:33:56 2012
@@ -80,9 +80,6 @@ For more information please see the [doc
     
     import static junit.framework.Assert.assertNotNull;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     public class DataSourceCipheredExampleTest {
         private static final String USER = DataSourceCipheredExampleTest.class.getSimpleName().toUpperCase();
         private static final String PASSWORD = "YouLLN3v3rFindM3";

Modified: openejb/trunk/openejb/examples/dynamic-dao-implementation/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/dynamic-dao-implementation/README.md?rev=1291079&r1=1291078&r2=1291079&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/dynamic-dao-implementation/README.md (original)
+++ openejb/trunk/openejb/examples/dynamic-dao-implementation/README.md Sun Feb 19 22:33:56 2012
@@ -30,9 +30,6 @@ Dynamic finder can have as much as you w
     import javax.persistence.NamedQueries;
     import javax.persistence.NamedQuery;
     
-    /**
-     * @author rmannibucau
-     */
     @Entity
     @NamedQueries({
             @NamedQuery(name = "dynamic-ejb-impl-test.query", query = "SELECT u FROM User AS u WHERE u.name LIKE :name"),
@@ -74,9 +71,6 @@ Dynamic finder can have as much as you w
 
     package org.superbiz.dynamic;
     
-    /**
-     * @author rmannibucau
-     */
     
     import javax.ejb.Stateless;
     import javax.persistence.PersistenceContext;
@@ -155,9 +149,6 @@ Dynamic finder can have as much as you w
     import static junit.framework.Assert.assertNotNull;
     import static junit.framework.Assert.assertTrue;
     
-    /**
-     * @author rmannibucau
-     */
     public class DynamicUserDaoTest {
         private static UserDao dao;
         private static Util util;

Modified: openejb/trunk/openejb/examples/dynamic-datasource-routing/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/dynamic-datasource-routing/README.md?rev=1291079&r1=1291078&r2=1291079&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/dynamic-datasource-routing/README.md (original)
+++ openejb/trunk/openejb/examples/dynamic-datasource-routing/README.md Sun Feb 19 22:33:56 2012
@@ -46,9 +46,6 @@ for one operation. To change the datasou
     import java.util.Map;
     import java.util.concurrent.ConcurrentHashMap;
 
-    /**
-     * @author Romain Manni-Bucau
-     */
     public class DeterminedRouter extends AbstractRouter {
         private String dataSourceNames;
         private String defaultDataSourceName;
@@ -165,9 +162,6 @@ Here we have a `RoutedPersister` statele
     import javax.persistence.EntityManager;
     import javax.persistence.PersistenceContext;
 
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Stateless
     public class RoutedPersister {
         @PersistenceContext(unitName = "router")

Modified: openejb/trunk/openejb/examples/dynamic-implementation/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/dynamic-implementation/README.md?rev=1291079&r1=1291078&r2=1291079&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/dynamic-implementation/README.md (original)
+++ openejb/trunk/openejb/examples/dynamic-implementation/README.md Sun Feb 19 22:33:56 2012
@@ -11,9 +11,6 @@ Title: Dynamic Implementation
     import javax.ejb.Singleton;
     import javax.interceptor.Interceptors;
     
-    /**
-     * @author rmannibucau
-     */
     @Singleton
     @Proxy(SocialHandler.class)
     @Interceptors(SocialInterceptor.class)
@@ -32,9 +29,6 @@ Title: Dynamic Implementation
     import java.lang.reflect.InvocationHandler;
     import java.lang.reflect.Method;
     
-    /**
-     * @author rmannibucau
-     */
     public class SocialHandler implements InvocationHandler {
         @Override
         public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
@@ -65,9 +59,6 @@ Title: Dynamic Implementation
     
     import static junit.framework.Assert.assertTrue;
     
-    /**
-     * @author rmannibucau
-     */
     public class SocialTest {
         private static SocialBean social;
         private static EJBContainer container;

Modified: openejb/trunk/openejb/examples/mbean-auto-registration/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/mbean-auto-registration/README.md?rev=1291079&r1=1291078&r2=1291079&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/mbean-auto-registration/README.md (original)
+++ openejb/trunk/openejb/examples/mbean-auto-registration/README.md Sun Feb 19 22:33:56 2012
@@ -26,9 +26,6 @@ It allows the user to change the value t
     import javax.management.ManagedAttribute;
     import javax.management.ManagedOperation;
 
-    /**
-     * @author Romain Manni-Bucau
-     */
     @MBean
     @Description("play with me to guess a number")
     public class GuessHowManyMBean {
@@ -79,9 +76,6 @@ Then simply get the platform server and 
 
     import static junit.framework.Assert.assertEquals;
 
-    /**
-     * @author Romain Manni-Bucau
-     */
     public class GuessHowManyMBeanTest {
         private static final String OBJECT_NAME = "openejb.user.mbeans:group=org.superbiz.mbean,application=mbean-auto-registration,name=GuessHowManyMBean";
 

Modified: openejb/trunk/openejb/examples/rest-on-ejb/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/rest-on-ejb/README.md?rev=1291079&r1=1291078&r2=1291079&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/rest-on-ejb/README.md (original)
+++ openejb/trunk/openejb/examples/rest-on-ejb/README.md Sun Feb 19 22:33:56 2012
@@ -13,9 +13,6 @@ Title: REST on EJB
     import javax.persistence.NamedQuery;
     import javax.xml.bind.annotation.XmlRootElement;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Entity
     @NamedQueries({
             @NamedQuery(name = "user.list", query = "select u from User u")
@@ -47,7 +44,6 @@ Title: REST on EJB
     /**
      * Outputs are copied because of the enhancement of OpenJPA.
      *
-     * @author Romain Manni-Bucau
      */
     @Singleton
     @Lock(LockType.WRITE)
@@ -163,9 +159,6 @@ Title: REST on EJB
     import static junit.framework.Assert.assertNull;
     import static junit.framework.Assert.fail;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     public class UserServiceTest {
         private static Context context;
         private static UserService service;

Modified: openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/README.md?rev=1291079&r1=1291078&r2=1291079&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/README.md (original)
+++ openejb/trunk/openejb/examples/webapps/resources-declared-in-webapp/README.md Sun Feb 19 22:33:56 2012
@@ -11,9 +11,6 @@ Title: Resources Declared in Webapp
     import javax.annotation.Resource;
     import javax.ejb.Singleton;
     
-    /**
-     * @author rmannibucau
-     */
     @Singleton
     public class Manager {
         @Resource(name = "My Manager Team", type = ManagerResource.class)
@@ -28,9 +25,6 @@ Title: Resources Declared in Webapp
 
     package org.superbiz.resource;
     
-    /**
-     * @author rmannibucau
-     */
     public class ManagerResource {
         public String resourceType() {
             return "team";
@@ -51,9 +45,6 @@ Title: Resources Declared in Webapp
     import javax.servlet.http.HttpServletResponse;
     import java.io.IOException;
     
-    /**
-     * @author rmannibucau
-     */
     @WebServlet(name = "manager servlet", urlPatterns = "/")
     public class ManagerServlet extends HttpServlet {
         @EJB

Modified: openejb/trunk/openejb/examples/webapps/rest-example-with-application/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webapps/rest-example-with-application/README.md?rev=1291079&r1=1291078&r2=1291079&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webapps/rest-example-with-application/README.md (original)
+++ openejb/trunk/openejb/examples/webapps/rest-example-with-application/README.md Sun Feb 19 22:33:56 2012
@@ -10,9 +10,6 @@ Title: REST Example with Application
     import java.util.HashSet;
     import java.util.Set;
 
-    /**
-     * @author rmannibucau
-     */
     @ApplicationPath("/rest-prefix")
     public class ApplicationConfig extends Application {
         public Set<Class<?>> getClasses() {
@@ -29,9 +26,6 @@ Title: REST Example with Application
     import javax.ws.rs.Path;
     import java.util.Date;
 
-    /**
-     * @author rmannibucau
-     */
     @Singleton
     @Lock(LockType.READ)
     @Path("/ejb")
@@ -48,9 +42,6 @@ Title: REST Example with Application
     import javax.ws.rs.Path;
     import java.util.Date;
 
-    /**
-     * @author rmannibucau
-     */
     @Path("/pojo")
     public class SimpleRESTPojo {
         @GET

Modified: openejb/trunk/openejb/examples/webapps/rest-example/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webapps/rest-example/README.md?rev=1291079&r1=1291078&r2=1291079&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webapps/rest-example/README.md (original)
+++ openejb/trunk/openejb/examples/webapps/rest-example/README.md Sun Feb 19 22:33:56 2012
@@ -14,9 +14,6 @@ Title: REST Example
     import java.util.Collections;
     import java.util.List;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Stateless
     public class CommentDAO extends DAO {
         @EJB
@@ -74,7 +71,6 @@ Title: REST Example
      * Simply maps the entitymanager.
      * It simplifies refactoring (unitName change) and wraps some logic (limited queries).
      *
-     * @author Romain Manni-Bucau
      */
     @Stateless
     public class DAO {
@@ -128,9 +124,6 @@ Title: REST Example
     import javax.ejb.Stateless;
     import java.util.List;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Stateless
     public class PostDAO {
         @EJB
@@ -185,9 +178,6 @@ Title: REST Example
     import javax.ejb.Stateless;
     import java.util.List;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Stateless
     public class UserDAO {
         @EJB
@@ -242,9 +232,6 @@ Title: REST Example
     import javax.xml.bind.annotation.XmlRootElement;
     import javax.xml.bind.annotation.XmlTransient;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Entity
     @NamedQueries({
             @NamedQuery(name = "comment.list", query = "select c from Comment c")
@@ -258,9 +245,6 @@ Title: REST Example
     import javax.persistence.PrePersist;
     import java.util.Date;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @MappedSuperclass
     public abstract class DatedModel extends Model {
         private Date created;
@@ -291,9 +275,6 @@ Title: REST Example
     import javax.xml.bind.annotation.XmlAccessType;
     import javax.xml.bind.annotation.XmlAccessorType;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @MappedSuperclass
     @Access(AccessType.FIELD)
     @XmlAccessorType(XmlAccessType.FIELD)
@@ -330,9 +311,6 @@ Title: REST Example
     import java.util.ArrayList;
     import java.util.List;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Entity
     @NamedQueries({
             @NamedQuery(name = "post.list", query = "select p from Post p")
@@ -350,9 +328,6 @@ Title: REST Example
     import javax.validation.constraints.Size;
     import javax.xml.bind.annotation.XmlRootElement;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Entity
     @NamedQueries({
             @NamedQuery(name = "user.list", query = "select u from User u")
@@ -376,9 +351,6 @@ Title: REST Example
     import javax.ws.rs.QueryParam;
     import java.util.List;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Path("/api/comment")
     @Produces({"text/xml", "application/json"})
     public class CommentService {
@@ -433,9 +405,6 @@ Title: REST Example
     import javax.ws.rs.QueryParam;
     import java.util.List;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Path("/api/post")
     @Produces({"text/xml", "application/json"})
     public class PostService {
@@ -498,9 +467,6 @@ Title: REST Example
     import javax.ws.rs.QueryParam;
     import java.util.List;
     
-    /**
-     * @author Romain Manni-Bucau
-     */
     @Path("/api/user")
     @Produces({"text/xml", "application/json"})
     public class UserService {