diff options
author | zaaarf <zaaarf@proton.me> | 2023-03-15 20:32:12 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-03-15 20:32:22 +0100 |
commit | 1a4716dafedd7008b8b66e587cb8f35570be0363 (patch) | |
tree | 8bca740cb06098d567e5f17d9e584435861e02b7 /src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java | |
parent | a425ce62f9c9db49dde81c3bc437451c69f0a363 (diff) |
chore: use String format
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java')
-rw-r--r-- | src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java b/src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java index 5be3d77..1b63ea5 100644 --- a/src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java +++ b/src/main/java/ftbsc/lll/exceptions/TargetNotFoundException.java @@ -10,6 +10,6 @@ public class TargetNotFoundException extends RuntimeException { * @param stub the stub's name (and descriptor possibly) */ public TargetNotFoundException(String stub) { - super("Could not find member corresponding to stub: " + stub); + super(String.format("Could not find member corresponding to stub: %s.")); } } |