Skip to content

Commit

Permalink
Merge pull request #3018 from swagger-api/ticket-3016
Browse files Browse the repository at this point in the history
refs #3016 - synchronized OpenApiContextLocator
  • Loading branch information
frantuma authored Nov 13, 2018
2 parents d25510b + 8a70e74 commit 51bfc35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class OpenApiContextLocator {
private OpenApiContextLocator() {
}

public static OpenApiContextLocator getInstance() {
public static synchronized OpenApiContextLocator getInstance() {
if (instance == null) {
instance = new OpenApiContextLocator();
}
Expand Down

0 comments on commit 51bfc35

Please sign in to comment.