From 3a4c35dc2acb9cf37358d8edd8162a3b18744ab0 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Thu, 6 Jul 2023 15:13:31 +0200 Subject: [PATCH] Comment typo fix --- .../src/main/kotlin/org/pgpainless/wot/dijkstra/sq/Paths.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wot-dijkstra/src/main/kotlin/org/pgpainless/wot/dijkstra/sq/Paths.kt b/wot-dijkstra/src/main/kotlin/org/pgpainless/wot/dijkstra/sq/Paths.kt index 1e806634..175bbdad 100644 --- a/wot-dijkstra/src/main/kotlin/org/pgpainless/wot/dijkstra/sq/Paths.kt +++ b/wot-dijkstra/src/main/kotlin/org/pgpainless/wot/dijkstra/sq/Paths.kt @@ -24,7 +24,7 @@ class Paths(private val _paths: MutableList) { /** * Add a [Path] to the list. * - * @throws IllegalArgumentException if the given amount is smaller of equal to the paths trust amount. + * @throws IllegalArgumentException if the given amount is smaller or equal to the paths trust amount. */ fun add(path: Path, amount: Int) { require(amount <= path.amount) {