jvanzyl     2003/12/06 12:10:27

  Modified:    maven-model-tools/src/java/org/apache/maven/model
                        DefaultModelMarshaller.java
  Log:
  o getting rid of meaningless javadoc
  
  Revision  Changes    Path
  1.4       +8 -55     
maven-components/maven-model-tools/src/java/org/apache/maven/model/DefaultModelMarshaller.java
  
  Index: DefaultModelMarshaller.java
  ===================================================================
  RCS file: 
/home/cvs/maven-components/maven-model-tools/src/java/org/apache/maven/model/DefaultModelMarshaller.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultModelMarshaller.java       6 Dec 2003 19:54:37 -0000       1.3
  +++ DefaultModelMarshaller.java       6 Dec 2003 20:10:27 -0000       1.4
  @@ -12,28 +12,21 @@
   
   /**
    * @author <a href="mailto:[EMAIL PROTECTED]">Gilles Dodinet</a>
  - * @version $Id: DefaultProjectMarshaller.java,v 1.4 2003/05/20 21:42:57
  - *      gdodinet Exp $
  + * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
  + *
  + * @version $Id$
  + *
  + * @todo deal with different encoding
    */
   public class DefaultModelMarshaller
       implements ModelMarshaller
   {
  -    /** */
       private final static String NAMESPACE = null;
   
  -    /** */
  -    private final static String ENCODING = null;
  -
  -    /** */
  -    private final static Boolean STANDALONE = null;
  -
  -    /** */
       private XmlSerializer serializer;
   
  -    /** */
       private static String INDENTATION = "  ";
   
  -    /** */
       private static String LS = System.getProperty( "line.separator" );
   
       /**
  @@ -54,8 +47,11 @@
           throws IOException
       {
           serializer.setProperty( 
"http://xmlpull.org/v1/doc/properties.html#serializer-indentation";, indentation );
  +
           serializer.setProperty( 
"http://xmlpull.org/v1/doc/properties.html#serializer-line-separator";, lineSeparator );
  +
           serializer.setOutput( writer );
  +
           //serializer.startDocument(ENCODING, STANDALONE);
       }
   
  @@ -135,9 +131,6 @@
           serializer.endDocument();
       }
   
  -    /**
  -     * Description of the Method
  -     */
       private void marshallOrganization( Model project )
           throws Exception
       {
  @@ -153,9 +146,6 @@
           }
       }
   
  -    /**
  -     * Description of the Method
  -     */
       private void marshallRepository( Model project )
           throws Exception
       {
  @@ -171,9 +161,6 @@
           }
       }
   
  -    /**
  -     * Description of the Method
  -     */
       private void marshallVersions( Model project )
           throws Exception
       {
  @@ -200,9 +187,6 @@
           }
       }
   
  -    /**
  -     * Description of the Method
  -     */
       private void marshallBranches( Model project )
           throws Exception
       {
  @@ -227,9 +211,6 @@
           }
       }
   
  -    /**
  -     * Description of the Method
  -     */
       private void marshallMailingLists( Model project )
           throws Exception
       {
  @@ -257,9 +238,6 @@
           }
       }
   
  -    /**
  -     * Description of the Method
  -     */
       private void marshallDevelopers( Model project )
           throws Exception
       {
  @@ -494,9 +472,6 @@
           }
       }
   
  -    /**
  -     * Description of the Method
  -     */
       private void marshallExcludes( List excludes )
           throws IOException
       {
  @@ -511,10 +486,6 @@
           }
       }
   
  -    //see if we can merge marshallIncludes and marshallExcludes in a smart way
  -    /**
  -     * Description of the Method
  -     */
       private void marshallIncludes( List includes )
           throws IOException
       {
  @@ -529,9 +500,6 @@
           }
       }
   
  -    /**
  -     * Description of the Method
  -     */
       private void marshallReports( Model project )
           throws Exception
       {
  @@ -565,9 +533,6 @@
           }
       }
   
  -    /**
  -     * Description of the Method
  -     */
       private void marshallString( String line, String tag )
           throws IOException
       {
  @@ -577,9 +542,6 @@
           }
       }
   
  -    /**
  -     * Description of the Method
  -     */
       private void marshallRequiredString( String line, String tag )
           throws IOException
       {
  @@ -591,17 +553,8 @@
           marshallString( line, tag );
       }
   
  -
  -    /**
  -     * Gets the null attribute of the DefaultProjectMarshaller object
  -     */
       private boolean isNull( String property )
       {
           return property == null || property.trim().equals( "" );
       }
  -
  -    // ----------------------------------------------------------------------
  -    // Lifecylce Management
  -    // ----------------------------------------------------------------------
  -
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to