mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-22 11:04:49 +01:00
chore: use String format
This commit is contained in:
parent
a425ce62f9
commit
1a4716dafe
3 changed files with 3 additions and 3 deletions
|
@ -17,6 +17,6 @@ public class InvalidResourceException extends RuntimeException {
|
|||
* @param name the resource name
|
||||
*/
|
||||
public InvalidResourceException(String name) {
|
||||
super("Specified resource " + name + " was not found!");
|
||||
super(String.format("Specified resource %s was not found!", name));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ public class MappingNotFoundException extends RuntimeException {
|
|||
* @param mapping the relevant mapping
|
||||
*/
|
||||
public MappingNotFoundException(String mapping) {
|
||||
super("Could not find mapping for " + mapping + "!");
|
||||
super(String.format("Could not find mapping for %s!", mapping));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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."));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue