Index: .idea/sonarIssues.xml =================================================================== diff -u -rfa16e9269f07726fe553fcb17f64d22d6dd53d6e -r8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b --- .idea/sonarIssues.xml (.../sonarIssues.xml) (revision fa16e9269f07726fe553fcb17f64d22d6dd53d6e) +++ .idea/sonarIssues.xml (.../sonarIssues.xml) (revision 8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b) @@ -1403,6 +1403,11 @@ + + + + + Index: standard/project/web/src/main/java/egovframework/com/cmm/EgovComCrossSiteHndlr.java =================================================================== diff -u -r39c56b36a5bfcf942ce661d9dfeeee98d451b04e -r8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b --- standard/project/web/src/main/java/egovframework/com/cmm/EgovComCrossSiteHndlr.java (.../EgovComCrossSiteHndlr.java) (revision 39c56b36a5bfcf942ce661d9dfeeee98d451b04e) +++ standard/project/web/src/main/java/egovframework/com/cmm/EgovComCrossSiteHndlr.java (.../EgovComCrossSiteHndlr.java) (revision 8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b) @@ -13,22 +13,11 @@ @SuppressWarnings("serial") public class EgovComCrossSiteHndlr extends BodyTagSupport { - /* - * (One almost wishes XML and JSP could support "anonymous tags," given the - * amount of trouble we had naming this one!) :-) - sb - */ - - // ********************************************************************* - // Internal state - protected Object value; // tag attribute protected String def; // tag attribute protected boolean escapeXml; // tag attribute private boolean needBody; // non-space body needed? - // ********************************************************************* - // Construction and initialization - private final String m_sDiffChar ="()[]{}\"',:;= \t\r\n%!+-"; //private String m_sDiffChar ="()[]{}\"',:;=%!+-"; private final String m_sArrDiffChar [] = { @@ -44,11 +33,6 @@ "+","-" }; - /** - * Constructs a new handler. As with TagSupport, subclasses should not - * provide other constructors and are expected to call the superclass - * constructor. - */ public EgovComCrossSiteHndlr() { super(); init(); @@ -135,15 +119,6 @@ // ********************************************************************* // Public utility methods - /** - * Outputs text to pageContext's current JspWriter. If - * escapeXml is true, performs the following substring replacements - * (to facilitate output to XML/HTML pages): - * - * & -> & < -> < > -> > " -> " ' -> ' - * - * See also Util.escapeXml(). - */ public static void out(PageContext pageContext, boolean escapeXml, Object obj) throws IOException { JspWriter w = pageContext.getOut(); @@ -184,12 +159,6 @@ } - /** - * - * Optimized to create no extra objects and write directly to the JspWriter - * using blocks of escaped and unescaped characters - * - */ private static void writeEscapedXml(char[] buffer, int length, JspWriter w) throws IOException { int start = 0; @@ -215,12 +184,6 @@ } } - /** - * - * Optimized to create no extra objects and write directly to the JspWriter - * using blocks of escaped and unescaped characters - * - */ @SuppressWarnings("unused") private String getWriteEscapedXml() throws IOException { String sRtn = ""; @@ -280,12 +243,6 @@ return sRtn; } - /** - * - * Optimized to create no extra objects and write directly to the JspWriter - * using blocks of escaped and unescaped characters - * - */ @SuppressWarnings("unused") private String getWriteEscapedXml(String sWriteString) throws IOException { @@ -361,30 +318,6 @@ this.escapeXml = escapeXml; } - /** 2011.10.10 cmd 라인상에서 편의제공을 위해 제공, 필요없을시 삭제하여도 무방함 - public static void main(String[] args) throws IOException - { - - EgovComCrossSiteHndlr egovComCrossSiteHndlr = new EgovComCrossSiteHndlr(); - - egovComCrossSiteHndlr.value = "TRNSMIT"; - - String sCrossSiteHndlr = egovComCrossSiteHndlr.getWriteEscapedXml(); - //System.out.println("writeEscapedXml " + egovComCrossSiteHndlr.getWriteEscapedXml()); - /* - System.out.println("sCrossSiteHndlr|"+ sCrossSiteHndlr + "|"); - - try{ - System.out.println("TRY TEST 1"); - throw new Exception(); - }catch(Exception e){ - System.out.println("TRY TEST 2"); - }finally{ - System.out.println("TRY TEST 3"); - - } - } - */ } Index: standard/project/web/src/main/java/egovframework/com/cmm/EgovComExcepHndlr.java =================================================================== diff -u -r39c56b36a5bfcf942ce661d9dfeeee98d451b04e -r8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b --- standard/project/web/src/main/java/egovframework/com/cmm/EgovComExcepHndlr.java (.../EgovComExcepHndlr.java) (revision 39c56b36a5bfcf942ce661d9dfeeee98d451b04e) +++ standard/project/web/src/main/java/egovframework/com/cmm/EgovComExcepHndlr.java (.../EgovComExcepHndlr.java) (revision 8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b) @@ -9,25 +9,7 @@ private static final Logger LOGGER = LoggerFactory.getLogger(EgovComExcepHndlr.class); - /* - @Resource(name = "otherSSLMailSender") - private SimpleSSLMail mailSender; - */ - /** - * 발생된 Exception을 처리한다. - */ public void occur(Exception ex, String packageName) { - //log.debug(" EgovServiceExceptionHandler run..............."); - - /* - try { - mailSender. send(ex, packageName); - log.debug(" sending a alert mail is completed "); - } catch (Exception e) { - LOGGER.error(packageName, ex); - } - */ - LOGGER.error(packageName, ex); } } Index: standard/project/web/src/main/java/egovframework/com/cmm/EgovComOthersExcepHndlr.java =================================================================== diff -u -r361f605a7d9e994eaf3ed6b36a04ed610e3bf0f7 -r8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b --- standard/project/web/src/main/java/egovframework/com/cmm/EgovComOthersExcepHndlr.java (.../EgovComOthersExcepHndlr.java) (revision 361f605a7d9e994eaf3ed6b36a04ed610e3bf0f7) +++ standard/project/web/src/main/java/egovframework/com/cmm/EgovComOthersExcepHndlr.java (.../EgovComOthersExcepHndlr.java) (revision 8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b) @@ -10,7 +10,6 @@ private static final Logger LOGGER = LoggerFactory.getLogger(EgovComOthersExcepHndlr.class); public void occur(Exception exception, String packageName) { - //log.debug(" EgovServiceExceptionHandler run..............."); LOGGER.error(packageName, exception); } } Index: standard/project/web/src/main/java/egovframework/com/cmm/EgovComponentChecker.java =================================================================== diff -u -r39c56b36a5bfcf942ce661d9dfeeee98d451b04e -r8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b --- standard/project/web/src/main/java/egovframework/com/cmm/EgovComponentChecker.java (.../EgovComponentChecker.java) (revision 39c56b36a5bfcf942ce661d9dfeeee98d451b04e) +++ standard/project/web/src/main/java/egovframework/com/cmm/EgovComponentChecker.java (.../EgovComponentChecker.java) (revision 8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b) @@ -22,10 +22,6 @@ } - /** - * Spring MVC에서 설정한 빈이 아닌 서비스 빈(컴포넌트)만을 검색할 수 있음 - * - */ public static boolean hasComponent(String componentName){ try{ Index: standard/project/web/src/main/java/egovframework/com/cmm/EgovMessageSource.java =================================================================== diff -u -r39c56b36a5bfcf942ce661d9dfeeee98d451b04e -r8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b --- standard/project/web/src/main/java/egovframework/com/cmm/EgovMessageSource.java (.../EgovMessageSource.java) (revision 39c56b36a5bfcf942ce661d9dfeeee98d451b04e) +++ standard/project/web/src/main/java/egovframework/com/cmm/EgovMessageSource.java (.../EgovMessageSource.java) (revision 8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b) @@ -10,19 +10,10 @@ private ReloadableResourceBundleMessageSource reloadableResourceBundleMessageSource; - /** - * getReloadableResourceBundleMessageSource() - * @param reloadableResourceBundleMessageSource - resource MessageSource - * @return ReloadableResourceBundleMessageSource - */ public void setReloadableResourceBundleMessageSource(ReloadableResourceBundleMessageSource reloadableResourceBundleMessageSource) { this.reloadableResourceBundleMessageSource = reloadableResourceBundleMessageSource; } - /** - * getReloadableResourceBundleMessageSource() - * @return ReloadableResourceBundleMessageSource - */ public ReloadableResourceBundleMessageSource getReloadableResourceBundleMessageSource() { return reloadableResourceBundleMessageSource; } Index: standard/project/web/src/main/java/egovframework/com/cmm/EgovWebUtil.java =================================================================== diff -u -r39c56b36a5bfcf942ce661d9dfeeee98d451b04e -r8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b --- standard/project/web/src/main/java/egovframework/com/cmm/EgovWebUtil.java (.../EgovWebUtil.java) (revision 39c56b36a5bfcf942ce661d9dfeeee98d451b04e) +++ standard/project/web/src/main/java/egovframework/com/cmm/EgovWebUtil.java (.../EgovWebUtil.java) (revision 8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b) @@ -51,12 +51,6 @@ return returnValue; } - /** - * 행안부 보안취약점 점검 조치 방안. - * - * @param value - * @return - */ public static String filePathReplaceAll(String value) { String returnValue = value; if (returnValue == null || returnValue.trim().equals("")) { Index: standard/project/web/src/main/java/egovframework/com/cmm/ImagePaginationRenderer.java =================================================================== diff -u -r39c56b36a5bfcf942ce661d9dfeeee98d451b04e -r8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b --- standard/project/web/src/main/java/egovframework/com/cmm/ImagePaginationRenderer.java (.../ImagePaginationRenderer.java) (revision 39c56b36a5bfcf942ce661d9dfeeee98d451b04e) +++ standard/project/web/src/main/java/egovframework/com/cmm/ImagePaginationRenderer.java (.../ImagePaginationRenderer.java) (revision 8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b) @@ -27,8 +27,6 @@ } - - public void setServletContext(ServletContext servletContext) { this.servletContext = servletContext; initVariables(); Index: standard/project/web/src/main/java/egovframework/com/cmm/SessionVO.java =================================================================== diff -u -r39c56b36a5bfcf942ce661d9dfeeee98d451b04e -r8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b --- standard/project/web/src/main/java/egovframework/com/cmm/SessionVO.java (.../SessionVO.java) (revision 39c56b36a5bfcf942ce661d9dfeeee98d451b04e) +++ standard/project/web/src/main/java/egovframework/com/cmm/SessionVO.java (.../SessionVO.java) (revision 8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b) @@ -17,10 +17,7 @@ private String orgnztId; /** 고유아이디 */ private String uniqId; - /** - * sUserId attribute 를 리턴한다. - * @return String - */ + public String getSUserId() { return sUserId; } Index: standard/project/web/src/main/java/egovframework/com/utl/wed/web/EgovWebEditorImageController.java =================================================================== diff -u -rfa16e9269f07726fe553fcb17f64d22d6dd53d6e -r8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b --- standard/project/web/src/main/java/egovframework/com/utl/wed/web/EgovWebEditorImageController.java (.../EgovWebEditorImageController.java) (revision fa16e9269f07726fe553fcb17f64d22d6dd53d6e) +++ standard/project/web/src/main/java/egovframework/com/utl/wed/web/EgovWebEditorImageController.java (.../EgovWebEditorImageController.java) (revision 8dbd64170ddbd6fb9aae7a15fcbb5253698ab90b) @@ -24,13 +24,6 @@ /** 첨부 최대 파일 크기 지정 */ private final long maxFileSize = 1024 * 1024 * 100; //업로드 최대 사이즈 설정 (100M) - /** - * 이미지 Upload 화면으로 이동한다. - * - * @return - * @throws Exception - */ - @RequestMapping(value="/utl/wed/insertImage.do", method=RequestMethod.GET) public String goInsertImage() throws Exception { return "egovframework/com/utl/wed/EgovInsertImage";