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:
Andreas Dangel
2024-01-12 10:30:49 +01:00
committed by GitHub
parent ed0cff6da9
commit 8bd78b4b8f

View File

@ -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);
}
}