Hi --
I'm working on a java application that stores data in the subversion repository.
I would like to be able to validate svn paths before using them, so I created a new
javahl method called isValidPath which calls the C api svn_path_check_valid.
I've tested the changes locally and they are working. So I'm proposing that they
be incorporated into subversion with the following log message:
Add isValidPath javahl api. The native java method calls
svn_path_check_valid and returns a jboolean of true if the return value
of svn_path_check_valid is SVN_NO_ERROR. The error message does not
appear to be l10n/i18n so I have localized my own message in CEE.
* subversion/bindings/java/javahl/native/SVNClient.cpp
(isValidPath): New function which calls svn_path_check_valid and returns
a jboolean of true if the return value is SVN_NO_ERROR.
*
subversion/bindings/java/javahl/native/org_tigris_subversion_javahl_SVNClient.cpp
(Java_org_tigris_subversion_javahl_SVNClient_isValidPath): New function
which sets up a JNI call to SVNClient.isValidPath
* subversion/bindings/java/javahl/native/SVNClient.h
(isValidPath): New function declaration.
*
subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientInterface.java
(isValidPath): New interface declaration.
*
subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClient.java
(isValidPath): New native method declaration.
*
subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientSynchronized.java
(isValidPath): New method implementation which calls the native method
in a synchronized block.
The diff file is attached to this email message.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 13 03:01:06 2006