mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 00:16:04 +00:00
2003-09-18 Jeroen Frijters <jeroen@frijters.net>
* java/sql/Timestamp.java (valueOf): Fixed confusion of java.sql.Date and java.util.Date From-SVN: r71508
This commit is contained in:
committed by
Michael Koch
parent
f5e2e1adf0
commit
fc08ad2815
@@ -81,7 +81,7 @@ public class Timestamp extends java.util.Date
|
||||
{
|
||||
try
|
||||
{
|
||||
Date d = (Date) parse_sdf.parseObject(str);
|
||||
java.util.Date d = (java.util.Date)parse_sdf.parseObject(str);
|
||||
|
||||
if (d == null)
|
||||
throw new IllegalArgumentException(str);
|
||||
|
||||
Reference in New Issue
Block a user