File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/main/java/oi/thekraken/grok/api Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public Discovery(Grok grok) {
5454 /**
5555 * Sort by regex complexity.
5656 *
57- * @param Map of the pattern name and grok instance
57+ * @param groks Map of the pattern name and grok instance
5858 * @return the map sorted by grok pattern complexity
5959 */
6060 private Map <String , Grok > sort (Map <String , Grok > groks ) {
@@ -85,7 +85,7 @@ private int complexity(String expandedPattern) {
8585
8686 /**
8787 *
88- * @param regex string
88+ * @param expandedPattern regex string
8989 * @return the complexity of the regex
9090 */
9191 private int complexity (String expandedPattern ) {
@@ -183,8 +183,8 @@ public String discover(String text) {
183183 /**
184184 * Get the substring that match with the text.
185185 *
186- * @param Grok Match
187- * @param texte
186+ * @param m Grok Match
187+ * @param text text
188188 * @return string
189189 */
190190 private String getPart (Match m , String text ) {
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ public void captures() {
188188 /**
189189 * remove from the string the quote and double quote.
190190 *
191- * @param string to pure: "my/text"
191+ * @param value string to pure: "my/text"
192192 * @return unquoted string: my/text
193193 */
194194 private String cleanString (String value ) {
You can’t perform that action at this time.
0 commit comments