From 29b865b5b23200b5d7d2f67267827c0b94a2ee85 Mon Sep 17 00:00:00 2001
From: Daniel Schramm <xschramm@fi.muni.cz>
Date: Tue, 12 Oct 2021 12:06:41 +0200
Subject: [PATCH] Javadoc corrected

---
 .../visitors/face/WeightedAverageCollector.java        | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Comparison/src/main/java/cz/fidentis/analyst/visitors/face/WeightedAverageCollector.java b/Comparison/src/main/java/cz/fidentis/analyst/visitors/face/WeightedAverageCollector.java
index 2ef46945..830d0861 100644
--- a/Comparison/src/main/java/cz/fidentis/analyst/visitors/face/WeightedAverageCollector.java
+++ b/Comparison/src/main/java/cz/fidentis/analyst/visitors/face/WeightedAverageCollector.java
@@ -9,11 +9,11 @@ import java.util.function.ToDoubleFunction;
 import java.util.stream.Collector;
 
 /**
- * A collector for computing weighted average suitable for use in Java 8 streams.
+ * A collector for calculation of the weighted average, suitable for use in Java 8 streams.
  *
  * <p>
  * A mutable reduction operation that accumulates input elements into a mutable
- * result container, optionally transforming the accumulated result into a final
+ * result container, transforming the accumulated result into a final
  * representation after all input elements have been processed.
  * </p>
  * 
@@ -76,7 +76,7 @@ public class WeightedAverageCollector<T> implements Collector<T, IntemediateResu
     }
     
     /**
-     * A function that accepts two partial results and merges them.  The
+     * A function that accepts two partial results and merges them. The
      * combiner function may fold state from one argument into the other and
      * return that, or may return a new result container.
      *
@@ -95,12 +95,12 @@ public class WeightedAverageCollector<T> implements Collector<T, IntemediateResu
     
     /**
      * Perform the final transformation from the intermediate accumulation type
-     * {@code A} to the final result type {@code R}.
+     * {@link IntemediateResults} to the final result type {@link Double}.
      *
      * <p>
      * If the characteristic {@code IDENTITY_FINISH} is
      * set, this function may be presumed to be an identity transform with an
-     * unchecked cast from {@code A} to {@code R}.
+     * unchecked cast from {@link IntemediateResults} to {@link Double}.
      * </p>
      *
      * @return A function which transforms the intermediate result to the final
-- 
GitLab