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
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/RequestEntity.java
@@ -33,7 +33,10 @@ * {@link org.springframework.web.client.RestTemplate#exchange(RequestEntity, Class) exchange()}: * <pre class="code"> * MyRequest body = ... - * RequestEntity&lt;MyRequest&gt; request = RequestEntity.post(new URI(&quot;http://example.com/bar&quot;)).accept(MediaType.APPLICATION_JSON).body(body)...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/client/AsyncClientHttpRequestExecution.java
@@ -31,7 +31,8 @@ * @author Rossen Stoyanchev * @since 4.3 * @see AsyncClientHttpRequestInterceptor - * @deprecated as of Spring 5.0, in favor of {@link org.springframework.web.reactive.function.client.ExchangeFilterFunction} + * @deprecated as of Spring 5.0, in favor of + * {@link org.springframework.web.reactiv...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/client/AsyncClientHttpRequestInterceptor.java
@@ -36,7 +36,8 @@ * @since 4.3 * @see org.springframework.web.client.AsyncRestTemplate * @see org.springframework.http.client.support.InterceptingAsyncHttpAccessor - * @deprecated as of Spring 5.0, in favor of {@link org.springframework.web.reactive.function.client.ExchangeFilterFunction} + * @deprecated as of Sp...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/client/ClientHttpRequestInterceptor.java
@@ -21,12 +21,14 @@ import org.springframework.http.HttpRequest; /** - * Intercepts client-side HTTP requests. Implementations of this interface can be {@linkplain - * org.springframework.web.client.RestTemplate#setInterceptors(java.util.List) registered} with the - * {@link org.springframework.web.client.RestTempl...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/client/HttpComponentsAsyncClientHttpRequest.java
@@ -160,7 +160,9 @@ public void addCallback(ListenableFutureCallback<? super ClientHttpResponse> cal } @Override - public void addCallback(SuccessCallback<? super ClientHttpResponse> successCallback, FailureCallback failureCallback) { + public void addCallback(SuccessCallback<? super ClientHttpResponse> succe...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/client/Netty4ClientHttpRequest.java
@@ -50,7 +50,8 @@ * @author Rossen Stoyanchev * @author Brian Clozel * @since 4.1.2 - * @deprecated as of Spring 5.0, in favor of {@link org.springframework.http.client.reactive.ReactorClientHttpConnector} + * @deprecated as of Spring 5.0, in favor of + * {@link org.springframework.http.client.reactive.ReactorCli...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/client/Netty4ClientHttpRequestFactory.java
@@ -57,7 +57,8 @@ * @author Brian Clozel * @author Mark Paluch * @since 4.1.2 - * @deprecated as of Spring 5.0, in favor of {@link org.springframework.http.client.reactive.ReactorClientHttpConnector} + * @deprecated as of Spring 5.0, in favor of + * {@link org.springframework.http.client.reactive.ReactorClientHtt...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/client/Netty4ClientHttpResponse.java
@@ -33,7 +33,8 @@ * * @author Arjen Poutsma * @since 4.1.2 - * @deprecated as of Spring 5.0, in favor of {@link org.springframework.http.client.reactive.ReactorClientHttpConnector} + * @deprecated as of Spring 5.0, in favor of + * {@link org.springframework.http.client.reactive.ReactorClientHttpConnector} */ @...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/client/support/AsyncHttpAccessor.java
@@ -54,7 +54,9 @@ public class AsyncHttpAccessor { * Set the request factory that this accessor uses for obtaining {@link * org.springframework.http.client.ClientHttpRequest HttpRequests}. */ - public void setAsyncRequestFactory(org.springframework.http.client.AsyncClientHttpRequestFactory asyncRequestFactory)...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Encoder.java
@@ -99,7 +99,7 @@ public Flux<DataBuffer> encode(Publisher<?> inputStream, DataBufferFactory buffe return Flux.from(inputStream).map(value -> encodeValue(value, mimeType, bufferFactory, elementType, hints)); } - else if (this.streamingMediaTypes.stream().anyMatch(streamingMediaType -> streamingMediaType.i...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/converter/AbstractGenericHttpMessageConverter.java
@@ -79,8 +79,8 @@ public boolean canWrite(@Nullable Type type, Class<?> clazz, @Nullable MediaType * This implementation sets the default headers by calling {@link #addDefaultHeaders}, * and then calls {@link #writeInternal}. */ - public final void write(final T t, @Nullable final Type type, @Nullable MediaTyp...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java
@@ -332,7 +332,9 @@ public void writeTo(OutputStream outputStream) throws IOException { } } - private void writeMultipart(final MultiValueMap<String, Object> parts, HttpOutputMessage outputMessage) throws IOException { + private void writeMultipart(final MultiValueMap<String, Object> parts, + HttpOutputMessage...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/converter/feed/AbstractWireFeedHttpMessageConverter.java
@@ -49,7 +49,8 @@ * @see AtomFeedHttpMessageConverter * @see RssChannelHttpMessageConverter */ -public abstract class AbstractWireFeedHttpMessageConverter<T extends WireFeed> extends AbstractHttpMessageConverter<T> { +public abstract class AbstractWireFeedHttpMessageConverter<T extends WireFeed> + extends Abstra...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/converter/json/Jackson2ObjectMapperBuilder.java
@@ -76,10 +76,14 @@ * <p>It also automatically registers the following well-known modules if they are * detected on the classpath: * <ul> - * <li><a href="https://github.com/FasterXML/jackson-datatype-jdk8">jackson-datatype-jdk8</a>: support for other Java 8 types like {@link java.util.Optional}</li> - * <li><a h...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/converter/json/Jackson2ObjectMapperFactoryBean.java
@@ -114,11 +114,16 @@ * <p>It also automatically registers the following well-known modules if they are * detected on the classpath: * <ul> - * <li><a href="https://github.com/FasterXML/jackson-datatype-jdk7">jackson-datatype-jdk7</a>: support for Java 7 types like {@link java.nio.file.Path}</li> - * <li><a href=...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/converter/json/SpringHandlerInstantiator.java
@@ -70,22 +70,30 @@ public SpringHandlerInstantiator(AutowireCapableBeanFactory beanFactory) { @Override - public JsonDeserializer<?> deserializerInstance(DeserializationConfig config, Annotated annotated, Class<?> implClass) { + public JsonDeserializer<?> deserializerInstance(DeserializationConfig config, + An...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/http/converter/support/AllEncompassingFormHttpMessageConverter.java
@@ -40,20 +40,26 @@ public class AllEncompassingFormHttpMessageConverter extends FormHttpMessageConv ClassUtils.isPresent("javax.xml.bind.Binder", AllEncompassingFormHttpMessageConverter.class.getClassLoader()); private static final boolean jackson2Present = - ClassUtils.isPresent("com.fasterxml.jackson.datab...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/HttpMediaTypeNotSupportedException.java
@@ -50,7 +50,8 @@ public HttpMediaTypeNotSupportedException(String message) { * @param supportedMediaTypes the list of supported media types */ public HttpMediaTypeNotSupportedException(@Nullable MediaType contentType, List<MediaType> supportedMediaTypes) { - this(contentType, supportedMediaTypes, "Content typ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/bind/EscapedErrors.java
@@ -110,7 +110,9 @@ public void rejectValue(@Nullable String field, String errorCode, String default } @Override - public void rejectValue(@Nullable String field, String errorCode, @Nullable Object[] errorArgs, @Nullable String defaultMessage) { + public void rejectValue(@Nullable String field, String errorCode, ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/client/AsyncRequestCallback.java
@@ -19,15 +19,18 @@ import java.io.IOException; /** - * Callback interface for code that operates on an {@link org.springframework.http.client.AsyncClientHttpRequest}. Allows - * to manipulate the request headers, and write to the request body. + * Callback interface for code that operates on an + * {@link org.spri...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/client/AsyncRestOperations.java
@@ -347,8 +347,11 @@ <T> ListenableFuture<ResponseEntity<T>> exchange(URI url, HttpMethod method, * The given {@link ParameterizedTypeReference} is used to pass generic type * information: * <pre class="code"> - * ParameterizedTypeReference&lt;List&lt;MyBean&gt;&gt; myBean = new ParameterizedTypeReference&lt;...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/client/AsyncRestTemplate.java
@@ -67,7 +67,8 @@ * @deprecated as of Spring 5.0, in favor of {@link org.springframework.web.reactive.function.client.WebClient} */ @Deprecated -public class AsyncRestTemplate extends org.springframework.http.client.support.InterceptingAsyncHttpAccessor implements AsyncRestOperations { +public class AsyncRestTempl...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/client/RestOperations.java
@@ -87,7 +87,8 @@ public interface RestOperations { * @return the entity * @since 3.0.2 */ - <T> ResponseEntity<T> getForEntity(String url, Class<T> responseType, Object... uriVariables) throws RestClientException; + <T> ResponseEntity<T> getForEntity(String url, Class<T> responseType, Object... uriVariables) ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/client/RestTemplate.java
@@ -385,15 +385,19 @@ public HttpHeaders headForHeaders(URI url) throws RestClientException { @Override @Nullable - public URI postForLocation(String url, @Nullable Object request, Object... uriVariables) throws RestClientException { + public URI postForLocation(String url, @Nullable Object request, Object... uri...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/context/request/async/DeferredResultInterceptorChain.java
@@ -42,7 +42,9 @@ public DeferredResultInterceptorChain(List<DeferredResultProcessingInterceptor> this.interceptors = interceptors; } - public void applyBeforeConcurrentHandling(NativeWebRequest request, DeferredResult<?> deferredResult) throws Exception { + public void applyBeforeConcurrentHandling(NativeWebReq...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncManager.java
@@ -270,7 +270,9 @@ public void startCallableProcessing(Callable<?> callable, Object... processingCo * via {@link #getConcurrentResultContext()} * @throws Exception if concurrent processing failed to start */ - public void startCallableProcessing(final WebAsyncTask<?> webAsyncTask, Object... processingContext)...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/context/support/RequestHandledEvent.java
@@ -61,7 +61,9 @@ public class RequestHandledEvent extends ApplicationEvent { * request, if any (usually the UserPrincipal) * @param processingTimeMillis the processing time of the request in milliseconds */ - public RequestHandledEvent(Object source, @Nullable String sessionId, @Nullable String userName, long...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/context/support/WebApplicationContextUtils.java
@@ -21,7 +21,6 @@ import java.util.Enumeration; import java.util.HashMap; import java.util.Map; - import javax.faces.context.ExternalContext; import javax.faces.context.FacesContext; import javax.servlet.ServletConfig; @@ -180,7 +179,9 @@ public static void registerWebApplicationScopes(ConfigurableListableBeanFac...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/cors/DefaultCorsProcessor.java
@@ -58,8 +58,8 @@ public class DefaultCorsProcessor implements CorsProcessor { @Override @SuppressWarnings("resource") - public boolean processRequest(@Nullable CorsConfiguration config, HttpServletRequest request, HttpServletResponse response) - throws IOException { + public boolean processRequest(@Nullable Co...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/jsf/DecoratingNavigationHandler.java
@@ -98,8 +98,8 @@ public final void handleNavigation(FacesContext facesContext, String fromAction, * or {@code null} if none * @see #callNextHandlerInChain */ - public abstract void handleNavigation( - FacesContext facesContext, @Nullable String fromAction, @Nullable String outcome, @Nullable NavigationHandl...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java
@@ -100,7 +100,9 @@ public RequestParamMethodArgumentResolver(boolean useDefaultResolution) { * is treated as a request parameter even if it isn't annotated, the * request parameter name is derived from the method parameter name. */ - public RequestParamMethodArgumentResolver(@Nullable ConfigurableBeanFactory ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/method/support/HandlerMethodArgumentResolverComposite.java
@@ -72,7 +72,9 @@ public HandlerMethodArgumentResolverComposite addResolvers(@Nullable HandlerMeth /** * Add the given {@link HandlerMethodArgumentResolver}s. */ - public HandlerMethodArgumentResolverComposite addResolvers(@Nullable List<? extends HandlerMethodArgumentResolver> resolvers) { + public HandlerMeth...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/multipart/support/StandardMultipartHttpServletRequest.java
@@ -76,7 +76,9 @@ public StandardMultipartHttpServletRequest(HttpServletRequest request) throws Mu * first access of multipart files or parameters * @throws MultipartException if an immediate parsing attempt failed */ - public StandardMultipartHttpServletRequest(HttpServletRequest request, boolean lazyParsing)...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/util/ServletContextPropertyUtils.java
@@ -73,13 +73,16 @@ public static String resolvePlaceholders(String text, ServletContext servletCont * @see SystemPropertyUtils#resolvePlaceholders(String, boolean) * @throws IllegalArgumentException if there is an unresolvable placeholder and the flag is false */ - public static String resolvePlaceholders(...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/util/TagUtils.java
@@ -125,11 +125,14 @@ public static boolean hasAncestorOfType(Tag tag, Class<?> ancestorTagClass) { * type-assignable to the {@link Tag} class * @see #hasAncestorOfType(javax.servlet.jsp.tagext.Tag, Class) */ - public static void assertHasAncestorOfType(Tag tag, Class<?> ancestorTagClass, String tagName, Strin...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/util/UriUtils.java
@@ -229,8 +229,11 @@ public static String encodeQuery(String query, Charset charset) { * @return the encoded query parameter * @throws UnsupportedEncodingException when the given encoding parameter is not supported */ - public static String encodeQueryParam(String queryParam, String encoding) throws Unsupporte...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/util/UrlPathHelper.java
@@ -554,7 +554,9 @@ public Map<String, String> decodePathVariables(HttpServletRequest request, Map<S * @param vars URI variables extracted from the URL path * @return the same Map or a new Map instance */ - public MultiValueMap<String, String> decodeMatrixVariables(HttpServletRequest request, MultiValueMap<Str...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/util/WebUtils.java
@@ -435,7 +435,9 @@ public static boolean isIncludeRequest(ServletRequest request) { * @param ex the exception encountered * @param servletName the name of the offending servlet */ - public static void exposeErrorRequestAttributes(HttpServletRequest request, Throwable ex, @Nullable String servletName) { + publ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/util/pattern/CaptureVariablePathElement.java
@@ -82,7 +82,8 @@ public boolean matches(int pathIndex, PathPattern.MatchingContext matchingContex } if (this.constraintPattern != null) { - // TODO possible optimization - only regex match if rest of pattern matches? Benefit likely to vary pattern to pattern + // TODO possible optimization - only regex mat...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java
@@ -381,7 +381,9 @@ else if (!StringUtils.hasLength(pattern2string.patternString)) { // /hotels/* + /booking => /hotels/booking // /hotels/* + booking => /hotels/booking if (this.endsWithSeparatorWildcard) { - return parser.parse(concat(this.patternString.substring(0, this.patternString.length() - 2), patter...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/java/org/springframework/web/util/pattern/PatternParseException.java
@@ -98,8 +98,8 @@ public enum PatternMessage { MISSING_OPEN_CAPTURE("Missing preceeding open capture character before variable name'{'"), ILLEGAL_NESTED_CAPTURE("Not allowed to nest variable captures"), CANNOT_HAVE_ADJACENT_CAPTURES("Adjacent captures are not allowed"), - ILLEGAL_CHARACTER_AT_START_OF_CAPTURE...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/main/kotlin/org/springframework/web/client/RestOperationsExtensions.kt
@@ -25,7 +25,8 @@ import java.net.URI /** - * Extension for [RestOperations.getForObject] avoiding specifying the type parameter thanks to Kotlin reified type parameters. + * Extension for [RestOperations.getForObject] avoiding specifying the type + * parameter thanks to Kotlin reified type parameters. * * @au...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/http/ContentDispositionTests.java
@@ -81,21 +81,24 @@ public void parseInvalidParameter() { @Test public void parseDates() { ContentDisposition disposition = ContentDisposition - .parse("attachment; creation-date=\"Mon, 12 Feb 2007 10:15:30 -0500\"; modification-date=\"Tue, 13 Feb 2007 10:15:30 -0500\"; read-date=\"Wed, 14 Feb 2007 10:15:30 -...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/http/ResponseEntityTests.java
@@ -240,7 +240,8 @@ public void cacheControl() { assertTrue(responseEntity.getHeaders().containsKey(HttpHeaders.CACHE_CONTROL)); assertEquals(entity, responseEntity.getBody()); String cacheControlHeader = responseEntity.getHeaders().getCacheControl(); - assertThat(cacheControlHeader, Matchers.equalTo("max-age...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/http/codec/json/Jackson2JsonEncoderTests.java
@@ -102,7 +102,10 @@ public void encode() throws Exception { Flux<DataBuffer> output = this.encoder.encode(source, this.bufferFactory, type, null, emptyMap()); StepVerifier.create(output) - .consumeNextWith(stringConsumer("[{\"foo\":\"foo\",\"bar\":\"bar\"},{\"foo\":\"foofoo\",\"bar\":\"barbar\"},{\"foo\":\"...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/http/converter/FormHttpMessageConverterTests.java
@@ -87,7 +87,8 @@ public void canWrite() { public void readForm() throws Exception { String body = "name+1=value+1&name+2=value+2%2B1&name+2=value+2%2B2&name+3"; MockHttpInputMessage inputMessage = new MockHttpInputMessage(body.getBytes(StandardCharsets.ISO_8859_1)); - inputMessage.getHeaders().setContentType(...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/http/converter/json/GsonHttpMessageConverterTests.java
@@ -18,6 +18,7 @@ import java.io.IOException; import java.lang.reflect.Field; +import java.lang.reflect.Type; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.util.ArrayList; @@ -156,7 +157,8 @@ public void readGenerics() throws Exception { MockHttpInputMessage inputMessa...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/http/converter/json/Jackson2ObjectMapperBuilderTests.java
@@ -73,8 +73,15 @@ import org.springframework.beans.FatalBeanException; -import static org.hamcrest.Matchers.*; -import static org.junit.Assert.*; +import static org.hamcrest.Matchers.containsString; +import static org.hamcrest.Matchers.not; +import static org.junit.Assert.assertEquals; +import static org.junit.As...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/http/converter/json/MappingJackson2HttpMessageConverterTests.java
@@ -84,8 +84,13 @@ public void canReadAndWriteMicroformats() { @Test public void readTyped() throws IOException { - String body = - "{\"bytes\":\"AQI=\",\"array\":[\"Foo\",\"Bar\"],\"number\":42,\"string\":\"Foo\",\"bool\":true,\"fraction\":42.0}"; + String body = "{" + + "\"bytes\":\"AQI=\"," + + "\"a...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/http/converter/json/SpringHandlerInstantiatorTests.java
@@ -136,7 +136,9 @@ public static class UserSerializer extends JsonSerializer<User> { private Capitalizer capitalizer; @Override - public void serialize(User user, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException { + public void serialize(User user, JsonGenerator jsonGene...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/http/converter/xml/Jaxb2RootElementHttpMessageConverterTests.java
@@ -82,15 +82,20 @@ public void setUp() { @Test public void canRead() throws Exception { - assertTrue("Converter does not support reading @XmlRootElement", converter.canRead(RootElement.class, null)); - assertTrue("Converter does not support reading @XmlType", converter.canRead(Type.class, null)); + assertTrue...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/http/converter/xml/MappingJackson2XmlHttpMessageConverterTests.java
@@ -65,7 +65,14 @@ public void canWrite() { @Test public void read() throws IOException { - String body = "<MyBean><string>Foo</string><number>42</number><fraction>42.0</fraction><array><array>Foo</array><array>Bar</array></array><bool>true</bool><bytes>AQI=</bytes></MyBean>"; + String body = "<MyBean>" + + ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/mock/web/test/MockExpressionEvaluator.java
@@ -57,31 +57,36 @@ public javax.servlet.jsp.el.Expression parseExpression(final String expression, return new javax.servlet.jsp.el.Expression() { @Override - public Object evaluate(javax.servlet.jsp.el.VariableResolver variableResolver) throws javax.servlet.jsp.el.ELException { + public Object evaluate(ja...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/protobuf/Msg.java
@@ -526,7 +526,8 @@ public Builder setFooBytes( // optional .SecondMsg blah = 2; private org.springframework.protobuf.SecondMsg blah_ = org.springframework.protobuf.SecondMsg.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< - org.springframework.protobuf.SecondMsg, org.springf...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/remoting/jaxws/OrderServiceImpl.java
@@ -25,7 +25,8 @@ /** * @author Juergen Hoeller */ -@WebService(serviceName="OrderService", portName="OrderService", endpointInterface = "org.springframework.remoting.jaxws.OrderService") +@WebService(serviceName="OrderService", portName="OrderService", + endpointInterface = "org.springframework.remoting.jaxws.Or...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/bind/EscapedErrorsTests.java
@@ -50,12 +50,13 @@ public void testEscapedErrors() { assertTrue("Correct global errors flag", errors.hasGlobalErrors()); assertTrue("Correct number of global errors", errors.getGlobalErrorCount() == 1); ObjectError globalError = errors.getGlobalError(); - assertTrue("Global error message escaped", "message: ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/client/RestTemplateIntegrationTests.java
@@ -58,6 +58,7 @@ import org.springframework.util.MultiValueMap; import static org.junit.Assert.*; +import static org.springframework.http.HttpMethod.POST; /** * @author Arjen Poutsma @@ -248,8 +249,8 @@ public void exchangePost() throws Exception { HttpHeaders requestHeaders = new HttpHeaders(); request...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/client/RestTemplateTests.java
@@ -47,6 +47,7 @@ import static org.junit.Assert.*; import static org.mockito.BDDMockito.*; +import static org.springframework.http.HttpMethod.POST; import static org.springframework.http.MediaType.*; /** @@ -326,7 +327,7 @@ public void headForHeaders() throws Exception { @Test public void postForLocation...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/context/request/ServletWebRequestHttpMethodsTests.java
@@ -126,7 +126,8 @@ public void checkNotModifiedTimestamp() throws Exception { assertTrue(request.checkNotModified(epochTime)); assertEquals(304, servletResponse.getStatus()); - assertEquals(RFC_1123_DATE_TIME.format(Instant.ofEpochMilli(epochTime).atZone(GMT)), servletResponse.getHeader("Last-Modified")); + ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/context/support/StandardServletEnvironmentTests.java
@@ -42,11 +42,16 @@ public void propertySourceOrder() throws Exception { ConfigurableEnvironment env = new StandardServletEnvironment(); MutablePropertySources sources = env.getPropertySources(); - assertThat(sources.precedenceOf(PropertySource.named(StandardServletEnvironment.SERVLET_CONFIG_PROPERTY_SOURCE_NA...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/cors/CorsConfigurationTests.java
@@ -232,8 +232,10 @@ public void checkHeadersAllowed() { config.addAllowedHeader("header1"); config.addAllowedHeader("header2"); assertEquals(Arrays.asList("header1"), config.checkHeaders(Arrays.asList("header1"))); - assertEquals(Arrays.asList("header1", "header2"), config.checkHeaders(Arrays.asList("header1...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/cors/UrlBasedCorsConfigurationSourceTests.java
@@ -32,15 +32,20 @@ public class UrlBasedCorsConfigurationSourceTests { @Test public void empty() { - assertNull(this.configSource.getCorsConfiguration(new MockHttpServletRequest(HttpMethod.GET.name(), "/bar/test.html"))); + MockHttpServletRequest request = new MockHttpServletRequest(HttpMethod.GET.name(), "/ba...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/filter/CharacterEncodingFilterTests.java
@@ -46,7 +46,7 @@ public void forceEncodingAlwaysSetsEncoding() throws Exception { HttpServletRequest request = mock(HttpServletRequest.class); request.setCharacterEncoding(ENCODING); given(request.getAttribute(WebUtils.ERROR_REQUEST_URI_ATTRIBUTE)).willReturn(null); - given(request.getAttribute(FILTER_NAME +...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/filter/DelegatingFilterProxyTests.java
@@ -146,7 +146,9 @@ public void testDelegatingFilterProxyWithTargetBeanName() throws ServletExceptio } @Test - public void testDelegatingFilterProxyWithTargetBeanNameAndNotYetRefreshedApplicationContext() throws ServletException, IOException { + public void testDelegatingFilterProxyWithTargetBeanNameAndNotYetRefr...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/jsf/DelegatingNavigationHandlerTests.java
@@ -91,8 +91,9 @@ static class TestDecoratingNavigationHandler extends DecoratingNavigationHandler private String lastOutcome; @Override - public void handleNavigation( - FacesContext facesContext, @Nullable String fromAction, @Nullable String outcome, @Nullable NavigationHandler originalNavigationHandler) ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/util/UriComponentsBuilderTests.java
@@ -49,7 +49,9 @@ public class UriComponentsBuilderTests { @Test public void plain() throws URISyntaxException { UriComponentsBuilder builder = UriComponentsBuilder.newInstance(); - UriComponents result = builder.scheme("http").host("example.com").path("foo").queryParam("bar").fragment("baz").build(); + UriCom...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/util/UriComponentsTests.java
@@ -159,24 +159,26 @@ public void copyToUriComponentsBuilder() { @Test public void equalsHierarchicalUriComponents() throws Exception { - UriComponents uriComponents1 = UriComponentsBuilder.fromUriString("http://example.com").path("/{foo}").query("bar={baz}").build(); - UriComponents uriComponents2 = UriCompone...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/util/WebUtilsTests.java
@@ -30,7 +30,10 @@ import org.springframework.mock.web.test.MockHttpServletRequest; import org.springframework.util.MultiValueMap; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; +import static ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/util/pattern/PathPatternParserTests.java
@@ -33,7 +33,6 @@ /** * Exercise the {@link PathPatternParser}. - * * @author Andy Clement */ public class PathPatternParserTests { @@ -62,7 +61,8 @@ public void singleCharWildcardPatterns() { public void multiwildcardPattern() { pathPattern = checkStructure("/**"); assertPathElements(pathPattern, Wil...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-web/src/test/java/org/springframework/web/util/pattern/PathPatternTests.java
@@ -329,13 +329,16 @@ public void pathRemainingCornerCases_spr15336() { // With a /** on the end have to check if there is any more data post // 'the match' it starts with a separator assertNull(parse("/resource/**").matchStartOfPath(toPathContainer("/resourceX"))); - assertEquals("",parse("/resource/**").mat...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractors.java
@@ -84,7 +84,9 @@ public static <T> BodyExtractor<Mono<T>, ReactiveHttpInputMessage> toMono(Class< * @param <T> the element type * @return a {@code BodyExtractor} that reads a mono */ - public static <T> BodyExtractor<Mono<T>, ReactiveHttpInputMessage> toMono(ParameterizedTypeReference<T> typeReference) { + pu...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultWebClient.java
@@ -298,7 +298,9 @@ public RequestHeadersSpec<?> body(BodyInserter<?, ? super ClientHttpRequest> ins } @Override - public <T, P extends Publisher<T>> RequestHeadersSpec<?> body(P publisher, ParameterizedTypeReference<T> typeReference) { + public <T, P extends Publisher<T>> RequestHeadersSpec<?> body(P publish...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFilterFunctions.java
@@ -42,10 +42,11 @@ public abstract class ExchangeFilterFunctions { /** - * Name of the {@link ClientRequest} attribute that contains the {@link Credentials}, as used by - * {@link #basicAuthentication()} + * Name of the {@link ClientRequest} attribute that contains the + * {@link Credentials}, as used by {@li...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/EntityResponse.java
@@ -86,7 +86,9 @@ static <T, P extends Publisher<T>> Builder<P> fromPublisher(P publisher, Class<T * @param <P> the type of the {@code Publisher} * @return the created builder */ - static <T, P extends Publisher<T>> Builder<P> fromPublisher(P publisher, ParameterizedTypeReference<T> typeReference) { + static <...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/RequestMappingInfo.java
@@ -71,8 +71,9 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping private final RequestConditionHolder customConditionHolder; - public RequestMappingInfo(@Nullable String name, @Nullable PatternsRequestCondition patterns, @Nullable RequestMethodsRequestCondition methods, - @Null...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/AbstractNamedValueArgumentResolver.java
@@ -75,7 +75,9 @@ public abstract class AbstractNamedValueArgumentResolver extends HandlerMethodAr * values are not expected to contain expressions * @param registry for checking reactive type wrappers */ - public AbstractNamedValueArgumentResolver(@Nullable ConfigurableBeanFactory factory, ReactiveAdapterRegi...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/CookieValueMethodArgumentResolver.java
@@ -44,7 +44,9 @@ public class CookieValueMethodArgumentResolver extends AbstractNamedValueSyncArg * or {@code null} if default values are not expected to contain expressions * @param registry for checking reactive type wrappers */ - public CookieValueMethodArgumentResolver(@Nullable ConfigurableBeanFactory fa...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/ExpressionValueMethodArgumentResolver.java
@@ -42,7 +42,9 @@ public class ExpressionValueMethodArgumentResolver extends AbstractNamedValueSyn * or {@code null} if default values are not expected to contain expressions * @param registry for checking reactive type wrappers */ - public ExpressionValueMethodArgumentResolver(@Nullable ConfigurableBeanFactor...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/PathVariableMethodArgumentResolver.java
@@ -60,7 +60,9 @@ public class PathVariableMethodArgumentResolver extends AbstractNamedValueSyncAr * or {@code null} if default values are not expected to contain expressions * @param registry for checking reactive type wrappers */ - public PathVariableMethodArgumentResolver(@Nullable ConfigurableBeanFactory f...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/RequestAttributeMethodArgumentResolver.java
@@ -42,7 +42,9 @@ public class RequestAttributeMethodArgumentResolver extends AbstractNamedValueSy * or {@code null} if default values are not expected to have expressions * @param registry for checking reactive type wrappers */ - public RequestAttributeMethodArgumentResolver(@Nullable ConfigurableBeanFactory ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/RequestHeaderMethodArgumentResolver.java
@@ -53,7 +53,9 @@ public class RequestHeaderMethodArgumentResolver extends AbstractNamedValueSyncA * or {@code null} if default values are not expected to have expressions * @param registry for checking reactive type wrappers */ - public RequestHeaderMethodArgumentResolver(@Nullable ConfigurableBeanFactory fac...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/main/java/org/springframework/web/reactive/result/view/HttpMessageWriterView.java
@@ -113,7 +113,9 @@ public final Set<String> getModelKeys() { @Override @SuppressWarnings("unchecked") - public Mono<Void> render(@Nullable Map<String, ?> model, @Nullable MediaType contentType, ServerWebExchange exchange) { + public Mono<Void> render(@Nullable Map<String, ?> model, @Nullable MediaType contentTyp...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/config/DelegatingWebFluxConfigurationTests.java
@@ -84,19 +84,19 @@ public void requestMappingHandlerMapping() throws Exception { @Test public void requestMappingHandlerAdapter() throws Exception { delegatingConfig.setConfigurers(Collections.singletonList(webFluxConfigurer)); - RequestMappingHandlerAdapter adapter = delegatingConfig.requestMappingHandlerAdap...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/config/WebFluxConfigurationSupportTests.java
@@ -87,18 +87,18 @@ public class WebFluxConfigurationSupportTests { @Test public void requestMappingHandlerMapping() throws Exception { ApplicationContext context = loadConfig(WebFluxConfig.class); - final Field trailingSlashField = ReflectionUtils.findField(PathPatternParser.class, "matchOptionalTrailingSepara...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/function/BodyExtractorsTests.java
@@ -126,8 +126,8 @@ public void toMono() throws Exception { @Test public void toMonoParameterizedTypeReference() throws Exception { - ParameterizedTypeReference<Map<String, String>> typeReference = new ParameterizedTypeReference<Map<String, String>>() {}; - BodyExtractor<Mono<Map<String, String>>, ReactiveHttpI...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/function/server/PathResourceLookupFunctionTests.java
@@ -66,7 +66,8 @@ public void subPath() throws Exception { .uri(new URI("http://localhost/resources/child/response.txt")) .build(); Mono<Resource> result = function.apply(request); - File expected = new ClassPathResource("org/springframework/web/reactive/function/server/child/response.txt").getFile(); + ...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/condition/ProducesRequestConditionTests.java
@@ -41,15 +41,15 @@ public class ProducesRequestConditionTests { @Test public void match() throws Exception { - MockServerWebExchange exchange = MockServerWebExchange.from(MockServerHttpRequest.get("/").header("Accept", "text/plain")); + MockServerWebExchange exchange = MockServerWebExchange.from(get("/").heade...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/RequestMappingInfoHandlerMappingTests.java
@@ -18,9 +18,11 @@ import java.lang.reflect.Method; import java.net.URI; +import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.EnumSet; +import java.util.List; import java.util.Map; import java.util.Set; import java.util.function.Consumer; @@ -190,9 +192,12 @@ pu...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/JacksonHintsIntegrationTests.java
@@ -85,9 +85,12 @@ public void jsonViewWithMonoRequest() throws Exception { @Test public void jsonViewWithFluxRequest() throws Exception { - String expected = "[{\"withView1\":\"with\",\"withView2\":null,\"withoutView\":null}," + + String expected = "[" + + "{\"withView1\":\"with\",\"withView2\":null,\"witho...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/MessageReaderArgumentResolverTests.java
@@ -321,7 +321,7 @@ public boolean supportsParameter(MethodParameter parameter) { return false; } @Override - public Mono<Object> resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) { + public Mono<Object> resolveArgument(MethodParameter p, BindingConte...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingExceptionHandlingIntegrationTests.java
@@ -67,7 +67,8 @@ public void controllerThrowingExceptionWithCause() throws Exception { @Test public void controllerThrowingExceptionWithCauseToHandle() throws Exception { String expected = "Recovered from error: IO"; - assertEquals(expected, performGet("/thrown-exception-with-cause-to-handle", new HttpHeaders(...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingMessageConversionIntegrationTests.java
@@ -360,7 +360,8 @@ public void personCreateWithObservableXml() throws Exception { @Test public void personCreateWithRxJava2ObservableXml() throws Exception { People people = new People(new Person("Robert"), new Person("Marie")); - ResponseEntity<Void> response = performPost("/person-create/rxjava2-observable",...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityResultHandlerTests.java
@@ -235,7 +235,8 @@ public void handleReturnTypes() throws Exception { public void handleReturnValueLastModified() throws Exception { Instant currentTime = Instant.now().truncatedTo(ChronoUnit.SECONDS); Instant oneMinAgo = currentTime.minusSeconds(60); - MockServerWebExchange exchange = MockServerWebExchange.f...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/view/AbstractViewTests.java
@@ -68,11 +68,12 @@ public void resolveAsyncAttributes() { TestView view = new TestView(); StepVerifier.create(view.render(attributes, null, this.exchange)).verifyComplete(); - assertEquals(testBean1, view.attributes.get("attr1")); - assertArrayEquals(new TestBean[] {testBean1, testBea...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/JRubyScriptTemplateTests.java
@@ -45,7 +45,8 @@ public void renderTemplate() throws Exception { Map<String, Object> model = new HashMap<>(); model.put("title", "Layout example"); model.put("body", "This is the body"); - MockServerHttpResponse response = renderViewWithModel("org/springframework/web/reactive/result/view/script/jruby/templat...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/JythonScriptTemplateTests.java
@@ -43,7 +43,8 @@ public void renderTemplate() throws Exception { Map<String, Object> model = new HashMap<>(); model.put("title", "Layout example"); model.put("body", "This is the body"); - MockServerHttpResponse response = renderViewWithModel("org/springframework/web/reactive/result/view/script/jython/templa...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java
@@ -46,20 +46,18 @@ public class KotlinScriptTemplateTests { public void renderTemplateWithFrenchLocale() throws Exception { Map<String, Object> model = new HashMap<>(); model.put("foo", "Foo"); - MockServerHttpResponse response = renderViewWithModel("org/springframework/web/reactive/result/view/script/kotlin/...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/NashornScriptTemplateTests.java
@@ -43,21 +43,24 @@ public void renderTemplate() throws Exception { Map<String, Object> model = new HashMap<>(); model.put("title", "Layout example"); model.put("body", "This is the body"); - MockServerHttpResponse response = renderViewWithModel("org/springframework/web/reactive/result/view/script/nashorn/tem...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webflux/src/test/resources/org/springframework/web/reactive/result/view/script/kotlin/render.kts
@@ -1,7 +1,8 @@ -import javax.script.* -import org.springframework.web.reactive.result.view.script.RenderingContext -import org.springframework.context.support.ResourceBundleMessageSource import org.springframework.beans.factory.getBean +import org.springframework.context.support.ResourceBundleMessageSource +import or...
true
Other
spring-projects
spring-framework
1cc5afe24b592a50ab68c090e438138ab180374a.json
Fix lines over 120 characters https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
spring-webmvc/src/main/java/org/springframework/web/servlet/View.java
@@ -90,6 +90,7 @@ public interface View { * @param response HTTP response we are building * @throws Exception if rendering failed */ - void render(@Nullable Map<String, ?> model, HttpServletRequest request, HttpServletResponse response) throws Exception; + void render(@Nullable Map<String, ?> model, + HttpSe...
true