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
8bf1f956
Commit
8bf1f956
authored
Sep 04, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply eclipse formatting and cleanup rules
parent
9cc893cd
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
15 deletions
+12
-15
ConfigurationPropertiesReportEndpoint.java
...tuate/endpoint/ConfigurationPropertiesReportEndpoint.java
+5
-3
HealthEndpoint.java
...springframework/boot/actuate/endpoint/HealthEndpoint.java
+1
-1
EndpointAutoConfigurationTests.java
...actuate/autoconfigure/EndpointAutoConfigurationTests.java
+1
-1
BatchDatabaseInitializer.java
...rk/boot/autoconfigure/batch/BatchDatabaseInitializer.java
+0
-1
TomcatDataSourcePoolMetadata.java
...configure/jdbc/metadata/TomcatDataSourcePoolMetadata.java
+2
-1
ActiveMQAutoConfiguration.java
...autoconfigure/jms/activemq/ActiveMQAutoConfiguration.java
+2
-1
CommonsDbcpDataSourcePoolMetadataTests.java
...jdbc/metadata/CommonsDbcpDataSourcePoolMetadataTests.java
+0
-2
HikariDataSourcePoolMetadataTests.java
...gure/jdbc/metadata/HikariDataSourcePoolMetadataTests.java
+0
-1
TomcatDataSourcePoolMetadataTests.java
...gure/jdbc/metadata/TomcatDataSourcePoolMetadataTests.java
+0
-1
ReproIntegrationTests.java
...a/org/springframework/boot/cli/ReproIntegrationTests.java
+0
-1
SampleIntegrationTests.java
.../org/springframework/boot/cli/SampleIntegrationTests.java
+0
-1
JettyEmbeddedServletContainerFactoryTests.java
...dded/jetty/JettyEmbeddedServletContainerFactoryTests.java
+1
-1
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpoint.java
View file @
8bf1f956
...
...
@@ -186,11 +186,13 @@ public class ConfigurationPropertiesReportEndpoint extends
@SuppressWarnings
(
"unchecked"
)
private
Map
<
String
,
Object
>
sanitize
(
Map
<
String
,
Object
>
map
)
{
for
(
Map
.
Entry
<
String
,
Object
>
entry
:
map
.
entrySet
())
{
if
(
entry
.
getValue
()
instanceof
Map
)
{
map
.
put
(
entry
.
getKey
(),
sanitize
((
Map
<
String
,
Object
>)
entry
.
getValue
()));
String
key
=
entry
.
getKey
();
Object
value
=
entry
.
getValue
();
if
(
value
instanceof
Map
)
{
map
.
put
(
key
,
sanitize
((
Map
<
String
,
Object
>)
value
));
}
else
{
map
.
put
(
entry
.
getKey
(),
this
.
sanitizer
.
sanitize
(
entry
.
getKey
(),
entry
.
getValue
()
));
map
.
put
(
key
,
this
.
sanitizer
.
sanitize
(
key
,
value
));
}
}
return
map
;
...
...
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/HealthEndpoint.java
View file @
8bf1f956
...
...
@@ -27,7 +27,7 @@ import org.springframework.util.Assert;
/**
* {@link Endpoint} to expose application health.
*
*
* @author Dave Syer
* @author Christian Dupuis
*/
...
...
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointAutoConfigurationTests.java
View file @
8bf1f956
...
...
@@ -49,7 +49,7 @@ import static org.junit.Assert.assertTrue;
/**
* Tests for {@link EndpointAutoConfiguration}.
*
*
* @author Dave Syer
* @author Phillip Webb
* @author Greg Turnquist
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchDatabaseInitializer.java
View file @
8bf1f956
...
...
@@ -35,7 +35,6 @@ import org.springframework.stereotype.Component;
@Component
public
class
BatchDatabaseInitializer
{
@Autowired
private
BatchProperties
properties
;
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/metadata/TomcatDataSourcePoolMetadata.java
View file @
8bf1f956
...
...
@@ -24,7 +24,8 @@ import org.apache.tomcat.jdbc.pool.DataSource;
*
* @author Stephane Nicoll
*/
public
class
TomcatDataSourcePoolMetadata
extends
AbstractDataSourcePoolMetadata
<
DataSource
>
{
public
class
TomcatDataSourcePoolMetadata
extends
AbstractDataSourcePoolMetadata
<
DataSource
>
{
public
TomcatDataSourcePoolMetadata
(
DataSource
dataSource
)
{
super
(
dataSource
);
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQAutoConfiguration.java
View file @
8bf1f956
...
...
@@ -45,7 +45,8 @@ import org.springframework.context.annotation.Import;
@ConditionalOnClass
({
ConnectionFactory
.
class
,
ActiveMQConnectionFactory
.
class
})
@ConditionalOnMissingBean
(
ConnectionFactory
.
class
)
@EnableConfigurationProperties
(
ActiveMQProperties
.
class
)
@Import
({
ActiveMQXAConnectionFactoryConfiguration
.
class
,
ActiveMQConnectionFactoryConfiguration
.
class
})
@Import
({
ActiveMQXAConnectionFactoryConfiguration
.
class
,
ActiveMQConnectionFactoryConfiguration
.
class
})
public
class
ActiveMQAutoConfiguration
{
}
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/metadata/CommonsDbcpDataSourcePoolMetadataTests.java
View file @
8bf1f956
...
...
@@ -19,8 +19,6 @@ package org.springframework.boot.autoconfigure.jdbc.metadata;
import
org.apache.commons.dbcp.BasicDataSource
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.springframework.boot.autoconfigure.jdbc.metadata.CommonsDbcpDataSourcePoolMetadata
;
import
org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadata
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertNull
;
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/metadata/HikariDataSourcePoolMetadataTests.java
View file @
8bf1f956
...
...
@@ -17,7 +17,6 @@
package
org
.
springframework
.
boot
.
autoconfigure
.
jdbc
.
metadata
;
import
org.junit.Before
;
import
org.springframework.boot.autoconfigure.jdbc.metadata.HikariDataSourcePoolMetadata
;
import
com.zaxxer.hikari.HikariDataSource
;
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/metadata/TomcatDataSourcePoolMetadataTests.java
View file @
8bf1f956
...
...
@@ -18,7 +18,6 @@ package org.springframework.boot.autoconfigure.jdbc.metadata;
import
org.apache.tomcat.jdbc.pool.DataSource
;
import
org.junit.Before
;
import
org.springframework.boot.autoconfigure.jdbc.metadata.TomcatDataSourcePoolMetadata
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
...
...
spring-boot-cli/src/test/java/org/springframework/boot/cli/ReproIntegrationTests.java
View file @
8bf1f956
...
...
@@ -73,5 +73,4 @@ public class ReproIntegrationTests {
this
.
cli
.
jar
(
"secure.groovy"
,
"crsh.groovy"
);
}
}
spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java
View file @
8bf1f956
...
...
@@ -19,7 +19,6 @@ package org.springframework.boot.cli;
import
java.io.File
;
import
java.net.URI
;
import
org.codehaus.plexus.util.FileUtils
;
import
org.junit.Ignore
;
import
org.junit.Rule
;
import
org.junit.Test
;
...
...
spring-boot/src/test/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainerFactoryTests.java
View file @
8bf1f956
...
...
@@ -44,7 +44,7 @@ import static org.mockito.Mockito.mock;
* @author Andy Wilkinson
*/
public
class
JettyEmbeddedServletContainerFactoryTests
extends
AbstractEmbeddedServletContainerFactoryTests
{
AbstractEmbeddedServletContainerFactoryTests
{
@Override
protected
JettyEmbeddedServletContainerFactory
getFactory
()
{
...
...
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