mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Update regarding "2002-present" pattern for copyright headers
+1
-13
@@ -34,7 +34,7 @@ Each source file must specify the following license at the very top of the file:
|
||||
|
||||
```java
|
||||
/*
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
* Copyright 2002-present 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.
|
||||
@@ -50,18 +50,6 @@ Each source file must specify the following license at the very top of the file:
|
||||
*/
|
||||
```
|
||||
|
||||
Always check the date range in the license header. For example, if you've modified a file in 2022 whose header still reads:
|
||||
|
||||
```
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
```
|
||||
|
||||
Then be sure to update it to 2023 accordingly:
|
||||
|
||||
```
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
```
|
||||
|
||||
### Import statements
|
||||
|
||||
The import statements are structured as follow:
|
||||
|
||||
Reference in New Issue
Block a user