Skip to content

Commit fd56e21

Browse files
committed
AbstractWrapperService: fix bug with plugin count
Like the AbstractSingletonService, the AbstractWrapperService reports the number of plugins it discovered, but it was dumping the complete list as a string, rather than merely the *count* of plugins.
1 parent f407ce4 commit fd56e21

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/main/java/org/scijava/plugin/AbstractWrapperService.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ public <D extends DT> WrapperPlugin<D> create(final D data) {
7070

7171
@Override
7272
public void initialize() {
73-
log.info("Found " + getPlugins() + " " + getPluginType().getSimpleName() +
74-
" plugins.");
73+
log.info("Found " + getPlugins().size() + " " +
74+
getPluginType().getSimpleName() + " plugins.");
7575
}
7676

7777
// -- Typed methods --

0 commit comments

Comments
 (0)