Skip to content

Commit

Permalink
updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
martinspielmann committed Dec 30, 2016
1 parent da6a261 commit a6ae27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/gitblit/manager/UserManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public UserManager start() {
service = createUserService(realmFile);
} catch (InstantiationException | IllegalAccessException e1) {
logger.error("failed to instantiate user service {}: {}. Trying once again with IRuntimeManager constructor", realm, e1.getMessage());
//try once again with file constructor. this adds support for subclasses of ConfigUserService
//try once again with IRuntimeManager constructor. This adds support for subclasses of ConfigUserService and other custom IUserServices
try {
Constructor<?> constructor = Class.forName(realm).getConstructor(IRuntimeManager.class);
service = (IUserService) constructor.newInstance(runtimeManager);
Expand Down

0 comments on commit a6ae27a

Please sign in to comment.