Skip to content

Commit

Permalink
Fix Javadoc warnings (#1206)
Browse files Browse the repository at this point in the history
  • Loading branch information
syoon2 committed Mar 21, 2024
1 parent 16ef600 commit 71b461f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public AsWeightedGraph(Graph<V, E> graph, Map<E, Double> weights, boolean writeW
* weight function
* @param writeWeightsThrough if set to {@code true}, the weight set directly by
* the {@link #setEdgeWeight(Object, double)} method will be propagated to the backing graph.
* @throws NullPointerException if the graph or the weight function is {@link null}
* @throws NullPointerException if the graph or the weight function is {@code null}
* @throws IllegalArgumentException if {@code writeWeightsThrough} is set to true and
* {@code graph} is not a weighted graph
*/
Expand Down Expand Up @@ -149,7 +149,7 @@ public AsWeightedGraph(
*
* @param e edge of interest
* @return the edge weight
* @throws NullPointerException if the edge is {@link null}
* @throws NullPointerException if the edge is {@code null}
*/
@Override
public double getEdgeWeight(E e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public boolean hasMoreElements()
* <p>Efficiency: if {@link #nextElement()}, {@link #hasMoreElements()} were never used,
* it activates the {@link #hasMoreElements()} once. Else it is immediately $(O(1))$
*
* @return {@link true} if the enumeration started as an empty one, {@link false} otherwise.
* @return {@code true} if the enumeration started as an empty one, {@code false} otherwise.
*/
public boolean isEnumerationStartedEmpty()
{
Expand Down

0 comments on commit 71b461f

Please sign in to comment.