• R/O
  • SSH
  • HTTPS

figer: コミット


コミットメタ情報

リビジョン33 (tree)
日時2010-10-04 23:05:11
作者shinsuke

ログメッセージ

updated to java6-style.

変更サマリ

差分

--- figer-s2-container/trunk/s2-framework/src/test/java/org/seasar/framework/util/DateConversionUtilTest.java (revision 32)
+++ figer-s2-container/trunk/s2-framework/src/test/java/org/seasar/framework/util/DateConversionUtilTest.java (revision 33)
@@ -30,7 +30,7 @@
3030 * @throws Exception
3131 */
3232 public void testToDate() throws Exception {
33- assertNull(DateConversionUtil.toDate("", null));
33+ assertNull(DateConversionUtil.toDate("", (String) null));
3434 }
3535
3636 /**
@@ -37,8 +37,8 @@
3737 * @throws Exception
3838 */
3939 public void testRemoveDelimiter() throws Exception {
40- assertEquals("1", "yyyyMMdd", DateConversionUtil
41- .removeDelimiter("yyyy/MM/dd"));
40+ assertEquals("1", "yyyyMMdd",
41+ DateConversionUtil.removeDelimiter("yyyy/MM/dd"));
4242 }
4343
4444 /**
--- figer-s2-container/trunk/s2-framework/src/main/java/org/seasar/framework/exception/ParseRuntimeException.java (revision 32)
+++ figer-s2-container/trunk/s2-framework/src/main/java/org/seasar/framework/exception/ParseRuntimeException.java (revision 33)
@@ -23,7 +23,8 @@
2323 * @author higa
2424 *
2525 */
26-public class ParseRuntimeException extends SRuntimeException {
26+public class ParseRuntimeException extends
27+ org.seasar.util.exception.ParseRuntimeException {
2728
2829 private static final long serialVersionUID = -5237329676597387063L;
2930
@@ -33,6 +34,16 @@
3334 * @param cause
3435 */
3536 public ParseRuntimeException(ParseException cause) {
36- super("ESSR0050", new Object[] { cause }, cause);
37+ super(cause);
3738 }
39+
40+ /**
41+ * {@link ParseRuntimeException}を作成します。
42+ *
43+ * @param cause
44+ */
45+ public ParseRuntimeException(
46+ org.seasar.util.exception.ParseRuntimeException cause) {
47+ this((ParseException) cause.getCause());
48+ }
3849 }
\ No newline at end of file
--- figer-s2-container/trunk/s2-framework/pom.xml (revision 32)
+++ figer-s2-container/trunk/s2-framework/pom.xml (revision 33)
@@ -115,7 +115,6 @@
115115 <groupId>org.slf4j</groupId>
116116 <artifactId>jcl-over-slf4j</artifactId>
117117 <version>1.6.1</version>
118- <optional>true</optional>
119118 </dependency>
120119 <dependency>
121120 <groupId>org.slf4j</groupId>
旧リポジトリブラウザで表示