Skip to content

Commit 3874c98

Browse files
committed
fix: review comments
Signed-off-by: MBWhite <whitemat@uk.ibm.com>
1 parent 966a90b commit 3874c98

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

examples/substrait-spark/src/main/java/io/substrait/examples/util/ParentStringify.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
package io.substrait.examples.util;
22

33
/**
4-
* Parent class of all stringifiers Created as it seemed there could be an optimization to share
5-
* formatting fns between the various stringifiers
4+
* Parent class of all string-ifiers Created as it seemed there could be an optimization to share
5+
* formatting fns between the various string-ifiers
66
*/
77
public class ParentStringify {
88

99
/** Indent character. */
1010
protected String indentChar = " ";
1111

12-
/** Indents of idnentsize to use. */
12+
/** Number of indents to use. */
1313
protected int indent;
1414

1515
/** Size of each indent. */
@@ -18,7 +18,7 @@ public class ParentStringify {
1818
/**
1919
* Build with a specific indent at the start - note 'an indent' is set by default to be 3 spaces.
2020
*
21-
* @param indent number of indentes
21+
* @param indent Number of indents to use.
2222
*/
2323
public ParentStringify(int indent) {
2424
this.indent = indent;
@@ -56,9 +56,9 @@ StringBuilder getContinuationIndentString() {
5656
}
5757

5858
/**
59-
* Get the outdent to use, decreats indent counter.
59+
* Get the outdent to use, decrements indent counter.
6060
*
61-
* @param sb Stribug Builder with outdent
61+
* @param sb StringBuilder with outdent
6262
* @return outdent string
6363
*/
6464
protected String getOutdent(StringBuilder sb) {

examples/substrait-spark/src/main/java/io/substrait/examples/util/TypeStringify.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class TypeStringify extends ParentStringify
3636
/**
3737
* Constructor.
3838
*
39-
* @param indent numver of idents to use
39+
* @param indent Number of indents to use.
4040
*/
4141
protected TypeStringify(int indent) {
4242
super(indent);

0 commit comments

Comments
 (0)