1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-25 04:17:59 +01:00

Comment typo fix

This commit is contained in:
Heiko Schaefer 2023-07-06 15:13:31 +02:00 committed by Paul Schaub
parent e08ad71117
commit 3a4c35dc2a
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -24,7 +24,7 @@ class Paths(private val _paths: MutableList<Item>) {
/** /**
* Add a [Path] to the list. * 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) { fun add(path: Path, amount: Int) {
require(amount <= path.amount) { require(amount <= path.amount) {