update named modules, Jackson 2.11

This commit is contained in:
Jörg Prante 2020-06-05 09:50:24 +02:00
parent ae7120036d
commit 938e1afd37
5 changed files with 19 additions and 4 deletions

View file

@ -1,7 +1,7 @@
group = org.xbib group = org.xbib
name = net name = net
version = 2.0.4 version = 2.1.0
gradle.wrapper.version = 6.4.1 gradle.wrapper.version = 6.4.1
jackson.version = 2.9.10 jackson.version = 2.11.0
asciidoclet.version = 1.5.6 asciidoclet.version = 1.5.6

View file

@ -33,3 +33,12 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
artifacts { artifacts {
archives sourcesJar, javadocJar archives sourcesJar, javadocJar
} }
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:all'
}
javadoc {
options.addStringOption('Xdoclint:none', '-quiet')
}

View file

@ -4,4 +4,10 @@ module org.xbib.net.url {
exports org.xbib.net.matcher; exports org.xbib.net.matcher;
exports org.xbib.net.scheme; exports org.xbib.net.scheme;
exports org.xbib.net.template; exports org.xbib.net.template;
exports org.xbib.net.template.expression;
exports org.xbib.net.template.parse;
exports org.xbib.net.template.render;
exports org.xbib.net.template.vars;
exports org.xbib.net.template.vars.specs;
exports org.xbib.net.template.vars.values;
} }

View file

@ -10,7 +10,7 @@ import java.util.regex.Pattern;
/** /**
* Path string matcher. * Path string matcher.
*/ */
class PathStringMatcher { public class PathStringMatcher {
private static final Pattern GLOB_PATTERN = Pattern.compile("\\?|\\*|\\{((?:\\{[^/]+?\\}|[^/{}]|\\\\[{}])+?)\\}"); private static final Pattern GLOB_PATTERN = Pattern.compile("\\?|\\*|\\{((?:\\{[^/]+?\\}|[^/{}]|\\\\[{}])+?)\\}");
@ -20,7 +20,7 @@ class PathStringMatcher {
private final Pattern pattern; private final Pattern pattern;
PathStringMatcher(String pattern, boolean caseSensitive) { public PathStringMatcher(String pattern, boolean caseSensitive) {
StringBuilder patternBuilder = new StringBuilder(); StringBuilder patternBuilder = new StringBuilder();
Matcher matcher = GLOB_PATTERN.matcher(pattern); Matcher matcher = GLOB_PATTERN.matcher(pattern);
int end = 0; int end = 0;