fixing some javac/javadoc warnings

main
Jörg Prante 4 years ago
parent 04c9fe5ed1
commit 5abdd51313

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

@ -1,4 +1,4 @@
module org.xbib.io.archive.ar {
exports org.xbib.io.archive.ar;
requires org.xbib.io.archive;
requires transitive org.xbib.io.archive;
}

@ -24,7 +24,6 @@ import java.util.Date;
* can read but not write the GNU variant and doesn't support
* the BSD variant at all.
*
* <a href="http://www.freebsd.org/cgi/man.cgi?query=ar&sektion=5">ar man page</a>
*/
public class ArArchiveEntry implements ArchiveEntry {

@ -1,4 +1,4 @@
module org.xbib.io.archive.cpio {
exports org.xbib.io.archive.cpio;
requires org.xbib.io.archive;
requires transitive org.xbib.io.archive;
}

@ -27,6 +27,7 @@ public class ArConnection extends URLConnection implements Connection<ArSession>
* the object referenced by the URL is not created.
*
* @param url the specified URL.
* @throws URISyntaxException if URI is invalid
*/
public ArConnection(URL url) throws URISyntaxException {
super(url);

Loading…
Cancel
Save