Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/internal/PrettyPrintingUtil.java
Co-authored-by: Clément Fournier <clement.fournier@tu-dresden.de>
This commit is contained in:
@ -182,7 +182,7 @@ public final class PrettyPrintingUtil {
|
||||
} else if (node instanceof ASTVariableId) {
|
||||
return ((ASTVariableId) node).getName();
|
||||
} else {
|
||||
throw new IllegalArgumentException("Node " + node + " has no defined name");
|
||||
throw new IllegalArgumentException("Node has no defined name: " + node);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user