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
d4575bc1
Commit
d4575bc1
authored
Apr 10, 2020
by
dreis2211
Committed by
Stephane Nicoll
Apr 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unused parameters
See gh-20911
parent
62ebe9c0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
DependencyCustomizerTests.java
...ramework/boot/cli/compiler/DependencyCustomizerTests.java
+2
-0
Packager.java
.../java/org/springframework/boot/loader/tools/Packager.java
+2
-2
UndertowReactiveWebServerFactory.java
...b/embedded/undertow/UndertowReactiveWebServerFactory.java
+2
-2
No files found.
spring-boot-project/spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/DependencyCustomizerTests.java
View file @
d4575bc1
...
...
@@ -57,6 +57,7 @@ class DependencyCustomizerTests {
MockitoAnnotations
.
initMocks
(
this
);
given
(
this
.
resolver
.
getGroupId
(
"spring-boot-starter-logging"
)).
willReturn
(
"org.springframework.boot"
);
given
(
this
.
resolver
.
getArtifactId
(
"spring-boot-starter-logging"
)).
willReturn
(
"spring-boot-starter-logging"
);
given
(
this
.
resolver
.
getVersion
(
"spring-boot-starter-logging"
)).
willReturn
(
"1.2.3"
);
this
.
moduleNode
.
addClass
(
this
.
classNode
);
this
.
dependencyCustomizer
=
new
DependencyCustomizer
(
new
GroovyClassLoader
(
getClass
().
getClassLoader
()),
this
.
moduleNode
,
new
DependencyResolutionContext
()
{
...
...
@@ -184,6 +185,7 @@ class DependencyCustomizerTests {
String
classifier
,
String
type
,
boolean
transitive
)
{
assertThat
(
getMemberValue
(
annotationNode
,
"group"
)).
isEqualTo
(
group
);
assertThat
(
getMemberValue
(
annotationNode
,
"module"
)).
isEqualTo
(
module
);
assertThat
(
getMemberValue
(
annotationNode
,
"version"
)).
isEqualTo
(
version
);
if
(
type
==
null
)
{
assertThat
(
annotationNode
.
getMember
(
"type"
)).
isNull
();
}
...
...
spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Packager.java
View file @
d4575bc1
...
...
@@ -324,7 +324,7 @@ public abstract class Packager {
addBootBootAttributesForRepackagingLayout
(
attributes
,
(
RepackagingLayout
)
layout
);
}
else
{
addBootBootAttributesForPlainLayout
(
attributes
,
layout
);
addBootBootAttributesForPlainLayout
(
attributes
);
}
}
...
...
@@ -337,7 +337,7 @@ public abstract class Packager {
}
}
private
void
addBootBootAttributesForPlainLayout
(
Attributes
attributes
,
Layout
layout
)
{
private
void
addBootBootAttributesForPlainLayout
(
Attributes
attributes
)
{
attributes
.
putValue
(
BOOT_CLASSES_ATTRIBUTE
,
getLayout
().
getClassesLocation
());
putIfHasLength
(
attributes
,
BOOT_LIB_ATTRIBUTE
,
getLayout
().
getLibraryLocation
(
""
,
LibraryScope
.
COMPILE
));
}
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowReactiveWebServerFactory.java
View file @
d4575bc1
...
...
@@ -103,7 +103,7 @@ public class UndertowReactiveWebServerFactory extends AbstractReactiveWebServerF
handler
=
UndertowCompressionConfigurer
.
configureCompression
(
getCompression
(),
handler
);
Closeable
closeable
=
null
;
if
(
isAccessLogEnabled
())
{
AccessLogHandlerConfiguration
accessLogHandlerConfiguration
=
configureAccessLogHandler
(
builder
,
handler
);
AccessLogHandlerConfiguration
accessLogHandlerConfiguration
=
configureAccessLogHandler
(
handler
);
closeable
=
accessLogHandlerConfiguration
.
closeable
;
handler
=
accessLogHandlerConfiguration
.
accessLogHandler
;
}
...
...
@@ -147,7 +147,7 @@ public class UndertowReactiveWebServerFactory extends AbstractReactiveWebServerF
return
builder
;
}
private
AccessLogHandlerConfiguration
configureAccessLogHandler
(
Undertow
.
Builder
builder
,
HttpHandler
handler
)
{
private
AccessLogHandlerConfiguration
configureAccessLogHandler
(
HttpHandler
handler
)
{
try
{
createAccessLogDirectoryIfNecessary
();
XnioWorker
worker
=
createWorker
();
...
...
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