Skip to content

Commit

Permalink
In subversion/bindings/javahl:
Browse files Browse the repository at this point in the history
Update docs with current links

* README:
  http:// to https://
  Subclipse new home at marketplace.eclipse.org

* native/JNIUtil.cpp,
  src/org/apache/subversion/javahl/ISVNClient.java,
  src/org/apache/subversion/javahl/ISVNEditor.java,
  src/org/apache/subversion/javahl/ISVNRemote.java,
  src/org/apache/subversion/javahl/SVNUtil.java,
  src/org/apache/subversion/javahl/types/Version.java,
  src/org/tigris/subversion/javahl/SVNClientInterface.java,
  src/org/tigris/subversion/javahl/SVNClientSynchronized.java,
  src/org/tigris/subversion/javahl/Version.java:
  http:// to https://

* src/org/apache/subversion/javahl/ClientException.java,
  src/org/apache/subversion/javahl/ClientNotifyInformation.java,
  src/org/apache/subversion/javahl/CommitInfo.java,
  src/org/apache/subversion/javahl/CommitItem.java,
  src/org/apache/subversion/javahl/DiffSummary.java,
  src/org/apache/subversion/javahl/JNIError.java,
  src/org/apache/subversion/javahl/NativeException.java,
  src/org/apache/subversion/javahl/ProgressEvent.java,
  src/org/apache/subversion/javahl/ReposNotifyInformation.java,
  src/org/apache/subversion/javahl/SVNUtil.java,
  src/org/apache/subversion/javahl/SubversionException.java,
  src/org/apache/subversion/javahl/callback/AuthnCallback.java,
  src/org/apache/subversion/javahl/types/ChangePath.java,
  src/org/apache/subversion/javahl/types/Checksum.java,
  src/org/apache/subversion/javahl/types/CopySource.java,
  src/org/apache/subversion/javahl/types/DirEntry.java,
  src/org/apache/subversion/javahl/types/ExternalItem.java,
  src/org/apache/subversion/javahl/types/Info.java,
  src/org/apache/subversion/javahl/types/Lock.java,
  src/org/apache/subversion/javahl/types/Mergeinfo.java,
  src/org/apache/subversion/javahl/types/Revision.java,
  src/org/apache/subversion/javahl/types/RevisionRange.java,
  src/org/apache/subversion/javahl/types/Status.java,
  src/org/tigris/subversion/javahl/ChangePath.java,
  src/org/tigris/subversion/javahl/ClientException.java,
  src/org/tigris/subversion/javahl/CommitItem.java,
  src/org/tigris/subversion/javahl/CopySource.java,
  src/org/tigris/subversion/javahl/DiffSummary.java,
  src/org/tigris/subversion/javahl/DirEntry.java,
  src/org/tigris/subversion/javahl/Info.java,
  src/org/tigris/subversion/javahl/Info2.java,
  src/org/tigris/subversion/javahl/Lock.java,
  src/org/tigris/subversion/javahl/LogMessage.java,
  src/org/tigris/subversion/javahl/Mergeinfo.java,
  src/org/tigris/subversion/javahl/NativeException.java,
  src/org/tigris/subversion/javahl/NotifyInformation.java,
  src/org/tigris/subversion/javahl/ProgressEvent.java,
  src/org/tigris/subversion/javahl/Revision.java,
  src/org/tigris/subversion/javahl/RevisionRange.java,
  src/org/tigris/subversion/javahl/Status.java,
  src/org/tigris/subversion/javahl/SubversionException.java:
  Update doc for serialVersionUID:
  - Grammar fix s/a incompatible/an incompatible/
  - Switch links from java.sun.com to docs.oracle.com
  - Change link to most recent LTS version, note "or your specific Java release"

* src/org/tigris/subversion/javahl/package.html
  Change to HTML5 DOCTYPE
  http:// to https://

* tests/org/apache/subversion/javahl/SVNTests.java,
  tests/org/tigris/subversion/javahl/SVNTests.java
  Switch links from java.sun.com to docs.oracle.com



