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
cddd794a
Commit
cddd794a
authored
Jul 27, 2018
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
e753b530
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
55 deletions
+18
-55
BuildInfoProperties.java
...work/boot/gradle/tasks/buildinfo/BuildInfoProperties.java
+17
-50
BootZipCopyAction.java
...amework/boot/gradle/tasks/bundling/BootZipCopyAction.java
+0
-1
LaunchScriptConfiguration.java
...boot/gradle/tasks/bundling/LaunchScriptConfiguration.java
+1
-4
No files found.
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/buildinfo/BuildInfoProperties.java
View file @
cddd794a
...
...
@@ -182,62 +182,29 @@ public class BuildInfoProperties implements Serializable {
if
(
this
==
obj
)
{
return
true
;
}
if
(
obj
==
null
)
{
return
false
;
}
if
(
getClass
()
!=
obj
.
getClass
())
{
if
(
obj
==
null
||
getClass
()
!=
obj
.
getClass
())
{
return
false
;
}
BuildInfoProperties
other
=
(
BuildInfoProperties
)
obj
;
if
(
this
.
additionalProperties
==
null
)
{
if
(
other
.
additionalProperties
!=
null
)
{
return
false
;
}
}
else
if
(!
this
.
additionalProperties
.
equals
(
other
.
additionalProperties
))
{
return
false
;
}
if
(
this
.
artifact
==
null
)
{
if
(
other
.
artifact
!=
null
)
{
return
false
;
}
}
else
if
(!
this
.
artifact
.
equals
(
other
.
artifact
))
{
return
false
;
}
if
(
this
.
group
==
null
)
{
if
(
other
.
group
!=
null
)
{
return
false
;
}
}
else
if
(!
this
.
group
.
equals
(
other
.
group
))
{
return
false
;
}
if
(
this
.
name
==
null
)
{
if
(
other
.
name
!=
null
)
{
return
false
;
}
}
else
if
(!
this
.
name
.
equals
(
other
.
name
))
{
return
false
;
}
if
(
this
.
version
==
null
)
{
if
(
other
.
version
!=
null
)
{
return
false
;
}
}
else
if
(!
this
.
version
.
equals
(
other
.
version
))
{
return
false
;
}
if
(
this
.
time
==
null
)
{
if
(
other
.
time
!=
null
)
{
return
false
;
}
boolean
result
=
true
;
result
=
result
&&
nullSafeEquals
(
this
.
additionalProperties
,
other
.
additionalProperties
);
result
=
result
&&
nullSafeEquals
(
this
.
artifact
,
other
.
artifact
);
result
=
result
&&
nullSafeEquals
(
this
.
group
,
other
.
group
);
result
=
result
&&
nullSafeEquals
(
this
.
name
,
other
.
name
);
result
=
result
&&
nullSafeEquals
(
this
.
version
,
other
.
version
);
result
=
result
&&
nullSafeEquals
(
this
.
time
,
other
.
time
);
return
result
;
}
private
boolean
nullSafeEquals
(
Object
o1
,
Object
o2
)
{
if
(
o1
==
o2
)
{
return
true
;
}
else
if
(!
this
.
time
.
equals
(
other
.
time
)
)
{
if
(
o1
==
null
||
o2
==
null
)
{
return
false
;
}
return
true
;
return
(
o1
.
equals
(
o2
))
;
}
}
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootZipCopyAction.java
View file @
cddd794a
...
...
@@ -119,7 +119,6 @@ class BootZipCopyAction implements CopyAction {
return
()
->
true
;
}
@SuppressWarnings
(
"unchecked"
)
private
Spec
<
FileTreeElement
>
createExclusionSpec
(
Spec
<
FileTreeElement
>
loaderEntries
)
{
return
Specs
.
union
(
loaderEntries
,
this
.
exclusions
);
...
...
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/LaunchScriptConfiguration.java
View file @
cddd794a
...
...
@@ -88,10 +88,7 @@ public class LaunchScriptConfiguration implements Serializable {
if
(
this
==
obj
)
{
return
true
;
}
if
(
obj
==
null
)
{
return
false
;
}
if
(
getClass
()
!=
obj
.
getClass
())
{
if
(
obj
==
null
||
getClass
()
!=
obj
.
getClass
())
{
return
false
;
}
LaunchScriptConfiguration
other
=
(
LaunchScriptConfiguration
)
obj
;
...
...
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