language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
spring-projects
spring-framework
ab18ab60250e256da4b1502e1786b168c374a229.json
Fix CronExpression issue with ZonedDateTime & DST This commit fixes an issue with CronExpression when used in combination with ZonedDateTime and daylight saving time. Closes gh-26744
spring-context/src/test/java/org/springframework/scheduling/support/CronExpressionTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1261,6 +1261,23 @@ public void sundayToFrid...
true
Other
spring-projects
spring-framework
b651c10e83e6876bffa54d057ec15bc2f630c017.json
Fix error messages to match commit #1a9556 See gh-26679
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/support/DefaultHandlerExceptionResolverTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -96,7 +96,8 @@ public void handleMissingPath...
false
Other
spring-projects
spring-framework
5651695fd17c182044186b2fee043e4d7bc683b8.json
Fix typo in Javadoc Closes gh-26740
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestBodyAdviceAdapter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,8 +25,8 @@ /** * A convenient start...
false
Other
spring-projects
spring-framework
41d5048280409f358365fc702753122557e0fbf1.json
Add BlockHoundIntegration for spring-web Closes gh-26712
spring-web/spring-web.gradle
@@ -7,6 +7,7 @@ dependencies { compile(project(":spring-beans")) compile(project(":spring-core")) compileOnly(project(":kotlin-coroutines")) + compileOnly("io.projectreactor.tools:blockhound") optional(project(":spring-aop")) optional(project(":spring-context")) optional(project(":spring-oxm")) @@ -75,6 +76...
true
Other
spring-projects
spring-framework
41d5048280409f358365fc702753122557e0fbf1.json
Add BlockHoundIntegration for spring-web Closes gh-26712
spring-web/src/main/java/org/springframework/web/server/adapter/WebHttpHandlerBuilder.java
@@ -23,6 +23,9 @@ import java.util.function.Function; import java.util.stream.Collectors; +import reactor.blockhound.BlockHound; +import reactor.blockhound.integration.BlockHoundIntegration; + import org.springframework.beans.factory.NoSuchBeanDefinitionException; import org.springframework.context.ApplicationCon...
true
Other
spring-projects
spring-framework
41d5048280409f358365fc702753122557e0fbf1.json
Add BlockHoundIntegration for spring-web Closes gh-26712
spring-web/src/main/resources/META-INF/services/reactor.blockhound.integration.BlockHoundIntegration
@@ -0,0 +1,15 @@ +# Copyright 2002-2021 the original author or authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless...
true
Other
spring-projects
spring-framework
4982b5fcb9a2ca49edda697918557bdb76e3d282.json
Improve docs on SSE tests for Spring MVC Closes gh-26687
spring-test/src/test/java/org/springframework/test/web/servlet/samples/client/standalone/AsyncTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,6 +32,7 @@ import org.springframework.u...
true
Other
spring-projects
spring-framework
4982b5fcb9a2ca49edda697918557bdb76e3d282.json
Improve docs on SSE tests for Spring MVC Closes gh-26687
spring-test/src/test/java/org/springframework/test/web/servlet/samples/client/standalone/SseTests.java
@@ -0,0 +1,71 @@ +/* + * Copyright 2002-2021 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
4982b5fcb9a2ca49edda697918557bdb76e3d282.json
Improve docs on SSE tests for Spring MVC Closes gh-26687
src/docs/asciidoc/testing.adoc
@@ -7471,12 +7471,35 @@ or reactive type such as Reactor `Mono`: [[spring-mvc-test-vs-streaming-response]] ===== Streaming Responses -There are no options built into Spring MVC Test for container-less testing of streaming -responses. However you can test streaming requests through the <<WebTestClient>>. -This is al...
true
Other
spring-projects
spring-framework
c0fee67c6dae586d66f17724dcef32b631d6eecf.json
Upgrade Kotlin serialization to 1.0.1 Let's wait Spring Boot 2.5 to upgrade to 1.1.x
build.gradle
@@ -90,7 +90,7 @@ configure(allprojects) { project -> } dependency "org.ogce:xpp3:1.1.6" dependency "org.yaml:snakeyaml:1.28" - dependencySet(group: 'org.jetbrains.kotlinx', version: '1.0.0') { + dependencySet(group: 'org.jetbrains.kotlinx', version: '1.0.1') { entry 'kotlinx-serialization-core' ...
false
Other
spring-projects
spring-framework
f229fa4b723ba85522c23d5ad85aae47323c59a4.json
Upgrade Kotlin Coroutines to 1.4.3
build.gradle
@@ -33,7 +33,7 @@ configure(allprojects) { project -> mavenBom "io.rsocket:rsocket-bom:1.1.0" mavenBom "org.eclipse.jetty:jetty-bom:9.4.38.v20210224" mavenBom "org.jetbrains.kotlin:kotlin-bom:1.4.30" - mavenBom "org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.4.2" + mavenBom "org.jetbrains.kotlinx:kotlin...
false
Other
spring-projects
spring-framework
684939d5f831362c46e523b0e2b6a0ebcd9817be.json
Upgrade Kotlin to 1.4.31
build.gradle
@@ -1,7 +1,7 @@ plugins { id 'io.spring.dependency-management' version '1.0.9.RELEASE' apply false id 'io.spring.nohttp' version '0.0.5.RELEASE' - id 'org.jetbrains.kotlin.jvm' version '1.4.30' apply false + id 'org.jetbrains.kotlin.jvm' version '1.4.31' apply false id 'org.jetbrains.dokka' version '0.10.1' appl...
false
Other
spring-projects
spring-framework
d92c74d923a43218cd0f49fdf28622a2aa6c9837.json
Add cookies to the WebSocket HandshakeInfo See gh-26674
spring-webflux/src/main/java/org/springframework/web/reactive/socket/HandshakeInfo.java
@@ -22,6 +22,9 @@ import java.util.Collections; import java.util.Map; +import org.springframework.http.HttpCookie; +import org.springframework.util.CollectionUtils; +import org.springframework.util.MultiValueMap; import reactor.core.publisher.Mono; import org.springframework.http.HttpHeaders; @@ -44,6 +47,8 @@ ...
true
Other
spring-projects
spring-framework
d92c74d923a43218cd0f49fdf28622a2aa6c9837.json
Add cookies to the WebSocket HandshakeInfo See gh-26674
spring-webflux/src/main/java/org/springframework/web/reactive/socket/server/support/HandshakeWebSocketService.java
@@ -32,12 +32,15 @@ import org.springframework.context.Lifecycle; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; +import org.springframework.http.HttpCookie; import org.springframework.http.server.reactive.ServerHttpRequest; import org.springframework.lang.Nullable; impor...
true
Other
spring-projects
spring-framework
bc261fd9950aa34c4fabae77a9677fd6083be428.json
Remove duplicate word in Javadoc Closes gh-26676
spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinition.java
@@ -894,7 +894,7 @@ public MutablePropertyValues getPropertyValues() { } /** - * Return if there are property values values defined for this bean. + * Return if there are property values defined for this bean. * @since 5.0.2 */ @Override
false
Other
spring-projects
spring-framework
4f4b9f6b1ba80175c174f328f36f3720667fbdd9.json
Fix checkstyle violation
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlEncodingFilter.java
@@ -162,6 +162,11 @@ public String encodeURL(String url) { } + /** + * Runtime exception to get far enough (to ResourceUrlProviderExposingInterceptor) + * where it can be re-thrown as ServletRequestBindingException to result in + * a 400 response. + */ @SuppressWarnings("serial") static class LookupPathIn...
false
Other
spring-projects
spring-framework
ed64a10c386060697a6904825f2e2a6f14ff297a.json
Use Collections.addAll where feasible Closes gh-23478
spring-core/src/main/java/org/springframework/core/env/AbstractEnvironment.java
@@ -462,9 +462,7 @@ public void merge(ConfigurableEnvironment parent) { String[] parentActiveProfiles = parent.getActiveProfiles(); if (!ObjectUtils.isEmpty(parentActiveProfiles)) { synchronized (this.activeProfiles) { - for (String profile : parentActiveProfiles) { - this.activeProfiles.add(profile); ...
true
Other
spring-projects
spring-framework
ed64a10c386060697a6904825f2e2a6f14ff297a.json
Use Collections.addAll where feasible Closes gh-23478
spring-core/src/main/java/org/springframework/core/env/AbstractPropertyResolver.java
@@ -16,6 +16,7 @@ package org.springframework.core.env; +import java.util.Collections; import java.util.LinkedHashSet; import java.util.Set; @@ -136,9 +137,7 @@ public void setIgnoreUnresolvableNestedPlaceholders(boolean ignoreUnresolvableNe @Override public void setRequiredProperties(String... requiredP...
true
Other
spring-projects
spring-framework
4e4ec266b2899422b4afe8290a1afd3732d2cad1.json
Adjust error response in ResourceUrlEncodingFilter Failure to find the lookup path now results in 400 instead of 500 reflecting the presence of some issue with the input path. Closes gh-23508
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlEncodingFilter.java
@@ -96,10 +96,7 @@ private void initLookupPath(ResourceUrlProvider urlProvider) { String lookupPath = pathHelper.getLookupPathForRequest(this); this.indexLookupPath = requestUri.lastIndexOf(lookupPath); if (this.indexLookupPath == -1) { - throw new IllegalStateException( - "Failed to find looku...
true
Other
spring-projects
spring-framework
4e4ec266b2899422b4afe8290a1afd3732d2cad1.json
Adjust error response in ResourceUrlEncodingFilter Failure to find the lookup path now results in 400 instead of 500 reflecting the presence of some issue with the input path. Closes gh-23508
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlProviderExposingInterceptor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import javax.servlet.http.Ht...
true
Other
spring-projects
spring-framework
4e4ec266b2899422b4afe8290a1afd3732d2cad1.json
Adjust error response in ResourceUrlEncodingFilter Failure to find the lookup path now results in 400 instead of 500 reflecting the presence of some issue with the input path. Closes gh-23508
spring-webmvc/src/test/java/org/springframework/web/servlet/resource/ResourceUrlEncodingFilterTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,7 +19,9 @@ import java.util.ArrayList; ...
true
Other
spring-projects
spring-framework
52976246ac3dac44c77a367276ac5326d590d47a.json
Remove bodyWithType extension from WebFlux Since there is no more clash with the new bodyValue method name. Closes gh-23523
spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/client/WebClientExtensions.kt
@@ -35,49 +35,35 @@ import reactor.core.publisher.Mono * @author Sebastien Deleuze * @since 5.0 */ -@Deprecated("Use 'bodyWithType' instead.", replaceWith = ReplaceWith("bodyWithType(publisher)")) @Suppress("EXTENSION_SHADOWED_BY_MEMBER") inline fun <reified T : Any, S : Publisher<T>> RequestBodySpec.body(publi...
true
Other
spring-projects
spring-framework
52976246ac3dac44c77a367276ac5326d590d47a.json
Remove bodyWithType extension from WebFlux Since there is no more clash with the new bodyValue method name. Closes gh-23523
spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/server/ServerResponseExtensions.kt
@@ -32,13 +32,12 @@ import reactor.core.publisher.Mono * @author Sebastien Deleuze * @since 5.0 */ -@Deprecated("Use 'bodyWithType' instead.", replaceWith = ReplaceWith("bodyWithType(publisher)")) @Suppress("EXTENSION_SHADOWED_BY_MEMBER") inline fun <reified T : Any> ServerResponse.BodyBuilder.body(publisher: P...
true
Other
spring-projects
spring-framework
52976246ac3dac44c77a367276ac5326d590d47a.json
Remove bodyWithType extension from WebFlux Since there is no more clash with the new bodyValue method name. Closes gh-23523
spring-webflux/src/test/kotlin/org/springframework/web/reactive/function/client/WebClientExtensionsTests.kt
@@ -43,23 +43,23 @@ class WebClientExtensionsTests { @Test - fun `RequestBodySpec#bodyWithType with Publisher and reified type parameters`() { + fun `RequestBodySpec#body with Publisher and reified type parameters`() { val body = mockk<Publisher<List<Foo>>>() - requestBodySpec.bodyWithType(body) + requestBod...
true
Other
spring-projects
spring-framework
52976246ac3dac44c77a367276ac5326d590d47a.json
Remove bodyWithType extension from WebFlux Since there is no more clash with the new bodyValue method name. Closes gh-23523
spring-webflux/src/test/kotlin/org/springframework/web/reactive/function/server/ServerResponseExtensionsTests.kt
@@ -45,21 +45,21 @@ class ServerResponseExtensionsTests { @Test fun `BodyBuilder#body with Publisher and reified type parameters`() { val body = mockk<Publisher<List<Foo>>>() - bodyBuilder.bodyWithType(body) + bodyBuilder.body(body) verify { bodyBuilder.body(body, object : ParameterizedTypeReference<List<Fo...
true
Other
spring-projects
spring-framework
52976246ac3dac44c77a367276ac5326d590d47a.json
Remove bodyWithType extension from WebFlux Since there is no more clash with the new bodyValue method name. Closes gh-23523
src/docs/asciidoc/web/webflux-functional.adoc
@@ -231,8 +231,8 @@ ServerResponse.ok().contentType(MediaType.APPLICATION_JSON).body(person, Person. [source,kotlin,role="secondary"] .Kotlin ---- -val person: Mono<Person> = ... -ServerResponse.ok().contentType(MediaType.APPLICATION_JSON).bodyWithType<Person>(person) +val person: Person = ... +ServerResponse.ok().c...
true
Other
spring-projects
spring-framework
52976246ac3dac44c77a367276ac5326d590d47a.json
Remove bodyWithType extension from WebFlux Since there is no more clash with the new bodyValue method name. Closes gh-23523
src/docs/asciidoc/web/webflux-webclient.adoc
@@ -497,7 +497,7 @@ like `Mono` or Kotlin Coroutines `Deferred` as the following example shows: client.post() .uri("/persons/{id}", id) .contentType(MediaType.APPLICATION_JSON) - .bodyWithType<Person>(personDeferred) + .body<Person>(personDeferred) .retrieve() .awaitBody<Unit>() ---- @@ -524,7 +5...
true
Other
spring-projects
spring-framework
dd22b8fd3971c7b0cdc1976d45c81ba12d5da604.json
Fix race condition with onCompletion/onError Closes gh-23096
spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerReadPublisher.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -283,19 +283,7 @@ <T> void subscribe(Abstrac...
true
Other
spring-projects
spring-framework
dd22b8fd3971c7b0cdc1976d45c81ba12d5da604.json
Fix race condition with onCompletion/onError Closes gh-23096
spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteFlushProcessor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -282,17 +282,7 @@ public <T> void writeCompl...
true
Other
spring-projects
spring-framework
dd22b8fd3971c7b0cdc1976d45c81ba12d5da604.json
Fix race condition with onCompletion/onError Closes gh-23096
spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteProcessor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -376,13 +376,21 @@ public <T> void onWritePo...
true
Other
spring-projects
spring-framework
46a37b447c328cef6cc09ac839b985d7db133f75.json
Fix copyright dates See gh-23393
spring-aop/src/main/java/org/springframework/aop/framework/AopProxyUtils.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
46a37b447c328cef6cc09ac839b985d7db133f75.json
Fix copyright dates See gh-23393
spring-aop/src/main/java/org/springframework/aop/framework/ProxyFactoryBean.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
46a37b447c328cef6cc09ac839b985d7db133f75.json
Fix copyright dates See gh-23393
spring-expression/src/main/java/org/springframework/expression/spel/standard/Tokenizer.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
216ffcfe62ebad8ddd6ca7787ff86ae1556efed1.json
Fix copyright dates
spring-webflux/src/main/java/org/springframework/web/reactive/resource/CachingResourceResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
216ffcfe62ebad8ddd6ca7787ff86ae1556efed1.json
Fix copyright dates
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/CachingResourceResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
6ef75d76cd6e5e0cdb8e55855a0dba67ac7a4a91.json
Simplify String concatenation Closes gh-23470
spring-core/src/main/java/org/springframework/util/backoff/FixedBackOff.java
@@ -109,14 +109,12 @@ public long nextBackOff() { @Override public String toString() { - final StringBuilder sb = new StringBuilder("FixedBackOff{"); - sb.append("interval=").append(FixedBackOff.this.interval); String attemptValue = (FixedBackOff.this.maxAttempts == Long.MAX_VALUE ? "unlimited" : ...
true
Other
spring-projects
spring-framework
6ef75d76cd6e5e0cdb8e55855a0dba67ac7a4a91.json
Simplify String concatenation Closes gh-23470
spring-web/src/main/java/org/springframework/web/util/HierarchicalUriComponents.java
@@ -53,7 +53,7 @@ final class HierarchicalUriComponents extends UriComponents { private static final char PATH_DELIMITER = '/'; - private static final String PATH_DELIMITER_STRING = "/"; + private static final String PATH_DELIMITER_STRING = String.valueOf(PATH_DELIMITER); private static final MultiValueMap<St...
true
Other
spring-projects
spring-framework
6ef75d76cd6e5e0cdb8e55855a0dba67ac7a4a91.json
Simplify String concatenation Closes gh-23470
spring-webflux/src/main/java/org/springframework/web/reactive/resource/CachingResourceResolver.java
@@ -122,15 +122,13 @@ protected Mono<Resource> resolveResourceInternal(@Nullable ServerWebExchange exc } protected String computeKey(@Nullable ServerWebExchange exchange, String requestPath) { - StringBuilder key = new StringBuilder(RESOLVED_RESOURCE_CACHE_KEY_PREFIX); - key.append(requestPath); if (exchange...
true
Other
spring-projects
spring-framework
6ef75d76cd6e5e0cdb8e55855a0dba67ac7a4a91.json
Simplify String concatenation Closes gh-23470
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/CachingResourceResolver.java
@@ -127,15 +127,13 @@ protected Resource resolveResourceInternal(@Nullable HttpServletRequest request, } protected String computeKey(@Nullable HttpServletRequest request, String requestPath) { - StringBuilder key = new StringBuilder(RESOLVED_RESOURCE_CACHE_KEY_PREFIX); - key.append(requestPath); if (request ...
true
Other
spring-projects
spring-framework
1ec9721617a121bef1b19f104c3ace292800141c.json
Fix @since tags in ScopedProxyUtils[Tests] See gh-23514
spring-aop/src/main/java/org/springframework/aop/scope/ScopedProxyUtils.java
@@ -113,7 +113,7 @@ public static String getTargetBeanName(String originalBeanName) { * @return the original bean name * @throws IllegalArgumentException if the supplied bean name does not refer * to the target of a scoped proxy - * @since 5.2 + * @since 5.1.10 * @see #getTargetBeanName(String) * @see ...
true
Other
spring-projects
spring-framework
1ec9721617a121bef1b19f104c3ace292800141c.json
Fix @since tags in ScopedProxyUtils[Tests] See gh-23514
spring-aop/src/test/java/org/springframework/aop/scope/ScopedProxyUtilsTests.java
@@ -25,7 +25,7 @@ * Unit tests for {@link ScopedProxyUtils}. * * @author Sam Brannen - * @since 5.2 + * @since 5.1.10 */ class ScopedProxyUtilsTests {
true
Other
spring-projects
spring-framework
d357ef706fca2cfcc970d51b5c582d58adb9cb0f.json
Delete unused imports See gh-23458
spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AbstractAspectJAdvisorFactoryTests.java
@@ -22,7 +22,6 @@ import java.lang.reflect.Method; import java.lang.reflect.UndeclaredThrowableException; import java.rmi.RemoteException; -import java.util.Collections; import java.util.LinkedList; import java.util.List;
true
Other
spring-projects
spring-framework
d357ef706fca2cfcc970d51b5c582d58adb9cb0f.json
Delete unused imports See gh-23458
spring-aop/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJPrecedenceComparatorTests.java
@@ -33,7 +33,6 @@ import org.springframework.aop.aspectj.AspectJMethodBeforeAdvice; import org.springframework.aop.aspectj.AspectJPointcutAdvisor; import org.springframework.aop.support.DefaultPointcutAdvisor; -import org.springframework.lang.Nullable; import static org.assertj.core.api.Assertions.assertThat;
true
Other
spring-projects
spring-framework
d357ef706fca2cfcc970d51b5c582d58adb9cb0f.json
Delete unused imports See gh-23458
spring-aop/src/test/java/org/springframework/aop/framework/MethodInvocationTests.java
@@ -21,7 +21,6 @@ import java.util.List; import org.aopalliance.intercept.MethodInterceptor; -import org.aopalliance.intercept.MethodInvocation; import org.junit.jupiter.api.Test; import org.springframework.tests.sample.beans.TestBean;
true
Other
spring-projects
spring-framework
d357ef706fca2cfcc970d51b5c582d58adb9cb0f.json
Delete unused imports See gh-23458
spring-aop/src/test/java/org/springframework/aop/framework/NullPrimitiveTests.java
@@ -17,7 +17,6 @@ package org.springframework.aop.framework; import org.aopalliance.intercept.MethodInterceptor; -import org.aopalliance.intercept.MethodInvocation; import org.junit.jupiter.api.Test; import org.springframework.aop.AopInvocationException;
true
Other
spring-projects
spring-framework
5105b74f6e7cdb80cd1dc1f1d426ad931e038184.json
Add missing @Nullable declaration See gh-23514
spring-aop/src/main/java/org/springframework/aop/scope/ScopedProxyUtils.java
@@ -117,7 +117,7 @@ public static String getTargetBeanName(String originalBeanName) { * @see #getTargetBeanName(String) * @see #isScopedTarget(String) */ - public static String getOriginalBeanName(String targetBeanName) { + public static String getOriginalBeanName(@Nullable String targetBeanName) { Assert.i...
false
Other
spring-projects
spring-framework
50decc43cea4cfbcb92afabd8fa892308a4a389d.json
Fix aspectj dependency in spring-aspects See gh-23506
spring-aspects/spring-aspects.gradle
@@ -12,7 +12,7 @@ aspectj.version = aspectjVersion dependencies { aspect(project(":spring-orm")) - compile("org.aspectj:aspectjrt:${aspectjVersion}") + compile("org.aspectj:aspectjweaver:${aspectjVersion}") optional(project(":spring-aop")) // for @Async support optional(project(":spring-beans")) // for @Conf...
false
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-beans/src/main/java/org/springframework/beans/factory/groovy/GroovyBeanDefinitionReader.java
@@ -182,10 +182,12 @@ public GroovyBeanDefinitionReader(XmlBeanDefinitionReader xmlBeanDefinitionReade } + @Override public void setMetaClass(MetaClass metaClass) { this.metaClass = metaClass; } + @Override public MetaClass getMetaClass() { return this.metaClass; } @@ -216,6 +218,7 @@ public Bindi...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultSingletonBeanRegistry.java
@@ -612,6 +612,7 @@ protected void destroyBean(String beanName, @Nullable DisposableBean bean) { * should <i>not</i> have their own mutexes involved in singleton creation, * to avoid the potential for deadlocks in lazy-init situations. */ + @Override public final Object getSingletonMutex() { return this.s...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-beans/src/test/java/org/springframework/beans/BeanWrapperTests.java
@@ -138,6 +138,7 @@ public void notWritablePropertyExceptionContainsAlternativeMatches() { } } + @Override @Test // Can't be shared: no type mismatch with a field public void setPropertyTypeMismatch() { PropertyTypeMismatch target = new PropertyTypeMismatch(); @@ -235,10 +236,12 @@ private static class G...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/JCacheAspectSupport.java
@@ -88,6 +88,7 @@ public JCacheOperationSource getCacheOperationSource() { return this.cacheOperationSource; } + @Override public void afterPropertiesSet() { getCacheOperationSource();
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context-support/src/main/java/org/springframework/scheduling/quartz/LocalDataSourceJobStore.java
@@ -110,6 +110,7 @@ public void shutdown() { // Do nothing - a Spring-managed DataSource has its own lifecycle. } /* Quartz 2.2 initialize method */ + @Override public void initialize() { // Do nothing - a Spring-managed DataSource has its own lifecycle. } @@ -138,6 +139,7 @@ p...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context-support/src/main/java/org/springframework/scheduling/quartz/ResourceLoaderClassLoadHelper.java
@@ -81,6 +81,7 @@ public Class<?> loadClass(String name) throws ClassNotFoundException { return ClassUtils.forName(name, this.resourceLoader.getClassLoader()); } + @Override @SuppressWarnings("unchecked") public <T> Class<? extends T> loadClass(String name, Class<T> clazz) throws ClassNotFoundException { ...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context-support/src/test/java/org/springframework/validation/beanvalidation2/SpringValidatorAdapterTests.java
@@ -367,12 +367,14 @@ public static class SameValidator implements ConstraintValidator<Same, Object> { private String message; + @Override public void initialize(Same constraintAnnotation) { field = constraintAnnotation.field(); comparingField = constraintAnnotation.comparingField(); message = co...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/main/java/org/springframework/cache/interceptor/CacheEvictOperation.java
@@ -78,6 +78,7 @@ protected StringBuilder getOperationDescription() { return sb; } + @Override public CacheEvictOperation build() { return new CacheEvictOperation(this); }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/main/java/org/springframework/cache/interceptor/CachePutOperation.java
@@ -70,6 +70,7 @@ protected StringBuilder getOperationDescription() { return sb; } + @Override public CachePutOperation build() { return new CachePutOperation(this); }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/main/java/org/springframework/context/annotation/AnnotationConfigApplicationContext.java
@@ -152,6 +152,7 @@ public void setScopeMetadataResolver(ScopeMetadataResolver scopeMetadataResolver * @see #scan(String...) * @see #refresh() */ + @Override public void register(Class<?>... annotatedClasses) { Assert.notEmpty(annotatedClasses, "At least one annotated class must be specified"); this.re...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/main/java/org/springframework/context/event/DefaultEventListenerFactory.java
@@ -45,6 +45,7 @@ public int getOrder() { } + @Override public boolean supportsMethod(Method method) { return true; }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/main/java/org/springframework/context/support/GenericGroovyApplicationContext.java
@@ -225,18 +225,22 @@ public void load(Class<?> relativeClass, String... resourceNames) { // Implementation of the GroovyObject interface + @Override public void setMetaClass(MetaClass metaClass) { this.metaClass = metaClass; } + @Override public MetaClass getMetaClass() { return this.metaClass; }...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/main/java/org/springframework/ui/ConcurrentModel.java
@@ -88,6 +88,7 @@ public void putAll(Map<? extends String, ?> map) { * @param attributeValue the model attribute value (ignored if {@code null}, * just removing an existing entry if any) */ + @Override public ConcurrentModel addAttribute(String attributeName, @Nullable Object attributeValue) { Assert.notN...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/main/java/org/springframework/validation/beanvalidation/LocalValidatorFactoryBean.java
@@ -414,6 +414,7 @@ public <T> T unwrap(@Nullable Class<T> type) { throw new ValidationException("Cannot unwrap to " + type); } + @Override public void close() { if (this.validatorFactory != null) { this.validatorFactory.close();
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/main/java/org/springframework/validation/beanvalidation/SpringConstraintValidatorFactory.java
@@ -57,6 +57,7 @@ public SpringConstraintValidatorFactory(AutowireCapableBeanFactory beanFactory) } // Bean Validation 1.1 releaseInstance method + @Override public void releaseInstance(ConstraintValidator<?, ?> instance) { this.beanFactory.destroyBean(instance); }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/groovy/org/springframework/context/groovy/GroovyBeanDefinitionReaderTests.groovy
@@ -1003,22 +1003,27 @@ class TestScope implements Scope { int instanceCount + @Override public Object remove(String name) { // do nothing } + @Override public void registerDestructionCallback(String name, Runnable callback) { } + @Override public String getConversationId() { return "mock" ...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/java/org/springframework/cache/interceptor/CacheErrorHandlerTests.java
@@ -183,6 +183,7 @@ public SimpleService simpleService() { return new SimpleService(); } + @Override @Bean public CacheManager cacheManager() { SimpleCacheManager cacheManager = new SimpleCacheManager();
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassPostProcessorTests.java
@@ -1281,6 +1281,7 @@ public ITestBean scopedClass() { public interface RepositoryInterface<T> { + @Override String toString(); }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/java/org/springframework/context/annotation/LazyAutowiredAnnotationBeanPostProcessorTests.java
@@ -167,6 +167,7 @@ public static class FieldResourceInjectionBean implements TestBeanHolder { @Autowired @Lazy private List<TestBean> testBeans; + @Override public TestBean getTestBean() { return this.testBean; } @@ -185,6 +186,7 @@ public static class OptionalFieldResourceInjectionBean implements T...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/java/org/springframework/context/annotation/configuration/ConfigurationClassProcessingTests.java
@@ -361,6 +361,7 @@ static class ConfigWithBeanWithProviderImplementation implements Provider<TestBe static TestBean testBean = new TestBean(ConfigWithBeanWithProviderImplementation.class.getSimpleName()); + @Override @Bean(name = "customName") public TestBean get() { return testBean; @@ -373,6 +374,7...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/java/org/springframework/context/annotation/spr16756/ScannedComponent.java
@@ -42,6 +42,7 @@ public interface State { @Scope(proxyMode = ScopedProxyMode.INTERFACES, value = "prototype") public static class StateImpl implements State { + @Override public String anyMethod() { return "anyMethod called"; }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/java/org/springframework/context/event/AnnotationDrivenEventListenerTests.java
@@ -840,6 +840,7 @@ public void handleIt(TestEvent event) { this.eventCollector.addEvent(this, event); } + @Override @EventListener @Async public void handleAsync(AnotherTestEvent event) { @@ -866,6 +867,7 @@ public void handleIt(TestEvent event) { this.eventCollector.addEvent(this, event); } ...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/java/org/springframework/context/event/ApplicationContextEventTests.java
@@ -633,6 +633,7 @@ public static class EventPublishingBeanPostProcessor implements BeanPostProcesso private ApplicationContext applicationContext; + @Override public void setApplicationContext(ApplicationContext applicationContext) { this.applicationContext = applicationContext; }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/java/org/springframework/context/expression/FactoryBeanAccessTests.java
@@ -77,14 +77,17 @@ public String getColour() { static class CarFactoryBean implements FactoryBean<Car> { + @Override public Car getObject() { return new Car(); } + @Override public Class<Car> getObjectType() { return Car.class; } + @Override public boolean isSingleton() {...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/java/org/springframework/scheduling/annotation/AsyncExecutionTests.java
@@ -565,11 +565,13 @@ public interface RegularInterface { @Async public static class AsyncClassBeanWithInterface implements RegularInterface { + @Override public void doSomething(int i) { boolean condition = !Thread.currentThread().getName().equals(originalThreadName); assertThat(condition).isTrue(); ...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/java/org/springframework/validation/beanvalidation/SpringValidatorAdapterTests.java
@@ -322,12 +322,14 @@ public static class SameValidator implements ConstraintValidator<Same, Object> { private String message; + @Override public void initialize(Same constraintAnnotation) { field = constraintAnnotation.field(); comparingField = constraintAnnotation.comparingField(); message = co...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/resources/org/springframework/scripting/groovy/Calculator.groovy
@@ -4,6 +4,7 @@ import org.springframework.scripting.Calculator class GroovyCalculator implements Calculator { + @Override int add(int x, int y) { return x + y; }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/resources/org/springframework/scripting/groovy/CallCounter.groovy
@@ -10,10 +10,12 @@ class GroovyCallCounter implements CallCounter { count = 0; } + @Override void before() { count++; } + @Override int getCalls() { return count; }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/resources/org/springframework/scripting/groovy/DelegatingCalculator.groovy
@@ -6,6 +6,7 @@ class DelegatingCalculator implements Calculator { def Calculator delegate; + @Override int add(int x, int y) { //println "hello" //println this.metaClass.getClass()
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/resources/org/springframework/scripting/groovy/ScriptBean.groovy
@@ -9,10 +9,12 @@ class GroovyScriptBean implements ContextScriptBean, ApplicationContextAware { private int age + @Override int getAge() { return this.age } + @Override void setAge(int age) { this.age = age }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-context/src/test/resources/org/springframework/scripting/groovy/TestFactoryBean.groovy
@@ -4,14 +4,17 @@ import org.springframework.beans.factory.FactoryBean class TestFactoryBean implements FactoryBean { + @Override public boolean isSingleton() { true } + @Override public Class getObjectType() { String.class } + @Override public Object getObject() { "test" }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-core/src/main/java/org/springframework/core/annotation/AbstractMergedAnnotation.java
@@ -54,91 +54,113 @@ public boolean hasNonDefaultValue(String attributeName) { return !hasDefaultValue(attributeName); } + @Override public byte getByte(String attributeName) { return getRequiredAttributeValue(attributeName, Byte.class); } + @Override public byte[] getByteArray(String attributeName) {...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-core/src/main/java/org/springframework/core/annotation/MissingMergedAnnotation.java
@@ -87,6 +87,7 @@ public int getAggregateIndex() { return -1; } + @Override public boolean hasNonDefaultValue(String attributeName) { throw new NoSuchElementException( "Unable to check non-default value for missing annotation"); @@ -160,6 +161,7 @@ protected <T> T getAttributeValue(String attributeName...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotation.java
@@ -377,6 +377,7 @@ private Object toString(@Nullable Object value) { return String.valueOf(value); } + @Override @Nullable protected <T> T getAttributeValue(String attributeName, Class<T> type) { int attributeIndex = getAttributeIndex(attributeName, false);
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotations.java
@@ -562,6 +562,7 @@ <A extends Annotation> MergedAnnotation<A> createMergedAnnotationIfPossible( this.aggregateCursor = 0; } + @Override public boolean tryAdvance(Consumer<? super MergedAnnotation<A>> action) { while (this.aggregateCursor < this.aggregates.size()) { Aggregate aggregate = this.aggr...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-expression/src/main/java/org/springframework/expression/spel/ast/OperatorMatches.java
@@ -118,15 +118,18 @@ public MatcherInput(CharSequence value, AccessCount access) { this.access = access; } + @Override public char charAt(int index) { this.access.check(); return this.value.charAt(index); } + @Override public CharSequence subSequence(int start, int end) { return new M...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-expression/src/test/java/org/springframework/expression/spel/SpelCompilationCoverageTests.java
@@ -5188,15 +5188,18 @@ private void assertIsCompiled(Expression expression) { public static class MyMessage implements Message<String> { + @Override public MessageHeaders getHeaders() { MessageHeaders mh = new MessageHeaders(); mh.put("command", "wibble"); mh.put("command2", "wobble"); return...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-expression/src/test/java/org/springframework/expression/spel/SpelReproTests.java
@@ -2261,6 +2261,7 @@ public TestClass2(String string) { this.string = string; } + @Override public boolean equals(Object other) { return (this == other || (other instanceof TestClass2 && this.string.equals(((TestClass2) other).string)));
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-jcl/src/main/java/org/apache/commons/logging/LogAdapter.java
@@ -280,92 +280,110 @@ public Slf4jLog(T logger) { this.logger = logger; } + @Override public boolean isFatalEnabled() { return isErrorEnabled(); } + @Override public boolean isErrorEnabled() { return this.logger.isErrorEnabled(); } + @Override public boolean isWarnEnabled() { ...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/init/HsqlDatabasePopulatorTests.java
@@ -24,6 +24,7 @@ */ public class HsqlDatabasePopulatorTests extends AbstractDatabasePopulatorTests { + @Override protected EmbeddedDatabaseType getEmbeddedDatabaseType() { return EmbeddedDatabaseType.HSQL; }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/init/ScriptUtilsIntegrationTests.java
@@ -34,6 +34,7 @@ */ public class ScriptUtilsIntegrationTests extends AbstractDatabaseInitializationTests { + @Override protected EmbeddedDatabaseType getEmbeddedDatabaseType() { return EmbeddedDatabaseType.HSQL; }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-jms/src/main/java/org/springframework/jms/connection/CachedMessageProducer.java
@@ -89,13 +89,15 @@ public boolean getDisableMessageTimestamp() throws JMSException { return this.target.getDisableMessageTimestamp(); } + @Override public void setDeliveryDelay(long deliveryDelay) throws JMSException { if (this.originalDeliveryDelay == null) { this.originalDeliveryDelay = this.target.g...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-jms/src/test/java/org/springframework/jms/StubTextMessage.java
@@ -65,91 +65,112 @@ public StubTextMessage(String text) { } + @Override public String getText() throws JMSException { return this.text; } + @Override public void setText(String text) throws JMSException { this.text = text; } + @Override public void acknowledge() throws JMSException { throw...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-jms/src/test/java/org/springframework/jms/config/JmsListenerContainerFactoryIntegrationTests.java
@@ -166,6 +166,7 @@ static class JmsEndpointSampleBean implements JmsEndpointSampleInterface { private final Map<String, Boolean> invocations = new HashMap<>(); + @Override public void handleIt(@Payload String msg, @Header("my-header") String myHeader) { invocations.put("handleIt", true); assertThat(...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-messaging/src/main/java/org/springframework/messaging/MessageHeaders.java
@@ -220,35 +220,43 @@ public <T> T get(Object key, Class<T> type) { // Delegating Map implementation + @Override public boolean containsKey(Object key) { return this.headers.containsKey(key); } + @Override public boolean containsValue(Object value) { return this.headers.containsValue(value); } +...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandler.java
@@ -303,6 +303,7 @@ public final boolean isRunning() { } + @Override protected List<HandlerMethodArgumentResolver> initArgumentResolvers() { ApplicationContext context = getApplicationContext(); ConfigurableBeanFactory beanFactory = (context instanceof ConfigurableApplicationContext ?
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-messaging/src/main/java/org/springframework/messaging/simp/broker/OrderedMessageSender.java
@@ -59,6 +59,7 @@ public OrderedMessageSender(MessageChannel channel, Log logger) { } + @Override public boolean send(Message<?> message) { return send(message, -1); }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-messaging/src/main/java/org/springframework/messaging/simp/config/StompBrokerRelayRegistration.java
@@ -231,6 +231,7 @@ protected String getUserRegistryBroadcast() { } + @Override protected StompBrokerRelayMessageHandler getMessageHandler(SubscribableChannel brokerChannel) { StompBrokerRelayMessageHandler handler = new StompBrokerRelayMessageHandler(
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/DefaultStompSession.java
@@ -689,8 +689,10 @@ public void run() { if (conn != null) { conn.send(HEARTBEAT).addCallback( new ListenableFutureCallback<Void>() { + @Override public void onSuccess(@Nullable Void result) { } + @Override public void onFailure(Throwable ex) { handleFailure(...
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java
@@ -1086,6 +1086,7 @@ public int getTotalDisconnect() { return this.disconnect.get(); } + @Override public String toString() { return (connectionHandlers.size() + " sessions, " + getTcpClientInfo() + (isBrokerAvailable() ? " (available)" : " (not available)") +
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompReactorNettyCodec.java
@@ -53,6 +53,7 @@ protected List<Message<byte[]>> decodeInternal(ByteBuffer nioBuffer) { return this.decoder.decode(nioBuffer); } + @Override protected ByteBuffer encodeInternal(Message<byte[]> message) { return ByteBuffer.wrap(this.encoder.encode(message)); }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-messaging/src/main/java/org/springframework/messaging/support/ChannelInterceptorAdapter.java
@@ -47,6 +47,7 @@ public void postSend(Message<?> message, MessageChannel channel, boolean sent) { public void afterSendCompletion(Message<?> message, MessageChannel channel, boolean sent, @Nullable Exception ex) { } + @Override public boolean preReceive(MessageChannel channel) { return true; }
true
Other
spring-projects
spring-framework
ad6231ad2989ca5428bb51afdf48a9112710ce1d.json
Add missing @Override annotations
spring-messaging/src/main/java/org/springframework/messaging/support/GenericMessage.java
@@ -77,15 +77,18 @@ public GenericMessage(T payload, MessageHeaders headers) { } + @Override public T getPayload() { return this.payload; } + @Override public MessageHeaders getHeaders() { return this.headers; } + @Override public boolean equals(@Nullable Object other) { if (this == other...
true