maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-scm/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/repository CvsScmProviderRepository.java
Date Mon, 20 Dec 2004 17:53:48 GMT
brett       2004/12/20 09:53:48

  Modified:    maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/repository
                        CvsScmProviderRepository.java
  Log:
  remove ScmExceptions that are never thrown
  
  Revision  Changes    Path
  1.3       +7 -13     maven-scm/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepository.java
  
  Index: CvsScmProviderRepository.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepository.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CvsScmProviderRepository.java	26 Oct 2004 12:43:17 -0000	1.2
  +++ CvsScmProviderRepository.java	20 Dec 2004 17:53:48 -0000	1.3
  @@ -16,7 +16,6 @@
    * limitations under the License.
    */
   
  -import org.apache.maven.scm.ScmException;
   import org.apache.maven.scm.provider.ScmProviderRepository;
   
   /**
  @@ -60,52 +59,47 @@
           this.module = module;
       }
   
  -    public String getCvsRoot() throws ScmException
  +    public String getCvsRoot()
       {
           return cvsroot;
       }
   
       /**
        * @return The subtype (like pserver).
  -     * @throws ScmException
        */
  -    public String getTransport() throws ScmException
  +    public String getTransport()
       {
           return transport;
       }
   
       /**
        * @return The user.
  -     * @throws ScmException
        */
  -    public String getUser() throws ScmException
  +    public String getUser()
       {
           return user;
       }
   
       /**
        * @return The host.
  -     * @throws ScmException
        */
  -    public String getHost() throws ScmException
  +    public String getHost()
       {
           return host;
       }
   
       /**
        * @return The path.
  -     * @throws ScmException
        */
  -    public String getPath() throws ScmException
  +    public String getPath()
       {
           return path;
       }
   
       /**
        * @return The module name.
  -     * @throws ScmException
        */
  -    public String getModule() throws ScmException
  +    public String getModule()
       {
           return module;
       }
  
  
  

Mime
View raw message