File tree Expand file tree Collapse file tree
examples/substrait-spark/src/main/java/io/substrait/examples/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package 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 */
77public 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 ) {
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments