Skip to content

Commit 4ad7303

Browse files
WangTaoTheTonictsdeng
authored andcommitted
Minor fix
Spell and comment issue. Author: WangTao <[email protected]> Closes apache#10 from WangTaoTheTonic/minorFix and squashes the following commits: 0727a8f [WangTao] Minor fix
1 parent 9ad5485 commit 4ad7303

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

parquet-column/src/main/java/parquet/schema/GroupType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public GroupType(Repetition repetition, String name, Type... fields) {
5555
/**
5656
* @param repetition OPTIONAL, REPEATED, REQUIRED
5757
* @param name the name of the field
58-
* @param originalType (optional) the original type to help with cross schema convertion (LIST, MAP, ...)
58+
* @param originalType (optional) the original type to help with cross schema conversion (LIST, MAP, ...)
5959
* @param fields the contained fields
6060
*/
6161
public GroupType(Repetition repetition, String name, OriginalType originalType, Type... fields) {
@@ -65,7 +65,7 @@ public GroupType(Repetition repetition, String name, OriginalType originalType,
6565
/**
6666
* @param repetition OPTIONAL, REPEATED, REQUIRED
6767
* @param name the name of the field
68-
* @param originalType (optional) the original type to help with cross schema convertion (LIST, MAP, ...)
68+
* @param originalType (optional) the original type to help with cross schema conversion (LIST, MAP, ...)
6969
* @param fields the contained fields
7070
*/
7171
public GroupType(Repetition repetition, String name, OriginalType originalType, List<Type> fields) {

parquet-column/src/main/java/parquet/schema/Type.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public Type(String name, Repetition repetition) {
8585
/**
8686
* @param name the name of the type
8787
* @param repetition OPTIONAL, REPEATED, REQUIRED
88-
* @param originalType (optional) the original type to help with cross schema convertion (LIST, MAP, ...)
88+
* @param originalType (optional) the original type to help with cross schema conversion (LIST, MAP, ...)
8989
*/
9090
public Type(String name, Repetition repetition, OriginalType originalType) {
9191
super();
@@ -103,7 +103,7 @@ public String getName() {
103103

104104
/**
105105
* @param rep
106-
* @return if repretition of the type is rep
106+
* @return if repetition of the type is rep
107107
*/
108108
public boolean isRepetition(Repetition rep) {
109109
return repetition == rep;
@@ -145,15 +145,15 @@ public GroupType asGroupType() {
145145
*/
146146
public PrimitiveType asPrimitiveType() {
147147
if (!isPrimitive()) {
148-
throw new ClassCastException(this + " is not a primititve");
148+
throw new ClassCastException(this + " is not primitive");
149149
}
150150
return (PrimitiveType)this;
151151
}
152152

153153
/**
154154
* Writes a string representation to the provided StringBuilder
155155
* @param sb the StringBuilder to write itself to
156-
* @param current indentation level
156+
* @param indent indentation level
157157
*/
158158
abstract public void writeToStringBuilder(StringBuilder sb, String indent);
159159

0 commit comments

Comments
 (0)