diff options
| author | Ben Culkin <scorpress@gmail.com> | 2020-04-13 18:53:20 -0400 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2020-04-13 18:53:20 -0400 |
| commit | 9b2218844983aff4be972a1cf646b5c775acf753 (patch) | |
| tree | e01f393d3d59a7d86580fe5effb8770a2427b16e /base/src/main/java/bjc/utils/graph/AdjacencyMap.java | |
| parent | a2b0364035a52625fc043dc62618112599013744 (diff) | |
Cleanup some latent bugs
Cleanup some latent bugs
Diffstat (limited to 'base/src/main/java/bjc/utils/graph/AdjacencyMap.java')
| -rw-r--r-- | base/src/main/java/bjc/utils/graph/AdjacencyMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/src/main/java/bjc/utils/graph/AdjacencyMap.java b/base/src/main/java/bjc/utils/graph/AdjacencyMap.java index d818ca1..e046fb5 100644 --- a/base/src/main/java/bjc/utils/graph/AdjacencyMap.java +++ b/base/src/main/java/bjc/utils/graph/AdjacencyMap.java @@ -100,7 +100,7 @@ public class AdjacencyMap<T> { try { weight = Integer.parseInt(part); } catch (final NumberFormatException nfex) { - String msg = String.format("%d is not a valid weight.", part); + String msg = String.format("%s is not a valid weight.", part); final InputMismatchException imex = new InputMismatchException(msg); imex.initCause(nfex); |
