Skip to content

Commit

Permalink
🔨 BeansContainer & WaterContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
velizartodorov committed Oct 19, 2024
1 parent 77556d5 commit 50608cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/kotlin/containers/BeansContainer.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@file:Suppress("unused")

import order.Amount

@Suppress("unused")
class BeansContainer : Container {
override val name = "beans"
override var amount = 500.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/containers/WaterContainer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ class WaterContainer : Container {

override fun extractAmount(amount: Amount?) {
reduceAmount(amount)
println("Water extracted. Sugar amount remaining: ${this.amount} ml")
println("Water extracted. Water amount remaining: ${this.amount} ml")
}
}

0 comments on commit 50608cb

Please sign in to comment.