Skip to content

Commit a61aa66

Browse files
viiryaAndrew Or
authored andcommitted
[Minor] Fix scala doc
Minor fix for an obvious scala doc error. Author: Liang-Chi Hsieh <[email protected]> Closes #3751 from viirya/fix_scaladoc and squashes the following commits: 03fddaa [Liang-Chi Hsieh] Fix scala doc.
1 parent fbca6b6 commit a61aa66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveInspectors.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ import scala.collection.JavaConversions._
105105
{{{
106106
public interface PrimitiveObjectInspector {
107107
// Java Primitives (java.lang.Integer, java.lang.String etc.)
108-
Object getPrimitiveWritableObject(Object o);
108+
Object getPrimitiveJavaObject(Object o);
109109
// Writables (hadoop.io.IntWritable, hadoop.io.Text etc.)
110-
Object getPrimitiveJavaObject(Object o);
110+
Object getPrimitiveWritableObject(Object o);
111111
// ObjectInspector only inspect the `writable` always return true, we need to check it
112112
// before invoking the methods above.
113113
boolean preferWritable();

0 commit comments

Comments
 (0)