Fix formatting

This commit is contained in:
Stéphane Nicoll
2025-10-23 14:12:50 +02:00
parent f409aca471
commit 728cb95a17
6 changed files with 9 additions and 16 deletions
@@ -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.
@@ -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);
}
@@ -355,8 +355,7 @@ public class ErrorPageFilter implements Filter, ErrorPageRegistry, Ordered {
}
}
@Nullable
String getMessage() {
@Nullable String getMessage() {
return this.message;
}
@@ -362,8 +362,7 @@ public abstract class AbstractJarWriter implements LoaderClassesWriter {
*/
EntryTransformer NONE = (jarEntry) -> jarEntry;
@Nullable
JarArchiveEntry transform(JarArchiveEntry jarEntry);
@Nullable JarArchiveEntry transform(JarArchiveEntry jarEntry);
}
@@ -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;
}
@@ -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