fixing some javac/javadoc warnings
This commit is contained in:
parent
04c9fe5ed1
commit
5abdd51313
5 changed files with 12 additions and 4 deletions
|
@ -32,4 +32,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')
|
||||||
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module org.xbib.io.archive.ar {
|
module org.xbib.io.archive.ar {
|
||||||
exports 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
|
* can read but not write the GNU variant and doesn't support
|
||||||
* the BSD variant at all.
|
* 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 {
|
public class ArArchiveEntry implements ArchiveEntry {
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module org.xbib.io.archive.cpio {
|
module org.xbib.io.archive.cpio {
|
||||||
exports 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.
|
* the object referenced by the URL is not created.
|
||||||
*
|
*
|
||||||
* @param url the specified URL.
|
* @param url the specified URL.
|
||||||
|
* @throws URISyntaxException if URI is invalid
|
||||||
*/
|
*/
|
||||||
public ArConnection(URL url) throws URISyntaxException {
|
public ArConnection(URL url) throws URISyntaxException {
|
||||||
super(url);
|
super(url);
|
||||||
|
|
Loading…
Reference in a new issue