Skip to content

Commit 06b3c14

Browse files
committed
Added missing parameter names in JavaDoc
1 parent 93eba9d commit 06b3c14

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/java/oi/thekraken/grok/api/Discovery.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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) {

src/main/java/oi/thekraken/grok/api/Match.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)