Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > subclipse commit: r772 - in branches/subclipse-3/core/src/org/tigris/subversion/subclipse/core: history resources

subclipse
Discussion topic

Back to topic list

subclipse commit: r772 - in branches/subclipse-3/core/src/org/tigris/subversion/subclipse/core: history resources

Author pkorros
Full name Panagiotis Korros
Date 2004-07-22 14:00:15 PDT
Message Author: pkorros
Date: Thu Jul 22 16:00:11 2004
New Revision: 772

Modified:
   branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/history/LogEn​try.java
   branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteFile.java
   branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteFolder.java
   branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteResource.java
Log:
Cleaned up never thrown SVNException from RemoteResource, RemoteFile, RemoteFolder constructors.

Modified: branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/history/LogEn​try.java
Url: http://svn.collab.ne​t/viewcvs/subclipse/​branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/history/LogEn​try.java?view=diff​&rev=772&p1=br​anches/subclipse-3/c​ore/src/org/tigris/s​ubversion/subclipse/​core/history/LogEntr​y.java&r1=771​&p2=branches/subcli​pse-3/core/src/org/t​igris/subversion/sub​clipse/core/history/​LogEntry.java&r2​=772
====================​====================​====================​==================
--- branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/history/LogEn​try.java (original)
+++ branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/history/LogEn​try.java Thu Jul 22 16:00:11 2004
@@ -16,7 +16,6 @@
 
 import org.eclipse.core.run​time.PlatformObject;​
 import org.tigris.subversio​n.subclipse.core.ISV​NRemoteResource;
-import org.tigris.subversio​n.subclipse.core.SVN​Exception;
 import org.tigris.subversio​n.subclipse.core.res​ources.RemoteFile;
 import org.tigris.subversio​n.subclipse.core.res​ources.RemoteFolder;​
 import org.tigris.subversio​n.subclipse.core.res​ources.RemoteResourc​e;
@@ -36,21 +35,13 @@
 
     public LogEntry(RemoteResource resource, SVNRevision.Number revision, String author, Date date, String comment) {
         if (resource.isFolder()) {
- try {
- this.resource = new RemoteFolder(null,re​source.getRepository​(), resource.getUrl(), revision,
+ this.resource = new RemoteFolder(null,re​source.getRepository​(), resource.getUrl(), revision,
                     revision, date, author);
- } catch (SVNException e) {
- // we can safely ignore this exception because we use SVNRevision.Number
- }
         }
         else
         {
- try {
- this.resource = new RemoteFile(null,reso​urce.getRepository()​, resource.getUrl(), revision,
+ this.resource = new RemoteFile(null,reso​urce.getRepository()​, resource.getUrl(), revision,
                     revision, date, author);
- } catch (SVNException e) {
- // we can safely ignore this exception because we use SVNRevision.Number
- }
 
         }
         this.revision = revision;

Modified: branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteFile.java
Url: http://svn.collab.ne​t/viewcvs/subclipse/​branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteFile.java?view=di​ff&rev=772&p​1=branches/subclipse​-3/core/src/org/tigr​is/subversion/subcli​pse/core/resources/R​emoteFile.java&r​1=771&p2=branche​s/subclipse-3/core/s​rc/org/tigris/subver​sion/subclipse/core/​resources/RemoteFile​.java&r2=772
====================​====================​====================​==================
--- branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteFile.java (original)
+++ branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteFile.java Thu Jul 22 16:00:11 2004
@@ -21,7 +21,6 @@
 import org.tigris.subversio​n.subclipse.core.ISV​NRemoteResource;
 import org.tigris.subversio​n.subclipse.core.ISV​NRepositoryLocation;​
 import org.tigris.subversio​n.subclipse.core.Pol​icy;
-import org.tigris.subversio​n.subclipse.core.SVN​Exception;
 import org.tigris.subversio​n.svnclientadapter.I​SVNClientAdapter;
 import org.tigris.subversio​n.svnclientadapter.S​VNClientException;
 import org.tigris.subversio​n.svnclientadapter.S​VNRevision;
@@ -48,8 +47,7 @@
             SVNRevision revision,
             SVNRevision.Number lastChangedRevision,
             Date date,
- String author)
- throws SVNException {
+ String author) {
         super(parent, repository, url, revision, lastChangedRevision,
                 date, author);
     }

Modified: branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteFolder.java
Url: http://svn.collab.ne​t/viewcvs/subclipse/​branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteFolder.java?view=​diff&rev=772​&p1=branches/subclip​se-3/core/src/org/ti​gris/subversion/subc​lipse/core/resources​/RemoteFolder.java​&r1=771&p2=bra​nches/subclipse-3/co​re/src/org/tigris/su​bversion/subclipse/c​ore/resources/Remote​Folder.java&r2=7​72
====================​====================​====================​==================
--- branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteFolder.java (original)
+++ branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteFolder.java Thu Jul 22 16:00:11 2004
@@ -55,7 +55,7 @@
         SVNRevision revision,
         SVNRevision.Number lastChangedRevision,
         Date date,
- String author) throws SVNException {
+ String author) {
         super(parent, repository, url, revision, lastChangedRevision, date, author);
     }
 

Modified: branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteResource.java
Url: http://svn.collab.ne​t/viewcvs/subclipse/​branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteResource.java?vie​w=diff&rev=772​&p1=branches/subcl​ipse-3/core/src/org/​tigris/subversion/su​bclipse/core/resourc​es/RemoteResource.ja​va&r1=771&p2​=branches/subclipse-​3/core/src/org/tigri​s/subversion/subclip​se/core/resources/Re​moteResource.java​&r2=772
====================​====================​====================​==================
--- branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteResource.java (original)
+++ branches/subclipse-3​/core/src/org/tigris​/subversion/subclips​e/core/resources/Rem​oteResource.java Thu Jul 22 16:00:11 2004
@@ -72,7 +72,7 @@
         SVNRevision revision,
         SVNRevision.Number lastChangedRevision,
         Date date,
- String author) throws SVNException {
+ String author) {
 
         this.parent = parent;
         this.repository = repository;

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@subc​lipse.tigris.org
For additional commands, e-mail: cvs-help at subclipse dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

subclipse commit: r772 - in branches/subclipse-3/core/src/org/tigris/subversion/subclipse/core: history resources pkorros Panagiotis Korros 2004-07-22 14:00:15 PDT
Messages per page: