[Jiemamy-notify:1882] commit [3052] checkstyleチェックの修正。 / refactor

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 4月 1日 (水) 18:46:43 JST


Revision: 3052
          http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3052
Author:   daisuke_m
Date:     2009-04-01 18:46:43 +0900 (Wed, 01 Apr 2009)

Log Message:
-----------
checkstyleチェックの修正。 / refactor

Modified Paths:
--------------
    artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/LogMarker.java
    hestia/trunk/jiemamy-hestia/checkstyle.xml


-------------- next part --------------
Modified: artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/LogMarker.java
===================================================================
--- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/LogMarker.java	2009-04-01 09:34:01 UTC (rev 3051)
+++ artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/LogMarker.java	2009-04-01 09:46:43 UTC (rev 3052)
@@ -56,11 +56,11 @@
 	 */
 	DETAIL("org.jiemamy" + ".detail");
 	
-	private static String OPEN = "[ ";
+	private static final String OPEN = "[ ";
 	
-	private static String CLOSE = " ]";
+	private static final String CLOSE = " ]";
 	
-	private static String SEP = ", ";
+	private static final String SEP = ", ";
 	
 	static {
 		for (Marker m : values()) {

Modified: hestia/trunk/jiemamy-hestia/checkstyle.xml
===================================================================
--- hestia/trunk/jiemamy-hestia/checkstyle.xml	2009-04-01 09:34:01 UTC (rev 3051)
+++ hestia/trunk/jiemamy-hestia/checkstyle.xml	2009-04-01 09:46:43 UTC (rev 3052)
@@ -31,16 +31,16 @@
             <property name="checkEmptyJavadoc" value="true"/>
             <property name="checkFirstSentence" value="false"/>
         </module>
-        <module name="ConstantName">
-            <property name="format" value="^[A-Z][A-Za-z0-9]*(_[A-Z0-9][A-Za-z0-9]*)*$"/>
-        </module>
+        <module name="ConstantName"/>
         <module name="LocalFinalVariableName"/>
         <module name="LocalVariableName"/>
         <module name="MemberName"/>
         <module name="MethodName"/>
         <module name="PackageName"/>
         <module name="ParameterName"/>
-        <module name="StaticVariableName"/>
+        <module name="StaticVariableName">
+            <property name="format" value="^[A-Za-z][A-Za-z0-9]*(_[A-Za-z0-9]+)*$"/>
+        </module>
         <module name="TypeName"/>
         <module name="AvoidStarImport"/>
         <module name="RedundantImport"/>



Jiemamy-notify メーリングリストの案内
Back to archive index