Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FindBugs fix; Windows build fix. #271

Merged
merged 6 commits into from
Jan 7, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix whitespace per PR review comments.
  • Loading branch information
cameronxm committed Oct 20, 2016
commit c766e57dc518a033755a817dd606d8015c98ae6a
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@
public class ApplicationContextHolder implements ApplicationContextAware {

private static ApplicationContext applicationContext;

private static class ApplicationContextReferenceUpdater {
void updateApplicationContextReference(final ApplicationContext applicationContext) {
ApplicationContextHolder.applicationContext = applicationContext;
}
void updateApplicationContextReference(final ApplicationContext applicationContext) {
ApplicationContextHolder.applicationContext = applicationContext;
}
}

private static class ApplicationContextReferenceUpdaterHolder {
static ApplicationContextReferenceUpdater INSTANCE = new ApplicationContextReferenceUpdater();
static ApplicationContextReferenceUpdater INSTANCE = new ApplicationContextReferenceUpdater();
}

private ApplicationContextHolder() {
super();
}

@Override
public void setApplicationContext(final ApplicationContext applicationContext) throws BeansException {
public void setApplicationContext(final ApplicationContext applicationContext) throws BeansException {
ApplicationContextReferenceUpdaterHolder.INSTANCE.updateApplicationContextReference(applicationContext);
}

Expand Down