소스 정리

main
이범준 8 months ago
parent 3194969f4f
commit ef53bce06b

@ -372,7 +372,7 @@ abstract public class LayoutParser {
public String[] smartSplit(String string, JSONArray jsonArray) { public String[] smartSplit(String string, JSONArray jsonArray) {
Hangul hangul = new Hangul(2); Hangul hangul = new Hangul(2);
List<Integer> byteNums = new ArrayList(); List<Integer> byteNums = new ArrayList<Integer>();
for(int i=0; i<jsonArray.size(); i++) { for(int i=0; i<jsonArray.size(); i++) {
JSONObject jsonObject = (JSONObject)jsonArray.get(i); JSONObject jsonObject = (JSONObject)jsonArray.get(i);
String key = jsonObject.keySet().iterator().next(); String key = jsonObject.keySet().iterator().next();

@ -413,6 +413,8 @@ public class CrdnBean extends AbstractComponent {
//빈 디렉토리 삭제 //빈 디렉토리 삭제
CmmnUtil.deleteEmptyDir(new File(workPath), false); CmmnUtil.deleteEmptyDir(new File(workPath), false);
walk.close();
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }

Loading…
Cancel
Save