Skip to content

Commit aa2580b

Browse files
committed
Merge branch '2.3.x'
2 parents 341615d + 60b5de1 commit aa2580b

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/HealthEndpointDocumentationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/AbstractJarFile.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,26 +45,26 @@ abstract class AbstractJarFile extends java.util.jar.JarFile {
4545
* @return the URL
4646
* @throws MalformedURLException if the URL is malformed
4747
*/
48-
protected abstract URL getUrl() throws MalformedURLException;
48+
abstract URL getUrl() throws MalformedURLException;
4949

5050
/**
5151
* Return the {@link JarFileType} of this instance.
5252
* @return the jar file type
5353
*/
54-
protected abstract JarFileType getType();
54+
abstract JarFileType getType();
5555

5656
/**
5757
* Return the security permission for this JAR.
5858
* @return the security permission.
5959
*/
60-
protected abstract Permission getPermission();
60+
abstract Permission getPermission();
6161

6262
/**
6363
* Return an {@link InputStream} for the entire jar contents.
6464
* @return the contents input stream
6565
* @throws IOException on IO error
6666
*/
67-
protected abstract InputStream getInputStream() throws IOException;
67+
abstract InputStream getInputStream() throws IOException;
6868

6969
/**
7070
* The type of a {@link JarFile}.

spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public void visitEnd() {
178178
}
179179

180180
@Override
181-
protected Permission getPermission() {
181+
Permission getPermission() {
182182
return new FilePermission(this.rootFile.getFile().getPath(), READ_ACTION);
183183
}
184184

@@ -248,7 +248,7 @@ public ZipEntry getEntry(String name) {
248248
}
249249

250250
@Override
251-
protected InputStream getInputStream() throws IOException {
251+
InputStream getInputStream() throws IOException {
252252
return this.data.getInputStream();
253253
}
254254

@@ -421,7 +421,7 @@ protected String getPathFromRoot() {
421421
}
422422

423423
@Override
424-
protected JarFileType getType() {
424+
JarFileType getType() {
425425
return this.type;
426426
}
427427

spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFileWrapper.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ class JarFileWrapper extends AbstractJarFile {
4343
}
4444

4545
@Override
46-
protected URL getUrl() throws MalformedURLException {
46+
URL getUrl() throws MalformedURLException {
4747
return this.parent.getUrl();
4848
}
4949

5050
@Override
51-
protected JarFileType getType() {
51+
JarFileType getType() {
5252
return this.parent.getType();
5353
}
5454

5555
@Override
56-
protected Permission getPermission() {
56+
Permission getPermission() {
5757
return this.parent.getPermission();
5858
}
5959

@@ -78,7 +78,7 @@ public ZipEntry getEntry(String name) {
7878
}
7979

8080
@Override
81-
protected InputStream getInputStream() throws IOException {
81+
InputStream getInputStream() throws IOException {
8282
return this.parent.getInputStream();
8383
}
8484

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/src/main/java/smoketest/actuator/SampleLegacyEndpointWithHyphen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/src/test/java/smoketest/actuator/SampleActuatorApplicationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)