You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2004/09/09 14:06:20 UTC

cvs commit: jakarta-commons/jelly/jelly-tags/ant/src/test/org/apache/commons/jelly/ant TestJelly.java

dion        2004/09/09 05:06:20

  Modified:    jelly/jelly-tags/antlr/src/java/org/apache/commons/jelly/tags/antlr
                        AntlrTag.java AntlrTagLibrary.java GrammarTag.java
               jelly/jelly-tags/ant/src/test/org/apache/commons/jelly/ant/tag
                        MyTagLibrary.java TestJelly.java
               jelly/jelly-tags/ant/src/test/org/apache/commons/jelly/ant
                        TestJelly.java
  Log:
  Fix license file whitespace
  
  Revision  Changes    Path
  1.5       +9 -9      jakarta-commons/jelly/jelly-tags/antlr/src/java/org/apache/commons/jelly/tags/antlr/AntlrTag.java
  
  Index: AntlrTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/antlr/src/java/org/apache/commons/jelly/tags/antlr/AntlrTag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AntlrTag.java	25 Feb 2004 01:27:09 -0000	1.4
  +++ AntlrTag.java	9 Sep 2004 12:06:18 -0000	1.5
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -43,9 +43,9 @@
   
   
       // Tag interface
  -    //------------------------------------------------------------------------- 
  -    
  -    /** 
  +    //-------------------------------------------------------------------------
  +
  +    /**
        * Evaluate the body to register all the various goals and pre/post conditions
        * then run all the current targets
        */
  @@ -93,11 +93,11 @@
                       generated.getParentFile().getPath(),
                       grammar.getPath(),
                   };
  -            
  +
               SecurityManager oldSm = System.getSecurityManager();
   
               System.setSecurityManager( NoExitSecurityManager.INSTANCE );
  -            
  +
               try
               {
                   Tool.main( args );
  @@ -128,7 +128,7 @@
           try {
   
               BufferedReader in = new BufferedReader(new FileReader(grammar));
  -            
  +
               String line;
               while ((line = in.readLine()) != null) {
                   line = line.trim();
  
  
  
  1.4       +4 -4      jakarta-commons/jelly/jelly-tags/antlr/src/java/org/apache/commons/jelly/tags/antlr/AntlrTagLibrary.java
  
  Index: AntlrTagLibrary.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/antlr/src/java/org/apache/commons/jelly/tags/antlr/AntlrTagLibrary.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AntlrTagLibrary.java	25 Feb 2004 01:27:09 -0000	1.3
  +++ AntlrTagLibrary.java	9 Sep 2004 12:06:18 -0000	1.4
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  
  
  
  1.5       +5 -5      jakarta-commons/jelly/jelly-tags/antlr/src/java/org/apache/commons/jelly/tags/antlr/GrammarTag.java
  
  Index: GrammarTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/antlr/src/java/org/apache/commons/jelly/tags/antlr/GrammarTag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- GrammarTag.java	25 Feb 2004 01:27:09 -0000	1.4
  +++ GrammarTag.java	9 Sep 2004 12:06:18 -0000	1.5
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -28,8 +28,8 @@
   
   
       // Tag interface
  -    //------------------------------------------------------------------------- 
  -    
  +    //-------------------------------------------------------------------------
  +
       public void doTag(final XMLOutput output) throws JellyTagException
       {
           String grammar = getBodyText();
  
  
  
  1.4       +6 -6      jakarta-commons/jelly/jelly-tags/ant/src/test/org/apache/commons/jelly/ant/tag/MyTagLibrary.java
  
  Index: MyTagLibrary.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/ant/src/test/org/apache/commons/jelly/ant/tag/MyTagLibrary.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MyTagLibrary.java	25 Feb 2004 01:25:54 -0000	1.3
  +++ MyTagLibrary.java	9 Sep 2004 12:06:19 -0000	1.4
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -17,9 +17,9 @@
   
   import org.apache.commons.jelly.TagLibrary;
   
  -/** 
  - * Describes the Taglib. 
  - * This could be created via Jelly script, or could load the mapping of 
  +/**
  + * Describes the Taglib.
  + * This could be created via Jelly script, or could load the mapping of
    * tag names to bean classes from properties file etc  but is implemented in Java
    * code for simplicity
    *
  
  
  
  1.4       +6 -6      jakarta-commons/jelly/jelly-tags/ant/src/test/org/apache/commons/jelly/ant/tag/TestJelly.java
  
  Index: TestJelly.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/ant/src/test/org/apache/commons/jelly/ant/tag/TestJelly.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestJelly.java	25 Feb 2004 01:25:54 -0000	1.3
  +++ TestJelly.java	9 Sep 2004 12:06:19 -0000	1.4
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -20,7 +20,7 @@
   
   import org.apache.commons.jelly.tags.junit.JellyTestSuite;
   
  -/** 
  +/**
    * A helper class to run jelly test cases as part of Ant's JUnit tests
    *
    * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  @@ -31,8 +31,8 @@
       public static void main( String[] args ) throws Exception {
           TestRunner.run( suite() );
       }
  -    
  +
       public static TestSuite suite() throws Exception {
  -        return createTestSuite(TestJelly.class, "suite.jelly");        
  +        return createTestSuite(TestJelly.class, "suite.jelly");
       }
   }
  
  
  
  1.5       +6 -6      jakarta-commons/jelly/jelly-tags/ant/src/test/org/apache/commons/jelly/ant/TestJelly.java
  
  Index: TestJelly.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/ant/src/test/org/apache/commons/jelly/ant/TestJelly.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestJelly.java	25 Feb 2004 01:26:20 -0000	1.4
  +++ TestJelly.java	9 Sep 2004 12:06:20 -0000	1.5
  @@ -1,12 +1,12 @@
   /*
    * Copyright 2002,2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -20,7 +20,7 @@
   
   import org.apache.commons.jelly.tags.junit.JellyTestSuite;
   
  -/** 
  +/**
    * A helper class to run jelly test cases as part of Ant's JUnit tests
    *
    * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  @@ -31,8 +31,8 @@
       public static void main( String[] args ) throws Exception {
           TestRunner.run( suite() );
       }
  -    
  +
       public static TestSuite suite() throws Exception {
  -        return createTestSuite(TestJelly.class, "suite.jelly");        
  +        return createTestSuite(TestJelly.class, "suite.jelly");
       }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org