mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-05-02 19:30:23 +01:00
Fix formatting
This commit is contained in:
+1
-2
@@ -105,8 +105,7 @@ public interface BootstrapRegistry {
|
||||
* bootstrap instances.
|
||||
* @return the instance or {@code null}
|
||||
*/
|
||||
@Nullable
|
||||
T get(BootstrapContext context);
|
||||
@Nullable T get(BootstrapContext context);
|
||||
|
||||
/**
|
||||
* Return the scope of the supplied instance.
|
||||
|
||||
+2
-4
@@ -383,8 +383,7 @@ public final class PropertyMapper {
|
||||
* @param value the value to adapt
|
||||
* @return an adapted value or {@code null}
|
||||
*/
|
||||
@Nullable
|
||||
R adapt(T value);
|
||||
@Nullable R adapt(T value);
|
||||
|
||||
}
|
||||
|
||||
@@ -512,8 +511,7 @@ public final class PropertyMapper {
|
||||
* @param value the value to adapt
|
||||
* @return an adapted value or {@code null}
|
||||
*/
|
||||
@Nullable
|
||||
R adapt(@Nullable T value);
|
||||
@Nullable R adapt(@Nullable T value);
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -355,8 +355,7 @@ public class ErrorPageFilter implements Filter, ErrorPageRegistry, Ordered {
|
||||
}
|
||||
}
|
||||
|
||||
@Nullable
|
||||
String getMessage() {
|
||||
@Nullable String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -362,8 +362,7 @@ public abstract class AbstractJarWriter implements LoaderClassesWriter {
|
||||
*/
|
||||
EntryTransformer NONE = (jarEntry) -> jarEntry;
|
||||
|
||||
@Nullable
|
||||
JarArchiveEntry transform(JarArchiveEntry jarEntry);
|
||||
@Nullable JarArchiveEntry transform(JarArchiveEntry jarEntry);
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -169,7 +169,7 @@ public class EntityManagerFactoryBuilder {
|
||||
* @return the builder for fluent usage
|
||||
* @see #managedTypes(PersistenceManagedTypes)
|
||||
*/
|
||||
public Builder packages(String @Nullable... packagesToScan) {
|
||||
public Builder packages(String @Nullable ... packagesToScan) {
|
||||
this.packagesToScan = packagesToScan;
|
||||
return this;
|
||||
}
|
||||
@@ -222,7 +222,7 @@ public class EntityManagerFactoryBuilder {
|
||||
* @param mappingResources the mapping resources to use
|
||||
* @return the builder for fluent usage
|
||||
*/
|
||||
public Builder mappingResources(String @Nullable... mappingResources) {
|
||||
public Builder mappingResources(String @Nullable ... mappingResources) {
|
||||
this.mappingResources = mappingResources;
|
||||
return this;
|
||||
}
|
||||
|
||||
+2
-4
@@ -50,8 +50,7 @@ public interface WebServerApplicationContext extends ApplicationContext {
|
||||
* the server has not yet been created.
|
||||
* @return the web server
|
||||
*/
|
||||
@Nullable
|
||||
WebServer getWebServer();
|
||||
@Nullable WebServer getWebServer();
|
||||
|
||||
/**
|
||||
* Returns the namespace of the web server application context or {@code null} if no
|
||||
@@ -60,8 +59,7 @@ public interface WebServerApplicationContext extends ApplicationContext {
|
||||
* different port).
|
||||
* @return the server namespace
|
||||
*/
|
||||
@Nullable
|
||||
String getServerNamespace();
|
||||
@Nullable String getServerNamespace();
|
||||
|
||||
/**
|
||||
* Returns {@code true} if the specified context is a
|
||||
|
||||
Reference in New Issue
Block a user