Skip to content

Commit

Permalink
Merge pull request #32644 from eurythmia
Browse files Browse the repository at this point in the history
* pr/32644:
  Upgrade copyright year of changed files
  Harmonize ConfigurationProperties code samples

Closes gh-32644
  • Loading branch information
snicoll committed Oct 20, 2022
2 parents 954e874 + 4d7cb71 commit ea97e4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
Expand All @@ -16,7 +16,7 @@

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

class SomeProperties {
class MyProperties {

Object getRemoteAddress() {
return null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
Expand All @@ -21,9 +21,9 @@
@Service
public class MyService {

private final SomeProperties properties;
private final MyProperties properties;

public MyService(SomeProperties properties) {
public MyService(MyProperties properties) {
this.properties = properties;
}

Expand Down

0 comments on commit ea97e4a

Please sign in to comment.