Skip to content

Commit d3822a2

Browse files
committed
Revert workaround for Java 8 compiler bug
1 parent bfac042 commit d3822a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spring-test/src/main/java/org/springframework/test/context/TestContext.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -43,8 +43,6 @@
4343
* @see TestContextManager
4444
* @see TestExecutionListener
4545
*/
46-
// Suppression required due to bug in javac in Java 8: presence of default method in a Serializable interface
47-
@SuppressWarnings("serial")
4846
public interface TestContext extends AttributeAccessor, Serializable {
4947

5048
/**

0 commit comments

Comments
 (0)