git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1891253 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dsahlberg-apache-org committed Jul 4, 2021
1 parent a5e6525 commit 61996dc
Show file tree
Hide file tree
Showing 53 changed files with 215 additions and 241 deletions.
9 changes: 5 additions & 4 deletions subversion/bindings/javahl/README
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ check-all-javahl run all JavaHL tests, including tests for

(In order to run check-javahl, you must have specified a path to a JUnit
jar file with --with-junit when running configure; JUnit version 4.11
has been tested. JUnit can be downloaded from http://junit.org/ .)
has been tested. JUnit can be downloaded from https://junit.org/ .)


MacOS X:
Expand All @@ -63,8 +63,9 @@ workspace. The private project/workspace is not used anymore.
Success stories
---------------

Subclipse, Eclipse IDE plug-in <http://subclipse.tigris.org/>
SmartSVN, cross-platform Subversion client (http://www.smartsvn.com/)
Subclipse, Eclipse IDE plug-in
<https://marketplace.eclipse.org/content/subclipse/>
SmartSVN, cross-platform Subversion client (https://www.smartsvn.com/)


Why not 100% pure Java?
Expand All @@ -81,7 +82,7 @@ gone into the existing libraries to be leveraged from Java, and allows
developer time to me more efficiently spent on further development of the
underlying libraries shared by many implementations.

The SVNKit <http://svnkit.com/> client library (formerly known as
The SVNKit <https://svnkit.com/> client library (formerly known as
JavaSVN) is a 100% pure Java implementation, and attempts to track the
latest changes to Subversion's core libraries; however, this is an
independent project and the Subversion project cannot make any promises
Expand Down
2 changes: 1 addition & 1 deletion subversion/bindings/javahl/native/JNIUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ bool JNIUtil::JNIGlobalInit(JNIEnv *env)
#endif

#if defined(WIN32) || defined(__CYGWIN__)
/* See http://svn.apache.org/repos/asf/subversion/trunk/notes/asp-dot-net-hack.txt */
/* See https://svn.apache.org/repos/asf/subversion/trunk/notes/asp-dot-net-hack.txt */
/* ### This code really only needs to be invoked by consumers of
### the libsvn_wc library, which basically means SVNClient. */
if (getenv("SVN_ASP_DOT_NET_HACK"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@
*/
public class ClientException extends NativeException
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 2L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@
*/
public class ClientNotifyInformation extends EventObject
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 2L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
*/
public class CommitInfo implements java.io.Serializable
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/** the revision committed */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@
*/
public class CommitItem implements java.io.Serializable
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
*/
public class DiffSummary extends EventObject
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

private DiffKind diffKind;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public interface ISVNClient
* @return The name of the working copy's administrative
* directory, which is usually <code>.svn</code>.
* @see <a
* href="http://svn.apache.org/repos/asf/subversion/trunk/notes/asp-dot-net-hack.txt">
* href="https://svn.apache.org/repos/asf/subversion/trunk/notes/asp-dot-net-hack.txt">
* Instructions on changing this as a work-around for the behavior of
* ASP.Net on Windows.</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* <p>
* <b>This interface is EXPERIMENTAL.
* It may change or be removed in a future version of JavaHL</b>
* @see <a href="http://svn.apache.org/repos/asf/subversion/trunk/subversion/include/private/svn_editor.h">svn_editor.h</a>
* @see <a href="https://svn.apache.org/repos/asf/subversion/trunk/subversion/include/private/svn_editor.h">svn_editor.h</a>
* for all restrictions on driving an editor.
* @since 1.9
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

/**
* Encapsulates an RA session object and related operations.
* @see <a href="http://svn.apache.org/repos/asf/subversion/trunk/subversion/include/svn_ra.h">svn_ra.h</a>,
* @see <a href="https://svn.apache.org/repos/asf/subversion/trunk/subversion/include/svn_ra.h">svn_ra.h</a>,
* the documentation of the <code>svn_ra_open</code> function.
* @since 1.9
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@
*/
public class JNIError extends Error
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@
*/
class NativeException extends SubversionException
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@
*/
public class ProgressEvent implements java.io.Serializable
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
*/
public class ReposNotifyInformation extends EventObject
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 2L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@ public static boolean isNativeCredentialsStoreEnabled()
*/
public static class CredentialTypeMismatch extends SubversionException
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

public CredentialTypeMismatch(Credential.Kind kind, String attribute)
Expand All @@ -119,9 +120,10 @@ public CredentialTypeMismatch(Credential.Kind kind, String attribute)
*/
public static class Credential implements java.io.Serializable
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down Expand Up @@ -705,7 +707,7 @@ public static boolean fileMerge(String originalFile,
* <code>svn:eol-style</code> property. If it is <code>null</code>,
* the extra validation will be skipped.
* @return a canonicalized representation of the property value
* @see http://subversion.apache.org/docs/api/latest/group__svn__wc__properties.html#ga83296313ec59cc825176224ac8282ec2
* @see https://subversion.apache.org/docs/api/latest/group__svn__wc__properties.html#ga83296313ec59cc825176224ac8282ec2
*/
public static byte[] canonicalizeNodeProperty(
String name, byte[] value, String path, NodeKind kind,
Expand Down Expand Up @@ -734,7 +736,7 @@ public static byte[] canonicalizeNodeProperty(
* <code>kind</code> is {@link NodeKind.file} and
* <code>mimeType</code> is not <code>null</code>.
* @return a canonicalized representation of the property value
* @see http://subversion.apache.org/docs/api/latest/group__svn__wc__properties.html#ga83296313ec59cc825176224ac8282ec2
* @see https://subversion.apache.org/docs/api/latest/group__svn__wc__properties.html#ga83296313ec59cc825176224ac8282ec2
*/
public static byte[] canonicalizeNodeProperty(
String name, byte[] value, String path, NodeKind kind,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,10 @@
*/
public class SubversionException extends Exception
{
// Update the serialVersionUID when there is a incompatible change
// made to this class. See any of the following, depending upon
// the Java release.
// http://java.sun.com/j2se/1.3/docs/guide/serialization/spec/version.doc7.html
// http://java.sun.com/j2se/1.4/pdf/serial-spec.pdf
// http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/version.html#6678
// http://java.sun.com/javase/6/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ public static final class UsernameResult
extends AuthnResult
implements java.io.Serializable
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down Expand Up @@ -103,9 +104,10 @@ public static final class UserPasswordResult
extends AuthnResult
implements java.io.Serializable
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down Expand Up @@ -153,9 +155,10 @@ public UserPasswordResult userPasswordPrompt(String realm, String username,
*/
public static class SSLServerCertFailures implements java.io.Serializable
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down Expand Up @@ -239,9 +242,10 @@ private SSLServerCertFailures(int failures)
*/
public static class SSLServerCertInfo implements java.io.Serializable
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down Expand Up @@ -332,9 +336,10 @@ public static final class SSLServerTrustResult
extends AuthnResult
implements java.io.Serializable
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down Expand Up @@ -394,9 +399,10 @@ public static final class SSLClientCertResult
extends AuthnResult
implements java.io.Serializable
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down Expand Up @@ -440,9 +446,10 @@ public static final class SSLClientCertPassphraseResult
extends AuthnResult
implements java.io.Serializable
{
// Update the serialVersionUID when there is a incompatible change made to
// this class. See the java documentation for when a change is incompatible.
// http://java.sun.com/javase/7/docs/platform/serialization/spec/version.html#6678
// Update the serialVersionUID when there is an incompatible change made to
// this class. See the Java documentation (following link or its counter-
// part in your specific Java release) for when a change is incompatible.
// https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/version.html#type-changes-affecting-serialization
private static final long serialVersionUID = 1L;

/**
Expand Down

0 comments on commit 61996dc

Please sign in to comment.