Skip to content

Commit

Permalink
lint: remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoepics committed Mar 11, 2024
1 parent 4a609ff commit 080ba91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/main/java/io/github/brenoepics/MentionPattern.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import java.util.regex.Pattern
*/
class MentionPattern {
private var pattern: Pattern

/** The default constructor initializes the pattern to match any word character after '@'. */
init {
this.pattern = compile("@(\\w+)")
Expand Down
3 changes: 1 addition & 2 deletions src/test/java/io/github/brenoepics/MentionPatternTest.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package io.github.brenoepics

import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test

import org.junit.jupiter.api.Assertions.*

class MentionPatternTest {

@Test
Expand Down

0 comments on commit 080ba91

Please sign in to comment.