Closed LangVE closed 7 years ago
/* 현재 */ JSONArray validStageJSONArray = profileJSONObject.getJSONArray("validStage"); if (!validStageJSONArray.contains(activeProfile)) { throw new InvalidActiveProfileException(); } String activeProfile = System.getProperty("app.env.profile.active");
/* 리펙토링 후 */ if (validActiveProfile()) { throw new InvalidActiveProfileException(); } String activeProfile = getActiveProfile();
2017.03.22 (수)
완료 목표
완료 기한
2017.03.22 (수)