From a60676119df7ed0a7269bcd887386883351ec5c6 Mon Sep 17 00:00:00 2001 From: Yohan Simard Date: Fri, 20 Mar 2020 14:11:18 +0100 Subject: [PATCH] Fix javadoc problem --- .../insa/graphs/algorithm/utils/BinaryHeapFormatter.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/utils/BinaryHeapFormatter.java b/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/utils/BinaryHeapFormatter.java index 4cfbaec..fc867d4 100644 --- a/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/utils/BinaryHeapFormatter.java +++ b/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/utils/BinaryHeapFormatter.java @@ -68,7 +68,7 @@ public class BinaryHeapFormatter { /** * Creates a new context by appending a branch to this context. * - * @param n Number of spaces to add to the margin, or {@code null} to use + * @param count Number of spaces to add to the margin, or {@code null} to use * the length of the string. * @param label Name of the branch. * @@ -156,13 +156,12 @@ public class BinaryHeapFormatter { * heap. * * @param heap The binary heap to display. -// * @param maxElement Maximum number of elements to display. or {@code -1} to -// * display all the elements. + * @param max_elements Maximum number of elements to display. or {@code -1} to + * display all the elements. * * @return a string containing a sorted view the given binary heap. */ - public static > String toStringSorted(BinaryHeap heap, - int max_elements) { + public static > String toStringSorted(BinaryHeap heap, int max_elements) { String result = ""; final BinaryHeap copy = new BinaryHeap(heap);