Skip to content

Commit

Permalink
Clarify deprecation related info (#4342)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjav-desai authored Jun 8, 2022
1 parent 7f5ad7d commit 77b6a16
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,11 @@

/**
* Configuration builder.
*
* @deprecated This is an internal class that was exposed accidentally. It will be package local in next major release.
*/
class MpConfigBuilder implements ConfigBuilder {
@Deprecated (since = "2.3.1")
public class MpConfigBuilder implements ConfigBuilder {
private static final Logger LOGGER = Logger.getLogger(MpConfigBuilder.class.getName());
private static final String DEFAULT_CONFIG_SOURCE = "META-INF/microprofile-config.properties";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, 2021 Oracle and/or its affiliates.
* Copyright (c) 2020, 2022 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -46,9 +46,9 @@

/**
* Implementation of the basic MicroProfile {@link org.eclipse.microprofile.config.Config} API.
* @deprecated This is an internal class that was exposed accidentaly. It will be package local in next major release.
* @deprecated This is an internal class that was exposed accidentally. It will be package local in next major release.
*/
@Deprecated
@Deprecated (since = "2.3.1")
public class MpConfigImpl implements Config {
private static final Logger LOGGER = Logger.getLogger(MpConfigImpl.class.getName());
// for references resolving
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, 2021 Oracle and/or its affiliates.
* Copyright (c) 2019, 2022 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -224,8 +224,10 @@ public void releaseConfig(Config config) {
/**
* A delegate used to allow replacing configuration at runtime for components
* that hold a reference to configuration obtained at build time.
*
* @deprecated This is an internal class that was exposed accidentally. It will be package local in next major release.
*/
@Deprecated
@Deprecated (since = "2.3.1")
public static final class ConfigDelegate implements io.helidon.config.Config, Config {
private final AtomicReference<Config> delegate = new AtomicReference<>();
private final AtomicReference<io.helidon.config.Config> helidonDelegate = new AtomicReference<>();
Expand Down

0 comments on commit 77b6a16

Please sign in to comment.