Skip to content

Commit

Permalink
Merge pull request #1021 from SimonGreenhill/master
Browse files Browse the repository at this point in the history
fix minor typo
  • Loading branch information
tgvaughan authored Apr 4, 2022
2 parents 60923be + 2daa0de commit 4da8b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/beast/util/XMLParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ private BEASTInterface createBeastObject(Node node, String ID, String clazzName,
} catch (InstantiationException e) {
// we only get here when the class exists, but cannot be
// created for instance because it is abstract
String msg = "Class " + clazzName + " exists but cannot to be instantiated.\n" +
String msg = "Class " + clazzName + " exists but cannot be instantiated.\n" +
"Please check if the class has the zero-argument constructor.";
throw new XMLParserException(node, msg, 1006);
} catch (ClassNotFoundException e) {
Expand Down

0 comments on commit 4da8b9b

Please sign in to comment.