Skip to content

Commit

Permalink
chore: fix typo (#574)
Browse files Browse the repository at this point in the history
  • Loading branch information
orisano authored Oct 23, 2020
1 parent 8ef5528 commit 163956e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/graph/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ import (
)

var (
// Removes package name and method arugments for Java method names.
// Removes package name and method arguments for Java method names.
// See tests for examples.
javaRegExp = regexp.MustCompile(`^(?:[a-z]\w*\.)*([A-Z][\w\$]*\.(?:<init>|[a-z][\w\$]*(?:\$\d+)?))(?:(?:\()|$)`)
// Removes package name and method arugments for Go function names.
// Removes package name and method arguments for Go function names.
// See tests for examples.
goRegExp = regexp.MustCompile(`^(?:[\w\-\.]+\/)+(.+)`)
// Removes potential module versions in a package path.
Expand Down

0 comments on commit 163956e

Please sign in to comment.