Polishing
- primarily automated "clean up" using Eclipse IDE
This commit is contained in:
@@ -117,8 +117,7 @@ public abstract class AbstractFileResolvingResource extends AbstractResource {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (con instanceof JarURLConnection) {
|
||||
JarURLConnection jarCon = (JarURLConnection) con;
|
||||
else if (con instanceof JarURLConnection jarCon) {
|
||||
JarEntry jarEntry = jarCon.getJarEntry();
|
||||
if (jarEntry == null) {
|
||||
return false;
|
||||
|
||||
@@ -417,7 +417,7 @@ public interface DataBuffer {
|
||||
*/
|
||||
default InputStream asInputStream(boolean releaseOnClose) {
|
||||
return new DataBufferInputStream(this, releaseOnClose);
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Expose this buffer's data as an {@link OutputStream}. Both data and write position are
|
||||
|
||||
Reference in New Issue
Block a user