This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git


The following commit(s) were added to refs/heads/master by this push:
     new 57523c6  Fix PMD issue of unnecessary fully qualified name for class 
already imported
     new 85907f3  Merge pull request #6 from kinow/fix-report-issues
57523c6 is described below

commit 57523c622c7bde9356738dd23ca0dafd46583817
Author: Bruno P. Kinoshita <ki...@users.noreply.github.com>
AuthorDate: Sat Feb 16 20:54:05 2019 +1300

    Fix PMD issue of unnecessary fully qualified name for class already imported
---
 .../apache/commons/dbutils/handlers/properties/DatePropertyHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/dbutils/handlers/properties/DatePropertyHandler.java
 
b/src/main/java/org/apache/commons/dbutils/handlers/properties/DatePropertyHandler.java
index 0c6a89e..e2f8d8b 100644
--- 
a/src/main/java/org/apache/commons/dbutils/handlers/properties/DatePropertyHandler.java
+++ 
b/src/main/java/org/apache/commons/dbutils/handlers/properties/DatePropertyHandler.java
@@ -51,7 +51,7 @@ public class DatePropertyHandler implements PropertyHandler {
         if ("java.sql.Timestamp".equals(targetType)) {
             final Timestamp tsValue = (Timestamp) value;
             final int nanos = tsValue.getNanos();
-            value = new java.sql.Timestamp(tsValue.getTime());
+            value = new Timestamp(tsValue.getTime());
             ((Timestamp) value).setNanos(nanos);
         }
 

Reply via email to