Skip to content

Commit

Permalink
DROOLS-357: Multiple static initialization makes debugging Maven issu…
Browse files Browse the repository at this point in the history
…es impossible. Make getInstance() public
  • Loading branch information
manstis committed Dec 6, 2013
1 parent 40377da commit 9992dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kie-ci/src/main/java/org/kie/scanner/Aether.java
Expand Up @@ -48,7 +48,7 @@ private Aether(String localRepoDir) {
this(mavenProject, getAether().localRepoDir);
}

static synchronized Aether getAether() {
public static synchronized Aether getAether() {
if (instance == null) {
Settings settings = MavenSettings.getSettings();
instance = new Aether(settings.getLocalRepository());
Expand Down

0 comments on commit 9992dd4

Please sign in to comment.