Skip to content

Commit

Permalink
Merge branch '2.2.x' into 2.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Aug 18, 2020
2 parents 2b1b096 + 4e76138 commit 60b5de1
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 22 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -45,26 +45,26 @@ abstract class AbstractJarFile extends java.util.jar.JarFile {
* @return the URL
* @throws MalformedURLException if the URL is malformed
*/
protected abstract URL getUrl() throws MalformedURLException;
abstract URL getUrl() throws MalformedURLException;

/**
* Return the {@link JarFileType} of this instance.
* @return the jar file type
*/
protected abstract JarFileType getType();
abstract JarFileType getType();

/**
* Return the security permission for this JAR.
* @return the security permission.
*/
protected abstract Permission getPermission();
abstract Permission getPermission();

/**
* Return an {@link InputStream} for the entire jar contents.
* @return the contents input stream
* @throws IOException on IO error
*/
protected abstract InputStream getInputStream() throws IOException;
abstract InputStream getInputStream() throws IOException;

/**
* The type of a {@link JarFile}.
Expand Down
Expand Up @@ -178,7 +178,7 @@ public void visitEnd() {
}

@Override
protected Permission getPermission() {
Permission getPermission() {
return new FilePermission(this.rootFile.getFile().getPath(), READ_ACTION);
}

Expand Down Expand Up @@ -248,7 +248,7 @@ public ZipEntry getEntry(String name) {
}

@Override
protected InputStream getInputStream() throws IOException {
InputStream getInputStream() throws IOException {
return this.data.getInputStream();
}

Expand Down Expand Up @@ -421,7 +421,7 @@ protected String getPathFromRoot() {
}

@Override
protected JarFileType getType() {
JarFileType getType() {
return this.type;
}

Expand Down
Expand Up @@ -43,17 +43,17 @@ class JarFileWrapper extends AbstractJarFile {
}

@Override
protected URL getUrl() throws MalformedURLException {
URL getUrl() throws MalformedURLException {
return this.parent.getUrl();
}

@Override
protected JarFileType getType() {
JarFileType getType() {
return this.parent.getType();
}

@Override
protected Permission getPermission() {
Permission getPermission() {
return this.parent.getPermission();
}

Expand All @@ -78,7 +78,7 @@ public ZipEntry getEntry(String name) {
}

@Override
protected InputStream getInputStream() throws IOException {
InputStream getInputStream() throws IOException {
return this.parent.getInputStream();
}

Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 60b5de1

Please sign in to comment.