Use tabs rather than spaces in tests

Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.

Issue: SPR-16968
This commit is contained in:
Phillip Webb
2018-06-25 09:24:30 -07:00
committed by Juergen Hoeller
parent 1c25cec44f
commit a89e716cc7
209 changed files with 528 additions and 529 deletions

View File

@@ -23,4 +23,4 @@ public class TestListener implements ApplicationListener<ApplicationEvent> {
++eventCount;
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2018 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.
@@ -33,4 +33,4 @@ public class ServletConfigAwareBean implements ServletConfigAware {
public ServletConfig getServletConfig() {
return servletConfig;
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2018 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.
@@ -33,4 +33,4 @@ public class ServletContextAwareBean implements ServletContextAware {
public ServletContext getServletContext() {
return servletContext;
}
}
}

View File

@@ -259,4 +259,4 @@ class TestMessageCodesResolver implements MessageCodesResolver {
class TestPathMatcher extends AntPathMatcher { }
class TestPathHelper extends UrlPathHelper { }
class TestPathHelper extends UrlPathHelper { }

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2015 the original author or authors.
* Copyright 2002-2018 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.
@@ -309,4 +309,4 @@ public class HandlerMethodMappingTests {
public void handlerMethod2() {
}
}
}
}

View File

@@ -719,4 +719,4 @@ public class HttpEntityMethodProcessorMockTests {
public static class CustomHttpEntity extends HttpEntity<Object> {
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 the original author or authors.
* Copyright 2002-2018 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.
@@ -152,4 +152,4 @@ public class MatrixVariablesMethodArgumentResolverTests {
@MatrixVariable(name = "year", pathVar = "cars", required = false, defaultValue = "2013") int preferredYear) {
}
}
}

View File

@@ -277,7 +277,7 @@ public class MvcUriComponentsBuilderTests {
assertThat(uriComponents.toUriString(), endsWith("/something/else"));
}
@Test
@Test
public void fromMethodCallOnSubclass() {
UriComponents uriComponents = fromMethodCall(on(ExtendedController.class).myMethod(null)).build();

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2018 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.
@@ -86,4 +86,4 @@ public class UriComponentsBuilderMethodArgumentResolverTests {
void handle(UriComponentsBuilder builder, ServletUriComponentsBuilder servletBuilder, int value) {
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2018 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.
@@ -90,4 +90,4 @@ public class ViewMethodReturnValueHandlerTests {
return null;
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2018 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.
@@ -47,4 +47,4 @@ public class RequestDataValueProcessorWrapper implements RequestDataValueProcess
return (this.processor != null) ? this.processor.getExtraHiddenFields(request) : null;
}
}
}

View File

@@ -38,4 +38,4 @@ enum TestEnum {
return "TestEnum: " + name();
}
}
}