[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Make constructors of JavaHL classes public

From: Dmitry Pavlenko <pavlenko_at_tmatesoft.com>
Date: Tue, 8 Mar 2016 17:35:19 +0100

Hello!
I would ask you to make some JavaHL contructors public, so it would be possible to implement JavaHL more easily. Once you were so kind to do that

https://mail-archives.apache.org/mod_mbox/subversion-dev/201309.mbox/%3C201309041617.25159.pavlenko@tmatesoft.com%3E

and I'm asking you to do that once again.

[[[
Make constructors of LocationSegment and FileRevision publc.

* subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRemote.java
  (LocationSegment): Make constructor public.
  (FileRevision): Make constructor public.

]]]
[[[
Index: subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRemote.java
===================================================================
--- subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRemote.java (revision 1734105)
+++ subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRemote.java (working copy)
@@ -507,9 +507,9 @@ 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,
+ public LocationSegment(String path,
                                 long startRevision,
                                 long endRevision)
         {
@@ -594,9 +594,9 @@ 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,
+ public FileRevision(String path, long revision,
                              boolean resultOfMerge,
                              Map<String, byte[]> revisionProperties,
                              Map<String, byte[]> propertiesDelta,
]]]

Dmitry Pavlenko
Received on 2016-03-08 17:39:10 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.