refactor: Simplified `StorageStrategy`
authorKai Moritz <kai@juplo.de>
Tue, 20 Feb 2024 06:47:22 +0000 (07:47 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 20 Feb 2024 14:28:35 +0000 (15:28 +0100)
commit0e2b77f45fce3d760b39303c23dda744b9e8c615
tree5f2ff5f3cd84306289d8471ea478119935445354
parent1ce142cb9566a9ab5eacb3d1da7f414722e994e9
refactor: Simplified `StorageStrategy`

* Reconfigurable success/error-logging was introduced for
  `NoStorageStorageStrategy`.
* But as it turns out, this strategy can simply apply its logging in the
  overwritten method, that disables the whole storing-logic.
* Hence, the interface was greatly simplified again, by removing this
  ununsed mechanism.
src/main/java/de/juplo/kafka/chat/backend/implementation/StorageStrategy.java