Skip to content

Commit ea97e4a

Browse files
committed
Merge pull request #32644 from eurythmia
* pr/32644: Upgrade copyright year of changed files Harmonize ConfigurationProperties code samples Closes gh-32644
2 parents 954e874 + 4d7cb71 commit ea97e4a

File tree

2 files changed

+5
-5
lines changed
  • spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/externalconfig/typesafeconfigurationproperties/usingannotatedtypes

2 files changed

+5
-5
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-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.
@@ -16,7 +16,7 @@
1616

1717
package org.springframework.boot.docs.features.externalconfig.typesafeconfigurationproperties.usingannotatedtypes;
1818

19-
class SomeProperties {
19+
class MyProperties {
2020

2121
Object getRemoteAddress() {
2222
return null;

spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/externalconfig/typesafeconfigurationproperties/usingannotatedtypes/MyService.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-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.
@@ -21,9 +21,9 @@
2121
@Service
2222
public class MyService {
2323

24-
private final SomeProperties properties;
24+
private final MyProperties properties;
2525

26-
public MyService(SomeProperties properties) {
26+
public MyService(MyProperties properties) {
2727
this.properties = properties;
2828
}
2929

0 commit comments

Comments
 (0)