subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1495112 - in /subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl: ISVNClient.java SVNClient.java
Date Thu, 20 Jun 2013 18:02:38 GMT
Author: brane
Date: Thu Jun 20 18:02:38 2013
New Revision: 1495112

URL: http://svn.apache.org/r1495112
Log:
Fix the JavaDocs for ISVNClient.openRemoteSession.

[in subversion/bindings/javahl/src/org/apache/subversion/javahl]
* ISVNClient.cpp, SVNClient.cpp (ISVNClient.openRemoteSession):
   Note in docs and prototype that the path can be an URL.

Modified:
    subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNClient.java
    subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNClient.java

Modified: subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNClient.java
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNClient.java?rev=1495112&r1=1495111&r2=1495112&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNClient.java
(original)
+++ subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNClient.java
Thu Jun 20 18:02:38 2013
@@ -1172,8 +1172,8 @@ public interface ISVNClient
 
     /**
      * Open a persistent session to a repository.
-     * @param path A path in a working copy from which the
-     *        session URL is derived.
+     * @param pathOrUrl A path in a working copy from which the
+     *        session URL is derived, or the URL itself.
      * @throws remote.RetryOpenSession If the session URL was redirected
      * @throws SubversionException If an URL redirect cycle was detected
      * @throws ClientException
@@ -1181,13 +1181,13 @@ public interface ISVNClient
      *       configuration directory and authentication info.
      * @since 1.9
      */
-    ISVNRemote openRemoteSession(String path)
+    ISVNRemote openRemoteSession(String pathOrUrl)
             throws ClientException, SubversionException;
 
     /**
      * Open a persistent session to a repository.
-     * @param path A path in a working copy from which the
-     *        session URL is derived.
+     * @param pathOrUrl A path in a working copy from which the
+     *        session URL is derived, or the URL itself.
      * @param retryAttempts The number of times to retry the operation
      *        if the given URL is redirected.
      * @throws IllegalArgumentException If <code>retryAttempts</code>
@@ -1199,6 +1199,6 @@ public interface ISVNClient
      *       configuration directory and authentication info.
      * @since 1.9
      */
-    ISVNRemote openRemoteSession(String path, int retryAttempts)
+    ISVNRemote openRemoteSession(String pathOrUrl, int retryAttempts)
             throws ClientException, SubversionException;
 }

Modified: subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNClient.java
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNClient.java?rev=1495112&r1=1495111&r2=1495112&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNClient.java
(original)
+++ subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNClient.java
Thu Jun 20 18:02:38 2013
@@ -672,13 +672,13 @@ public class SVNClient implements ISVNCl
                              PatchCallback callback)
             throws ClientException;
 
-    public ISVNRemote openRemoteSession(String path)
+    public ISVNRemote openRemoteSession(String pathOrUrl)
             throws ClientException, SubversionException
     {
         return nativeOpenRemoteSession(path, 1);
     }
 
-    public ISVNRemote openRemoteSession(String path, int retryAttempts)
+    public ISVNRemote openRemoteSession(String pathOrUrl, int retryAttempts)
             throws ClientException, SubversionException
     {
         if (retryAttempts <= 0)
@@ -688,7 +688,7 @@ public class SVNClient implements ISVNCl
     }
 
     private native ISVNRemote nativeOpenRemoteSession(
-        String path, int retryAttempts)
+        String pathOrUrl, int retryAttempts)
             throws ClientException, SubversionException;
 
     /**



Mime
View raw message