]> Git Server - tankstelle.git/commitdiff
Javadoc corrections
authorRobin Cheney <cheneyr@eternal.ddnss.de>
Sun, 16 Nov 2025 09:28:43 +0000 (10:28 +0100)
committerRobin Cheney <cheneyr@eternal.ddnss.de>
Sun, 16 Nov 2025 09:28:43 +0000 (10:28 +0100)
src/main/java/de/diejungsvondertanke/tankstelle/FuelStation.java

index 338203af3891f270655499da414c87584d67f91c..8b7658ffa9cc499598562f082c1d97ba21462c87 100644 (file)
@@ -111,6 +111,7 @@ abstract class FuelStation {
      * Get the price for a specific type of fuel for this fuel station
      * 
      * @param fuel_type The {@link FuelType FuelType} to get
+     * @return The price for a specific type of fuel for this fuel station
      * @throws NoSuchFuelTypeError This Error is thrown on the attempt to choose a
      *                             fuel type from a fuel station
      *                             which the fuel station does not have
@@ -128,7 +129,7 @@ abstract class FuelStation {
      * Get the cumulative price for the amount of fuel stored
      * 
      * => What you would get if you would sell all fuel of this station at the
-     * current prices
+     * current price(s)
      * 
      * @return the income in €
      */
@@ -188,6 +189,7 @@ abstract class FuelStation {
      * Get the fuel amount for a specific type of fuel for this fuel station
      * 
      * @param fuel_type The {@link FuelType FuelType} to get
+     * @return The fuel amount for a specific type of fuel for this fuel station
      * @throws NoSuchFuelTypeError This Error is thrown on the attempt to choose a
      *                             fuel type from a fuel station
      *                             which the fuel station does not have