X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=org.argeo.osgi.boot%2Fsrc%2Forg%2Fargeo%2Fosgi%2Fboot%2Finternal%2Fspringutil%2FAntPathMatcher.java;h=e3fc6c299012804ed4e57fdd09b2b6debc49695a;hb=f9109847d5a1fe8f20014e567f1b816f6d814d5f;hp=0b9ad1a2323d242c16e28c2f8a34c1a446579e4d;hpb=575dfe19b8516b1213b6d56d9f34fc3bcdb62026;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.