Skip to content

Commit

Permalink
Fixed loading of the right class when reporting possible alternative …
Browse files Browse the repository at this point in the history
…constructors

Change-Id: I91c1682c8a46dcd520616d381ca365ad2c74dbf4
Signed-off-by: John May <john.wilkinsonmay@gmail.com>
  • Loading branch information
egonw committed Nov 7, 2012
1 parent 5a7baa4 commit 420533e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -199,7 +199,7 @@ private String getNoConstructorFoundMessage(Class clazz) {
// try loading the implementation
try {
Class impl = this.getClass().getClassLoader().loadClass(
"org.openscience.cdk." + className
"org.openscience.cdk.silent." + className
);
buffer.append(" Candidates are: ");
Constructor[] constructors = impl.getConstructors();
Expand Down

0 comments on commit 420533e

Please sign in to comment.