jvanzyl     2002/11/25 10:43:09

  Modified:    src/java/org/apache/maven/project Repository.java
  Log:
  o checkstyle violations
  
  Revision  Changes    Path
  1.9       +22 -1     
jakarta-turbine-maven/src/java/org/apache/maven/project/Repository.java
  
  Index: Repository.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/project/Repository.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Repository.java   24 Nov 2002 19:00:39 -0000      1.8
  +++ Repository.java   25 Nov 2002 18:43:09 -0000      1.9
  @@ -66,11 +66,16 @@
   public class Repository
       extends BaseObject
   {
  +    /** Connection URL. */
       private String connection;
  +
  +    /** Web URL. */
       private String url;
   
       /**
        * Sets the connection attribute of the Repository object
  +     *
  +     * @param connection Connection URL.
        */
       public void setConnection( String connection )
       {
  @@ -79,6 +84,8 @@
   
       /**
        * Gets the connection attribute of the Repository object
  +     *
  +     * @return Connection URL.
        */
       public String getConnection()
       {
  @@ -87,6 +94,8 @@
   
       /**
        * Sets the url attribute of the Repository object
  +     *
  +     * @param url Web URL.
        */
       public void setUrl( String url )
       {
  @@ -95,17 +104,29 @@
   
       /**
        * Gets the url attribute of the Repository object
  +     *
  +     * @return Web URL.
        */
       public String getUrl()
       {
           return url;
       }
   
  +    /**
  +     * Get cvs root.
  +     *
  +     * @return CVS root.
  +     */
       public String getCvsRoot()
       {
           return connection.substring( 0, connection.lastIndexOf( ":" ) ).substring( 
7 );
       }
   
  +    /**
  +     * Get cvs module.
  +     *
  +     * @return CVS module.
  +     */
       public String getCvsModule()
       {
           return connection.substring( connection.lastIndexOf( ":" ) + 1 );
  
  
  

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

Reply via email to