You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2016/04/18 10:16:54 UTC
svn commit: r1739704 -
/subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRemote.java
Author: brane
Date: Mon Apr 18 08:16:54 2016
New Revision: 1739704
URL: http://svn.apache.org/viewvc?rev=1739704&view=rev
Log:
Change the access to the constructors of a couple JavaHL classes so that
low-level JavaHL wrappers can instantiate them.
[in subversion/bindings/javahl]
* src/org/apache/subversion/javahl/ISVNRemote.java
(ISVNRemote.LocationSegment): Move constructor to package scope.
(ISVNRemote.FileRevision): Likewise.
Suggestd by: Dmitry Pavlenko
Modified:
subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRemote.java
Modified: subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRemote.java
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRemote.java?rev=1739704&r1=1739703&r2=1739704&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRemote.java (original)
+++ subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRemote.java Mon Apr 18 08:16:54 2016
@@ -507,11 +507,11 @@ public interface ISVNRemote
private static final long serialVersionUID = 1L;
/**
- * Private constructor called by the native implementation.
+ * Constructor called by the native implementation.
*/
- private LocationSegment(String path,
- long startRevision,
- long endRevision)
+ LocationSegment(String path,
+ long startRevision,
+ long endRevision)
{
this.path = path;
this.startRevision = startRevision;
@@ -594,13 +594,13 @@ public interface ISVNRemote
private static final long serialVersionUID = 1L;
/**
- * Private constructor called by the native implementation.
+ * Constructor called by the native implementation.
*/
- private FileRevision(String path, long revision,
- boolean resultOfMerge,
- Map<String, byte[]> revisionProperties,
- Map<String, byte[]> propertiesDelta,
- boolean textDelta)
+ FileRevision(String path, long revision,
+ boolean resultOfMerge,
+ Map<String, byte[]> revisionProperties,
+ Map<String, byte[]> propertiesDelta,
+ boolean textDelta)
{
this.path = path;
this.revision = revision;