Skip to content

Commit

Permalink
PluginInfo.getIdentifier: do not load the class
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Dec 30, 2019
1 parent 100351f commit fee2644
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main/java/org/scijava/plugin/PluginInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -321,12 +321,7 @@ public PT createInstance() throws InstantiableException {

@Override
public String getIdentifier() {
try {
return "plugin:" + loadClass();
}
catch (final InstantiableException exc) {
return null;
}
return "plugin:" + getClassName();
}

// -- Locatable methods --
Expand Down

0 comments on commit fee2644

Please sign in to comment.