You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by re...@apache.org on 2024/07/09 08:52:55 UTC
(jackrabbit-oak) branch OAK-10848 created (now 129ba390cd)
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a change to branch OAK-10848
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
at 129ba390cd OAK-10848: commons: remove use of slf4j.event.Level in SystemPropertySupplier API
This branch includes the following new commits:
new 129ba390cd OAK-10848: commons: remove use of slf4j.event.Level in SystemPropertySupplier API
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(jackrabbit-oak) 01/01: OAK-10848: commons: remove use of slf4j.event.Level in SystemPropertySupplier API
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a commit to branch OAK-10848
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
commit 129ba390cd285faf8e742ad6e7289d112e6e5fff
Author: Julian Reschke <re...@apache.org>
AuthorDate: Tue Jul 9 09:52:38 2024 +0100
OAK-10848: commons: remove use of slf4j.event.Level in SystemPropertySupplier API
---
.../oak/commons/properties/SystemPropertySupplier.java | 11 -----------
.../jackrabbit/oak/commons/properties/package-info.java | 2 +-
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/properties/SystemPropertySupplier.java b/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/properties/SystemPropertySupplier.java
index 464533a51a..c1b0da0e59 100644
--- a/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/properties/SystemPropertySupplier.java
+++ b/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/properties/SystemPropertySupplier.java
@@ -96,17 +96,6 @@ public class SystemPropertySupplier<T> implements Supplier<T> {
return this;
}
- /**
- * Specify {@link Level} to use for "success" message.
- * @deprecated use {@link #logSuccessAs(String) instead
- */
- @Deprecated(forRemoval = true)
- public SystemPropertySupplier<T> logSuccessAs(Level successLogLevel) {
- this.successLogLevel = Objects.requireNonNull(successLogLevel);
- LOG.error("Use of deprecated method logSuccessAs(Level)", new Exception("call stack"));
- return this;
- }
-
/**
* Specify {@link Level} to use for "success" message (defaults to "INFO")
*/
diff --git a/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/properties/package-info.java b/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/properties/package-info.java
index 3e02c2b7b5..9d8b109772 100644
--- a/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/properties/package-info.java
+++ b/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/properties/package-info.java
@@ -18,7 +18,7 @@
* <em>For Oak internal use only. Do not use outside Oak components.</em>
*/
@Internal(since = "1.1.0")
-@Version("1.1.0")
+@Version("2.0.0")
package org.apache.jackrabbit.oak.commons.properties;
import org.apache.jackrabbit.oak.commons.annotations.Internal;