Skip to content

Commit

Permalink
Merge pull request sakaiproject#61 from buckett/KNL-1298
Browse files Browse the repository at this point in the history
KNL-1298 Allow subclasses of ResourceLoader for easier testing.
  • Loading branch information
ern committed Jan 21, 2015
2 parents f3ee053 + e84f931 commit 7f73f40
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public String getUserId() {
private final static Object LOCK = new Object();

private static SessionManager sessionManager;
protected static SessionManager getSessionManager() {
protected SessionManager getSessionManager() {
if (sessionManager == null) {
synchronized (LOCK) {
sessionManager = (SessionManager) ComponentManager.get(SessionManager.class);
Expand All @@ -90,7 +90,7 @@ protected static SessionManager getSessionManager() {
}

private static PreferencesService preferencesService;
protected static PreferencesService getPreferencesService() {
protected PreferencesService getPreferencesService() {
if (preferencesService == null) {
synchronized (LOCK) {
preferencesService = (PreferencesService) ComponentManager.get(PreferencesService.class);
Expand Down

0 comments on commit 7f73f40

Please sign in to comment.