File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
commons/src/main/java/org/restheart/exchange Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -996,13 +996,22 @@ public String getMongoResourceUri() {
996
996
return mongoResourceUri ;
997
997
}
998
998
999
+ /**
1000
+ * this method has a typo and will be removed
1001
+ * use getPathTemplateParameters() instead
1002
+ */
1003
+ @ Deprecated (forRemoval = true )
1004
+ public Map <String , String > getPathTemplateParamenters () {
1005
+ return getPathTemplateParameters ();
1006
+ }
1007
+
999
1008
/**
1000
1009
* if mongo-mounts specifies a path template (i.e. /{foo}/*) this returns
1001
1010
* the request template parameters {@literal (/x/y => foo=x, *=y) }
1002
1011
*
1003
1012
* @return
1004
1013
*/
1005
- public Map <String , String > getPathTemplateParamenters () {
1014
+ public Map <String , String > getPathTemplateParameters () {
1006
1015
if (this .pathTemplateMatch == null ) {
1007
1016
return null ;
1008
1017
} else {
You can’t perform that action at this time.
0 commit comments