You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/08/01 06:07:12 UTC

git commit: SPARK-2766: ScalaReflectionSuite throw an llegalArgumentException in JDK 6

Repository: spark
Updated Branches:
  refs/heads/master 9632719c9 -> 9998efab9


SPARK-2766:  ScalaReflectionSuite  throw an llegalArgumentException in JDK 6

Author: GuoQiang Li <wi...@qq.com>

Closes #1683 from witgo/SPARK-2766 and squashes the following commits:

d0db00c [GuoQiang Li] ScalaReflectionSuite  throw an llegalArgumentException in JDK 6


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/9998efab
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/9998efab
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/9998efab

Branch: refs/heads/master
Commit: 9998efab96a4fdc927818eaae53c04f946c4cf13
Parents: 9632719
Author: GuoQiang Li <wi...@qq.com>
Authored: Thu Jul 31 21:06:57 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Thu Jul 31 21:06:57 2014 -0700

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/catalyst/ScalaReflectionSuite.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/9998efab/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/ScalaReflectionSuite.scala
----------------------------------------------------------------------
diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/ScalaReflectionSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/ScalaReflectionSuite.scala
index e030d6e..e75373d 100644
--- a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/ScalaReflectionSuite.scala
+++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/ScalaReflectionSuite.scala
@@ -182,7 +182,7 @@ class ScalaReflectionSuite extends FunSuite {
     assert(DecimalType === typeOfObject(BigDecimal("1.7976931348623157E318")))
 
     // TimestampType
-    assert(TimestampType === typeOfObject(java.sql.Timestamp.valueOf("2014-7-25 10:26:00")))
+    assert(TimestampType === typeOfObject(java.sql.Timestamp.valueOf("2014-07-25 10:26:00")))
 
     // NullType
     assert(NullType === typeOfObject(null))