From 5f38eb297f4f765cc04a2c10899e092467eaef22 Mon Sep 17 00:00:00 2001 From: Andrei Arlou Date: Mon, 27 Sep 2021 17:04:18 +0300 Subject: [PATCH] Fix external links - second iteration (#30697) (#30707) --- .../src/test/scala/akka/io/TcpConnectionSpec.scala | 6 +++--- .../src/main/scala/akka/actor/typed/javadsl/Routers.scala | 4 ++-- .../src/main/scala/akka/actor/typed/scaladsl/Routers.scala | 2 +- akka-actor/src/main/scala/akka/actor/ActorPath.scala | 4 ++-- akka-cluster-metrics/src/main/resources/reference.conf | 2 +- .../src/main/scala/akka/cluster/metrics/EWMA.scala | 4 ++-- .../akka/cluster/sharding/typed/internal/Murmur2.scala | 2 +- .../src/main/scala/akka/cluster/ddata/ReplicatedData.scala | 2 +- akka-docs/src/main/paradox/routing.md | 2 +- .../src/test/java/akka/remote/artery/RateReporter.java | 2 +- .../src/test/java/akka/remote/artery/aeron/AeronStat.java | 2 +- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/akka-actor-tests/src/test/scala/akka/io/TcpConnectionSpec.scala b/akka-actor-tests/src/test/scala/akka/io/TcpConnectionSpec.scala index 1f3c308b3c..c15c3fcc96 100644 --- a/akka-actor-tests/src/test/scala/akka/io/TcpConnectionSpec.scala +++ b/akka-actor-tests/src/test/scala/akka/io/TcpConnectionSpec.scala @@ -288,7 +288,7 @@ class TcpConnectionSpec extends AkkaSpec(""" } /* - * Disabled on Windows: http://support.microsoft.com/kb/214397 + * Disabled on Windows: https://support.microsoft.com/kb/214397 * * "To optimize performance at the application layer, Winsock copies data buffers from application send calls * to a Winsock kernel buffer. Then, the stack uses its own heuristics (such as Nagle algorithm) to determine @@ -462,7 +462,7 @@ class TcpConnectionSpec extends AkkaSpec(""" } /* - * Partly disabled on Windows: http://support.microsoft.com/kb/214397 + * Partly disabled on Windows: https://support.microsoft.com/kb/214397 * * "To optimize performance at the application layer, Winsock copies data buffers from application send calls * to a Winsock kernel buffer. Then, the stack uses its own heuristics (such as Nagle algorithm) to determine @@ -1118,7 +1118,7 @@ class TcpConnectionSpec extends AkkaSpec(""" try channel.socket.setSoLinger(true, 0) // causes the following close() to send TCP RST catch { case NonFatal(e) => - // setSoLinger can fail due to http://bugs.sun.com/view_bug.do?bug_id=6799574 + // setSoLinger can fail due to https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6799574 // (also affected: OS/X Java 1.6.0_37) log.debug("setSoLinger(true, 0) failed with {}", e) } diff --git a/akka-actor-typed/src/main/scala/akka/actor/typed/javadsl/Routers.scala b/akka-actor-typed/src/main/scala/akka/actor/typed/javadsl/Routers.scala index b99e4855fa..bd0f563edd 100644 --- a/akka-actor-typed/src/main/scala/akka/actor/typed/javadsl/Routers.scala +++ b/akka-actor-typed/src/main/scala/akka/actor/typed/javadsl/Routers.scala @@ -97,7 +97,7 @@ abstract class GroupRouter[T] extends DeferredBehavior[T] { * * @param virtualNodesFactor This factor has to be greater or equal to 1. Assuming that the reader * knows what consistent hashing is - * (if not, please refer: http://www.tom-e-white.com/2007/11/consistent-hashing.html or wiki). + * (if not, please refer: https://www.tom-e-white.com/2007/11/consistent-hashing.html or wiki). * This number is responsible for creating additional, * virtual addresses for a provided set of routees, * so that in the total number of points on hashing ring @@ -155,7 +155,7 @@ abstract class PoolRouter[T] extends DeferredBehavior[T] { * * @param virtualNodesFactor This factor has to be greater or equal to 1. Assuming that the reader * knows what consistent hashing is - * (if not, please refer: http://www.tom-e-white.com/2007/11/consistent-hashing.html or wiki). + * (if not, please refer: https://www.tom-e-white.com/2007/11/consistent-hashing.html or wiki). * This number is responsible for creating additional, * virtual addresses for a provided set of routees, * so that in the total number of points on hashing ring diff --git a/akka-actor-typed/src/main/scala/akka/actor/typed/scaladsl/Routers.scala b/akka-actor-typed/src/main/scala/akka/actor/typed/scaladsl/Routers.scala index 13925ae305..c488d6a8ef 100644 --- a/akka-actor-typed/src/main/scala/akka/actor/typed/scaladsl/Routers.scala +++ b/akka-actor-typed/src/main/scala/akka/actor/typed/scaladsl/Routers.scala @@ -89,7 +89,7 @@ trait GroupRouter[T] extends Behavior[T] { * * @param virtualNodesFactor This factor has to be greater or equal to 1. Assuming that the reader * knows what consistent hashing is - * (if not, please refer: http://www.tom-e-white.com/2007/11/consistent-hashing.html or wiki). + * (if not, please refer: https://www.tom-e-white.com/2007/11/consistent-hashing.html or wiki). * This number is responsible for creating additional, * virtual addresses for a provided set of routees, * so that in the total number of points on hashing ring diff --git a/akka-actor/src/main/scala/akka/actor/ActorPath.scala b/akka-actor/src/main/scala/akka/actor/ActorPath.scala index 2256b3900f..388c753570 100644 --- a/akka-actor/src/main/scala/akka/actor/ActorPath.scala +++ b/akka-actor/src/main/scala/akka/actor/ActorPath.scala @@ -46,7 +46,7 @@ object ActorPaths { /** * This method is used to validate a path element (Actor Name). * Since Actors form a tree, it is addressable using an URL, therefore an Actor Name has to conform to: - * RFC-2396. + * RFC-2396. * * User defined Actor names may not start from a `$` sign - these are reserved for system names. */ @@ -106,7 +106,7 @@ object ActorPath { /** * This method is used to validate a path element (Actor Name). * Since Actors form a tree, it is addressable using an URL, therefore an Actor Name has to conform to: - * RFC-2396. + * RFC-2396. * * User defined Actor names may not start from a `$` sign - these are reserved for system names. */ diff --git a/akka-cluster-metrics/src/main/resources/reference.conf b/akka-cluster-metrics/src/main/resources/reference.conf index 9319a0ffdd..a3f83682bc 100644 --- a/akka-cluster-metrics/src/main/resources/reference.conf +++ b/akka-cluster-metrics/src/main/resources/reference.conf @@ -79,7 +79,7 @@ akka.cluster.metrics { # duration, i.e. after 4 times the half-life, a data sample’s relevance is # reduced to 6% of its original relevance. The initial relevance of a data # sample is given by 1 – 0.5 ^ (collect-interval / half-life). - # See http://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average + # See https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average moving-average-half-life = 12s } } diff --git a/akka-cluster-metrics/src/main/scala/akka/cluster/metrics/EWMA.scala b/akka-cluster-metrics/src/main/scala/akka/cluster/metrics/EWMA.scala index bb266a9486..3374d648de 100644 --- a/akka-cluster-metrics/src/main/scala/akka/cluster/metrics/EWMA.scala +++ b/akka-cluster-metrics/src/main/scala/akka/cluster/metrics/EWMA.scala @@ -12,13 +12,13 @@ import scala.concurrent.duration.FiniteDuration * of its alpha, or decay factor, this provides a statistical streaming data model * that is exponentially biased towards newer entries. * - * http://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average + * https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average * * An EWMA only needs the most recent forecast value to be kept, as opposed to a standard * moving average model. * * @param alpha decay factor, sets how quickly the exponential weighting decays for past data compared to new data, - * see http://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average + * see https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average * * @param value the current exponentially weighted moving average, e.g. Y(n - 1), or, * the sampled value resulting from the previous smoothing iteration. diff --git a/akka-cluster-sharding-typed/src/main/scala/akka/cluster/sharding/typed/internal/Murmur2.scala b/akka-cluster-sharding-typed/src/main/scala/akka/cluster/sharding/typed/internal/Murmur2.scala index 3fa79c97cb..496e12cc18 100644 --- a/akka-cluster-sharding-typed/src/main/scala/akka/cluster/sharding/typed/internal/Murmur2.scala +++ b/akka-cluster-sharding-typed/src/main/scala/akka/cluster/sharding/typed/internal/Murmur2.scala @@ -9,7 +9,7 @@ * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/akka-distributed-data/src/main/scala/akka/cluster/ddata/ReplicatedData.scala b/akka-distributed-data/src/main/scala/akka/cluster/ddata/ReplicatedData.scala index 6cd117f117..288910c782 100644 --- a/akka-distributed-data/src/main/scala/akka/cluster/ddata/ReplicatedData.scala +++ b/akka-distributed-data/src/main/scala/akka/cluster/ddata/ReplicatedData.scala @@ -54,7 +54,7 @@ trait ReplicatedData { * receiving side, resulting in set {'a', 'b', 'c', 'd'}. * * Learn more about this in the paper - * Delta State Replicated Data Types. + * Delta State Replicated Data Types. */ trait DeltaReplicatedData extends ReplicatedData { diff --git a/akka-docs/src/main/paradox/routing.md b/akka-docs/src/main/paradox/routing.md index 723d408a38..30f305714c 100644 --- a/akka-docs/src/main/paradox/routing.md +++ b/akka-docs/src/main/paradox/routing.md @@ -603,7 +603,7 @@ Java The ConsistentHashingPool uses [consistent hashing](https://en.wikipedia.org/wiki/Consistent_hashing) to select a routee based on the sent message. This -[article](http://www.tom-e-white.com/2007/11/consistent-hashing.html) gives good +[article](https://www.tom-e-white.com/2007/11/consistent-hashing.html) gives good insight into how consistent hashing is implemented. There is 3 ways to define what data to use for the consistent hash key. diff --git a/akka-remote/src/test/java/akka/remote/artery/RateReporter.java b/akka-remote/src/test/java/akka/remote/artery/RateReporter.java index aa0fdf0cf5..b866118961 100644 --- a/akka-remote/src/test/java/akka/remote/artery/RateReporter.java +++ b/akka-remote/src/test/java/akka/remote/artery/RateReporter.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/akka-remote/src/test/java/akka/remote/artery/aeron/AeronStat.java b/akka-remote/src/test/java/akka/remote/artery/aeron/AeronStat.java index 417e50da03..44012c9860 100644 --- a/akka-remote/src/test/java/akka/remote/artery/aeron/AeronStat.java +++ b/akka-remote/src/test/java/akka/remote/artery/aeron/AeronStat.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,