You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/05/28 03:50:07 UTC

svn commit: r949065 - in /subversion/trunk/subversion/bindings/javahl: src/org/apache/subversion/javahl/ISVNAdmin.java src/org/apache/subversion/javahl/SVNAdmin.java tests/org/apache/subversion/javahl/SVNTests.java

Author: hwright
Date: Fri May 28 01:50:07 2010
New Revision: 949065

URL: http://svn.apache.org/viewvc?rev=949065&view=rev
Log:
Remove another deprecated API from the JavaHL SVNAdmin interface.

[ in subversion/bindings/javahl/ ]
* tests/org/apache/subversion/javahl/SVNTests.java
  (setUp): Call the proper API.

* src/org/apache/subversion/javahl/ISVNAdmin.java
  (dump): Remove.

* src/org/apache/subversion/javahl/SVNAdmin.java
  (dump): Remove.

Modified:
    subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNAdmin.java
    subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNAdmin.java
    subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNTests.java

Modified: subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNAdmin.java
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNAdmin.java?rev=949065&r1=949064&r2=949065&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNAdmin.java (original)
+++ subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNAdmin.java Fri May 28 01:50:07 2010
@@ -80,20 +80,6 @@ public interface ISVNAdmin {
 	 * @param start             the first revision to be dumped
 	 * @param end               the last revision to be dumped
 	 * @param incremental       the dump will be incremantal
-	 * @throws ClientException  throw in case of problem
-	 */
-	public abstract void dump(String path, IOutput dataOut, IOutput errorOut,
-			Revision start, Revision end, boolean incremental)
-			throws ClientException;
-
-	/**
-	 * dump the data in a repository
-	 * @param path              the path to the repository
-	 * @param dataOut           the data will be outputed here
-	 * @param errorOut          the messages will be outputed here
-	 * @param start             the first revision to be dumped
-	 * @param end               the last revision to be dumped
-	 * @param incremental       the dump will be incremantal
 	 * @param useDeltas         the dump will contain deltas between nodes
 	 * @throws ClientException  throw in case of problem
 	 * @since 1.5

Modified: subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNAdmin.java
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNAdmin.java?rev=949065&r1=949064&r2=949065&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNAdmin.java (original)
+++ subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNAdmin.java Fri May 28 01:50:07 2010
@@ -118,24 +118,6 @@ public class SVNAdmin implements ISVNAdm
      * @param start             the first revision to be dumped
      * @param end               the last revision to be dumped
      * @param incremental       the dump will be incremantal
-     * @throws ClientException  throw in case of problem
-     */
-    public void dump(String path, IOutput dataOut,
-                     IOutput errorOut, Revision start,
-                     Revision end, boolean incremental)
-            throws ClientException
-    {
-        dump(path, dataOut, errorOut, start, end, incremental, false);
-    }
-
-    /**
-     * dump the data in a repository
-     * @param path              the path to the repository
-     * @param dataOut           the data will be outputed here
-     * @param errorOut          the messages will be outputed here
-     * @param start             the first revision to be dumped
-     * @param end               the last revision to be dumped
-     * @param incremental       the dump will be incremantal
      * @param useDeltas         the dump will contain deltas between nodes
      * @throws ClientException  throw in case of problem
      * @since 1.5

Modified: subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNTests.java
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNTests.java?rev=949065&r1=949064&r2=949065&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNTests.java (original)
+++ subversion/trunk/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNTests.java Fri May 28 01:50:07 2010
@@ -239,7 +239,7 @@ class SVNTests extends TestCase
         client.doImport(greekFiles.getAbsolutePath(), makeReposUrl(greekRepos),
                         null, Depth.infinity, false, false, null);
         admin.dump(greekRepos.getAbsolutePath(), new FileOutputer(greekDump),
-                   new IgnoreOutputer(), null, null, false);
+                   new IgnoreOutputer(), null, null, false, false);
     }
 
     /**