Skip to content

Commit 74a8eb7

Browse files
committed
Merge branch '2.7.x'
Closes gh-32819
2 parents 482eb49 + 13691f2 commit 74a8eb7

File tree

4 files changed

+7
-7
lines changed
  • spring-boot-project/spring-boot-docs/src/main

4 files changed

+7
-7
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

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

19-
class SomeProperties {
19+
class MyProperties {
2020

2121
val remoteAddress: Any?
2222
get() = null

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package org.springframework.boot.docs.features.externalconfig.typesafeconfigurat
1919
import org.springframework.stereotype.Service
2020

2121
@Service
22-
class MyService(val properties: SomeProperties) {
22+
class MyService(val properties: MyProperties) {
2323

2424
fun openConnection() {
2525
val server = Server(properties.remoteAddress)

0 commit comments

Comments
 (0)