Skip to content
Snippets Groups Projects
Commit a61aa669 authored by Liang-Chi Hsieh's avatar Liang-Chi Hsieh Committed by Andrew Or
Browse files

[Minor] Fix scala doc

Minor fix for an obvious scala doc error.

Author: Liang-Chi Hsieh <viirya@gmail.com>

Closes #3751 from viirya/fix_scaladoc and squashes the following commits:

03fddaa [Liang-Chi Hsieh] Fix scala doc.
parent fbca6b6c
No related branches found
No related tags found
No related merge requests found
...@@ -105,9 +105,9 @@ import scala.collection.JavaConversions._ ...@@ -105,9 +105,9 @@ import scala.collection.JavaConversions._
{{{ {{{
public interface PrimitiveObjectInspector { public interface PrimitiveObjectInspector {
// Java Primitives (java.lang.Integer, java.lang.String etc.) // Java Primitives (java.lang.Integer, java.lang.String etc.)
Object getPrimitiveWritableObject(Object o); Object getPrimitiveJavaObject(Object o);
// Writables (hadoop.io.IntWritable, hadoop.io.Text etc.) // Writables (hadoop.io.IntWritable, hadoop.io.Text etc.)
Object getPrimitiveJavaObject(Object o); Object getPrimitiveWritableObject(Object o);
// ObjectInspector only inspect the `writable` always return true, we need to check it // ObjectInspector only inspect the `writable` always return true, we need to check it
// before invoking the methods above. // before invoking the methods above.
boolean preferWritable(); boolean preferWritable();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment