From ba9ab9ea0d075e5021833aef7416453d0b678836 Mon Sep 17 00:00:00 2001 From: rmpestano Date: Sun, 23 Oct 2016 12:37:18 -0200 Subject: [PATCH] perf --- .../main/java/com/github/cukedoctor/config/GlobalConfig.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cukedoctor-converter/src/main/java/com/github/cukedoctor/config/GlobalConfig.java b/cukedoctor-converter/src/main/java/com/github/cukedoctor/config/GlobalConfig.java index af8bd350..3b21f610 100644 --- a/cukedoctor-converter/src/main/java/com/github/cukedoctor/config/GlobalConfig.java +++ b/cukedoctor-converter/src/main/java/com/github/cukedoctor/config/GlobalConfig.java @@ -38,6 +38,11 @@ public static GlobalConfig getInstance() { return instance; } + public static GlobalConfig newInstance() { + + return createInstance(); + } + private static GlobalConfig createInstance() { GlobalConfig globalConfig = null;