Refactoring DefaultProfilerConfig.java