You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by db...@apache.org on 2013/12/08 04:34:01 UTC

git commit: remove dead fields

Updated Branches:
  refs/heads/trunk 9c0b180a4 -> 8010d77eb


remove dead fields


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8010d77e
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8010d77e
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8010d77e

Branch: refs/heads/trunk
Commit: 8010d77eb0790326fae56fb1c633e530b7e51eec
Parents: 9c0b180
Author: Dave Brosius <db...@mebigfatguy.com>
Authored: Sat Dec 7 22:33:28 2013 -0500
Committer: Dave Brosius <db...@mebigfatguy.com>
Committed: Sat Dec 7 22:33:28 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/marshal/DateType.java | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/8010d77e/src/java/org/apache/cassandra/db/marshal/DateType.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/marshal/DateType.java b/src/java/org/apache/cassandra/db/marshal/DateType.java
index 04dea6f..1ec6a8f 100644
--- a/src/java/org/apache/cassandra/db/marshal/DateType.java
+++ b/src/java/org/apache/cassandra/db/marshal/DateType.java
@@ -19,7 +19,6 @@ package org.apache.cassandra.db.marshal;
 
 import java.nio.ByteBuffer;
 import java.text.ParseException;
-import java.text.SimpleDateFormat;
 import java.util.Date;
 
 import org.slf4j.Logger;
@@ -38,9 +37,6 @@ public class DateType extends AbstractType<Date>
 
     public static final DateType instance = new DateType();
 
-    static final String DEFAULT_FORMAT = TimestampSerializer.iso8601Patterns[3];
-    static final SimpleDateFormat FORMATTER = new SimpleDateFormat(DEFAULT_FORMAT);
-
     DateType() {} // singleton
 
     public int compare(ByteBuffer o1, ByteBuffer o2)