mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Polishing
This commit is contained in:
+2
@@ -187,6 +187,7 @@ class SubscriptionMethodReturnValueHandlerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
void testHeaderFilterSinglePredicate() throws Exception {
|
||||
String sessionId = "sess1";
|
||||
String subscriptionId = "subs1";
|
||||
@@ -216,6 +217,7 @@ class SubscriptionMethodReturnValueHandlerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
void testHeaderFilterMultiplePredicates() throws Exception {
|
||||
String sessionId = "sess1";
|
||||
String subscriptionId = "subs1";
|
||||
|
||||
+1
-1
@@ -70,7 +70,7 @@ class SpringHibernateJpaPersistenceProvider extends HibernatePersistenceProvider
|
||||
public List<String> getManagedClassNames() {
|
||||
return mergedClassesAndPackages;
|
||||
}
|
||||
// @Override on Hibernate 8.0
|
||||
@SuppressWarnings("unused") // @Override on Hibernate 8.0
|
||||
public boolean isClassTransformerRegistrationDisabled() {
|
||||
return true;
|
||||
}
|
||||
|
||||
+2
-2
@@ -367,12 +367,12 @@ class LocalContainerEntityManagerFactoryBeanTests extends AbstractEntityManagerF
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
// JPA 4.0 method
|
||||
@SuppressWarnings("unused") // JPA 4.0 method
|
||||
public boolean generateSchema(PersistenceConfiguration persistenceConfiguration) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
// JPA 4.0 method
|
||||
@SuppressWarnings("unused") // JPA 4.0 method
|
||||
public ClassTransformer getClassTransformer(PersistenceUnitInfo persistenceUnitInfo, Map<?,?> map) {
|
||||
return null;
|
||||
}
|
||||
|
||||
+2
-2
@@ -197,12 +197,12 @@ class LocalEntityManagerFactoryBeanTests extends AbstractEntityManagerFactoryBea
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
// JPA 4.0 method
|
||||
@SuppressWarnings("unused") // JPA 4.0 method
|
||||
public boolean generateSchema(PersistenceConfiguration persistenceConfiguration) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
// JPA 4.0 method
|
||||
@SuppressWarnings("unused") // JPA 4.0 method
|
||||
public ClassTransformer getClassTransformer(PersistenceUnitInfo persistenceUnitInfo, Map<?,?> map) {
|
||||
return null;
|
||||
}
|
||||
|
||||
+2
-2
@@ -43,8 +43,8 @@ public class ServletServerHttpResponse implements ServerHttpResponse {
|
||||
/**
|
||||
* System property that indicates whether {@code response.getBody().flush()}
|
||||
* should effectively flush to the network. This is by default disabled,
|
||||
* and developers must set the {@code "spring.http.response.flush.enabled"}
|
||||
* {@link org.springframework.core.SpringProperties Spring property} to
|
||||
* and developers must set the {@value}
|
||||
* {@linkplain org.springframework.core.SpringProperties Spring property} to
|
||||
* turn it on.
|
||||
* <p>Applications should instead {@link #flush()} on the response directly.
|
||||
* @since 7.0.6
|
||||
|
||||
+1
-1
@@ -799,7 +799,7 @@ class DefaultServerRequest implements ServerRequest {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
// @Override - on Servlet 6.2
|
||||
@SuppressWarnings("unused") // @Override - on Servlet 6.2
|
||||
public void sendEarlyHints() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user