From 1fdfadf00a468dd460dd25bf2e074cfb2a225a04 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Tue, 17 Mar 2015 10:19:45 +0000 Subject: Use java.util.Date instead of java.sql.Date. java.sql.Date was being used in a context unrelated to SQL and there's no good reason to use it this way. Note that the claim in java.sql.Date's javadoc that it normalizes times to day boundaries is a lie. Change-Id: Ibb17d3fe22af6c2a41abd51b2158d6af000ecbbf --- src/com/android/gallery3d/util/SaveVideoFileUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/gallery3d/util') diff --git a/src/com/android/gallery3d/util/SaveVideoFileUtils.java b/src/com/android/gallery3d/util/SaveVideoFileUtils.java index 10c41de90..bef75bac4 100644 --- a/src/com/android/gallery3d/util/SaveVideoFileUtils.java +++ b/src/com/android/gallery3d/util/SaveVideoFileUtils.java @@ -28,8 +28,8 @@ import android.provider.MediaStore.Video.VideoColumns; import com.android.gallery3d.filtershow.tools.SaveImage.ContentResolverQueryCallback; import java.io.File; -import java.sql.Date; import java.text.SimpleDateFormat; +import java.util.Date; public class SaveVideoFileUtils { // This function can decide which folder to save the video file, and generate -- cgit v1.2.3