X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.osgi.boot%2Fsrc%2Forg%2Fargeo%2Fosgi%2Fboot%2Finternal%2Fspringutil%2FAntPathMatcher.java;h=e3fc6c299012804ed4e57fdd09b2b6debc49695a;hb=5330a39edafd14df2e6cdc57aae4e9393ebca75c;hp=0b9ad1a2323d242c16e28c2f8a34c1a446579e4d;hpb=f8cb8d9383c303f993ca411408c244b9873c046d;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.osgi.boot/src/org/argeo/osgi/boot/internal/springutil/AntPathMatcher.java b/org.argeo.osgi.boot/src/org/argeo/osgi/boot/internal/springutil/AntPathMatcher.java index 0b9ad1a23..e3fc6c299 100644 --- a/org.argeo.osgi.boot/src/org/argeo/osgi/boot/internal/springutil/AntPathMatcher.java +++ b/org.argeo.osgi.boot/src/org/argeo/osgi/boot/internal/springutil/AntPathMatcher.java @@ -366,14 +366,14 @@ public class AntPathMatcher implements PathMatcher { * Given a pattern and a full path, determine the pattern-mapped part. *
For example: *
/docs/cvs/commit.html
' and '/docs/cvs/commit.html
-> ''/docs/*
' and '/docs/cvs/commit
-> 'cvs/commit
'/docs/cvs/*.html
' and '/docs/cvs/commit.html
-> 'commit.html
'/docs/**
' and '/docs/cvs/commit
-> 'cvs/commit
'/docs/**\/*.html
' and '/docs/cvs/commit.html
-> 'cvs/commit.html
'/*.html
' and '/docs/cvs/commit.html
-> 'docs/cvs/commit.html
'*.html
' and '/docs/cvs/commit.html
-> '/docs/cvs/commit.html
'*
' and '/docs/cvs/commit.html
-> '/docs/cvs/commit.html
'/docs/cvs/commit.html
' and '/docs/cvs/commit.html
to ''/docs/*
' and '/docs/cvs/commit
to 'cvs/commit
'/docs/cvs/*.html
' and '/docs/cvs/commit.html
to 'commit.html
'/docs/**
' and '/docs/cvs/commit
to 'cvs/commit
'/docs/**\/*.html
' and '/docs/cvs/commit.html
to 'cvs/commit.html
'/*.html
' and '/docs/cvs/commit.html
to 'docs/cvs/commit.html
'*.html
' and '/docs/cvs/commit.html
to '/docs/cvs/commit.html
'*
' and '/docs/cvs/commit.html
to '/docs/cvs/commit.html
'Assumes that {@link #match} returns true
for 'pattern
'
* and 'path
', but does not enforce this.