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

git commit: Minor fix

Repository: incubator-parquet-mr
Updated Branches:
  refs/heads/master 9ad5485c3 -> 4ad7303dc


Minor fix

Spell and comment issue.

Author: WangTao <ba...@aliyun.com>

Closes #10 from WangTaoTheTonic/minorFix and squashes the following commits:

0727a8f [WangTao] Minor fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/commit/4ad7303d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/tree/4ad7303d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/diff/4ad7303d

Branch: refs/heads/master
Commit: 4ad7303dc25c998fbb23dacb5bcf950f89ef6a6f
Parents: 9ad5485
Author: WangTao <ba...@aliyun.com>
Authored: Thu Jul 10 16:08:48 2014 -0700
Committer: Tianshuo Deng <td...@twitter.com>
Committed: Thu Jul 10 16:08:48 2014 -0700

----------------------------------------------------------------------
 parquet-column/src/main/java/parquet/schema/GroupType.java | 4 ++--
 parquet-column/src/main/java/parquet/schema/Type.java      | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/blob/4ad7303d/parquet-column/src/main/java/parquet/schema/GroupType.java
----------------------------------------------------------------------
diff --git a/parquet-column/src/main/java/parquet/schema/GroupType.java b/parquet-column/src/main/java/parquet/schema/GroupType.java
index fcc801b..fefbcb2 100644
--- a/parquet-column/src/main/java/parquet/schema/GroupType.java
+++ b/parquet-column/src/main/java/parquet/schema/GroupType.java
@@ -55,7 +55,7 @@ public class GroupType extends Type {
   /**
    * @param repetition OPTIONAL, REPEATED, REQUIRED
    * @param name the name of the field
-   * @param originalType (optional) the original type to help with cross schema convertion (LIST, MAP, ...)
+   * @param originalType (optional) the original type to help with cross schema conversion (LIST, MAP, ...)
    * @param fields the contained fields
    */
   public GroupType(Repetition repetition, String name, OriginalType originalType, Type... fields) {
@@ -65,7 +65,7 @@ public class GroupType extends Type {
   /**
    * @param repetition OPTIONAL, REPEATED, REQUIRED
    * @param name the name of the field
-   * @param originalType (optional) the original type to help with cross schema convertion (LIST, MAP, ...)
+   * @param originalType (optional) the original type to help with cross schema conversion (LIST, MAP, ...)
    * @param fields the contained fields
    */
   public GroupType(Repetition repetition, String name, OriginalType originalType, List<Type> fields) {

http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/blob/4ad7303d/parquet-column/src/main/java/parquet/schema/Type.java
----------------------------------------------------------------------
diff --git a/parquet-column/src/main/java/parquet/schema/Type.java b/parquet-column/src/main/java/parquet/schema/Type.java
index a785394..2e02387 100644
--- a/parquet-column/src/main/java/parquet/schema/Type.java
+++ b/parquet-column/src/main/java/parquet/schema/Type.java
@@ -85,7 +85,7 @@ abstract public class Type {
   /**
    * @param name the name of the type
    * @param repetition OPTIONAL, REPEATED, REQUIRED
-   * @param originalType (optional) the original type to help with cross schema convertion (LIST, MAP, ...)
+   * @param originalType (optional) the original type to help with cross schema conversion (LIST, MAP, ...)
    */
   public Type(String name, Repetition repetition, OriginalType originalType) {
     super();
@@ -103,7 +103,7 @@ abstract public class Type {
 
   /**
    * @param rep
-   * @return if repretition of the type is rep
+   * @return if repetition of the type is rep
    */
   public boolean isRepetition(Repetition rep) {
     return repetition == rep;
@@ -145,7 +145,7 @@ abstract public class Type {
    */
   public PrimitiveType asPrimitiveType() {
     if (!isPrimitive()) {
-      throw new ClassCastException(this + " is not a primititve");
+      throw new ClassCastException(this + " is not primitive");
     }
     return (PrimitiveType)this;
   }
@@ -153,7 +153,7 @@ abstract public class Type {
   /**
    * Writes a string representation to the provided StringBuilder
    * @param sb the StringBuilder to write itself to
-   * @param current indentation level
+   * @param indent indentation level
    */
   abstract public void writeToStringBuilder(StringBuilder sb, String indent);