Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
aa2580bb
Commit
aa2580bb
authored
Aug 18, 2020
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.3.x'
parents
341615d7
60b5de19
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
14 deletions
+14
-14
HealthEndpointDocumentationTests.java
...t/web/documentation/HealthEndpointDocumentationTests.java
+1
-1
AbstractJarFile.java
.../org/springframework/boot/loader/jar/AbstractJarFile.java
+4
-4
JarFile.java
...ain/java/org/springframework/boot/loader/jar/JarFile.java
+3
-3
JarFileWrapper.java
...a/org/springframework/boot/loader/jar/JarFileWrapper.java
+4
-4
SampleLegacyEndpointWithHyphen.java
...va/smoketest/actuator/SampleLegacyEndpointWithHyphen.java
+1
-1
SampleActuatorApplicationTests.java
...va/smoketest/actuator/SampleActuatorApplicationTests.java
+1
-1
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/HealthEndpointDocumentationTests.java
View file @
aa2580bb
/*
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* 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
View file @
aa2580bb
...
@@ -45,26 +45,26 @@ abstract class AbstractJarFile extends java.util.jar.JarFile {
...
@@ -45,26 +45,26 @@ abstract class AbstractJarFile extends java.util.jar.JarFile {
* @return the URL
* @return the URL
* @throws MalformedURLException if the URL is malformed
* @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 {@link JarFileType} of this instance.
* @return the jar file type
* @return the jar file type
*/
*/
protected
abstract
JarFileType
getType
();
abstract
JarFileType
getType
();
/**
/**
* Return the security permission for this JAR.
* Return the security permission for this JAR.
* @return the security permission.
* @return the security permission.
*/
*/
protected
abstract
Permission
getPermission
();
abstract
Permission
getPermission
();
/**
/**
* Return an {@link InputStream} for the entire jar contents.
* Return an {@link InputStream} for the entire jar contents.
* @return the contents input stream
* @return the contents input stream
* @throws IOException on IO error
* @throws IOException on IO error
*/
*/
protected
abstract
InputStream
getInputStream
()
throws
IOException
;
abstract
InputStream
getInputStream
()
throws
IOException
;
/**
/**
* The type of a {@link JarFile}.
* 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
View file @
aa2580bb
...
@@ -178,7 +178,7 @@ public class JarFile extends AbstractJarFile implements Iterable<java.util.jar.J
...
@@ -178,7 +178,7 @@ public class JarFile extends AbstractJarFile implements Iterable<java.util.jar.J
}
}
@Override
@Override
protected
Permission
getPermission
()
{
Permission
getPermission
()
{
return
new
FilePermission
(
this
.
rootFile
.
getFile
().
getPath
(),
READ_ACTION
);
return
new
FilePermission
(
this
.
rootFile
.
getFile
().
getPath
(),
READ_ACTION
);
}
}
...
@@ -248,7 +248,7 @@ public class JarFile extends AbstractJarFile implements Iterable<java.util.jar.J
...
@@ -248,7 +248,7 @@ public class JarFile extends AbstractJarFile implements Iterable<java.util.jar.J
}
}
@Override
@Override
protected
InputStream
getInputStream
()
throws
IOException
{
InputStream
getInputStream
()
throws
IOException
{
return
this
.
data
.
getInputStream
();
return
this
.
data
.
getInputStream
();
}
}
...
@@ -421,7 +421,7 @@ public class JarFile extends AbstractJarFile implements Iterable<java.util.jar.J
...
@@ -421,7 +421,7 @@ public class JarFile extends AbstractJarFile implements Iterable<java.util.jar.J
}
}
@Override
@Override
protected
JarFileType
getType
()
{
JarFileType
getType
()
{
return
this
.
type
;
return
this
.
type
;
}
}
...
...
spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFileWrapper.java
View file @
aa2580bb
...
@@ -43,17 +43,17 @@ class JarFileWrapper extends AbstractJarFile {
...
@@ -43,17 +43,17 @@ class JarFileWrapper extends AbstractJarFile {
}
}
@Override
@Override
protected
URL
getUrl
()
throws
MalformedURLException
{
URL
getUrl
()
throws
MalformedURLException
{
return
this
.
parent
.
getUrl
();
return
this
.
parent
.
getUrl
();
}
}
@Override
@Override
protected
JarFileType
getType
()
{
JarFileType
getType
()
{
return
this
.
parent
.
getType
();
return
this
.
parent
.
getType
();
}
}
@Override
@Override
protected
Permission
getPermission
()
{
Permission
getPermission
()
{
return
this
.
parent
.
getPermission
();
return
this
.
parent
.
getPermission
();
}
}
...
@@ -78,7 +78,7 @@ class JarFileWrapper extends AbstractJarFile {
...
@@ -78,7 +78,7 @@ class JarFileWrapper extends AbstractJarFile {
}
}
@Override
@Override
protected
InputStream
getInputStream
()
throws
IOException
{
InputStream
getInputStream
()
throws
IOException
{
return
this
.
parent
.
getInputStream
();
return
this
.
parent
.
getInputStream
();
}
}
...
...
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/src/main/java/smoketest/actuator/SampleLegacyEndpointWithHyphen.java
View file @
aa2580bb
/*
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* 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
View file @
aa2580bb
/*
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment