mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11:11 +00:00
Fix Java Trie example
This commit is contained in:
parent
dd864a0142
commit
68d68402d9
1 changed files with 2 additions and 2 deletions
|
|
@ -291,8 +291,8 @@ public class Trie {
|
|||
staticMatcher("/auth/",
|
||||
linearMatcher(
|
||||
Arrays.asList(
|
||||
staticMatcher("login", dataMatcher(null, 1)),
|
||||
staticMatcher("recovery", dataMatcher(null, 2))), true))), true);
|
||||
staticMatcher("login", dataMatcher(PersistentArrayMap.EMPTY, 1)),
|
||||
staticMatcher("recovery", dataMatcher(PersistentArrayMap.EMPTY, 2))), true))), true);
|
||||
System.err.println(matcher);
|
||||
System.out.println(lookup(matcher, "/auth/login"));
|
||||
System.out.println(lookup(matcher, "/auth/recovery"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue