This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-caconfig-spi.git
The following commit(s) were added to refs/heads/master by this push:
new c807871 Revert "SLING-13282 Add encrypted flag to PropertyMetadata"
c807871 is described below
commit c807871b815c934aee7cbd646d6cecf4f402ba2d
Author: Konrad Windszus <[email protected]>
AuthorDate: Thu Jul 30 18:16:59 2026 +0200
Revert "SLING-13282 Add encrypted flag to PropertyMetadata"
This reverts commit a6b48b3da6276545d0f42417a55857811184e9b8.
---
pom.xml | 2 +-
.../caconfig/spi/metadata/PropertyMetadata.java | 20 --------------------
.../sling/caconfig/spi/metadata/package-info.java | 2 +-
3 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/pom.xml b/pom.xml
index 77a319c..b15a1c9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
</parent>
<artifactId>org.apache.sling.caconfig.spi</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.4.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Apache Sling Context-Aware Configuration SPI</name>
<description>Apache Sling Context-Aware Configuration SPI</description>
diff --git
a/src/main/java/org/apache/sling/caconfig/spi/metadata/PropertyMetadata.java
b/src/main/java/org/apache/sling/caconfig/spi/metadata/PropertyMetadata.java
index 6c74d83..e222e63 100644
--- a/src/main/java/org/apache/sling/caconfig/spi/metadata/PropertyMetadata.java
+++ b/src/main/java/org/apache/sling/caconfig/spi/metadata/PropertyMetadata.java
@@ -50,8 +50,6 @@ public final class PropertyMetadata<T> extends
AbstractMetadata<PropertyMetadata
private ConfigurationMetadata configurationMetadata;
private int order;
- private boolean encrypted;
-
/**
* @param name Property name
* @param type Property type
@@ -163,24 +161,6 @@ public final class PropertyMetadata<T> extends
AbstractMetadata<PropertyMetadata
return this;
}
- /**
- * @return {@code true} if this property is encrypted
- * @since 2.1.0 (Bundle version 1.5.0)
- */
- public boolean isEncrypted() {
- return this.encrypted;
- }
-
- /**
- * @param value {@code true} if this property is encrypted
- * @return this
- * @since 2.1.0 (Bundle version 1.5.0)
- */
- public PropertyMetadata<T> encrypted(boolean encrypted) {
- this.encrypted = encrypted;
- return this;
- }
-
/**
* @return Metadata for nested configuration
*/
diff --git
a/src/main/java/org/apache/sling/caconfig/spi/metadata/package-info.java
b/src/main/java/org/apache/sling/caconfig/spi/metadata/package-info.java
index 1a8e360..03b88e6 100644
--- a/src/main/java/org/apache/sling/caconfig/spi/metadata/package-info.java
+++ b/src/main/java/org/apache/sling/caconfig/spi/metadata/package-info.java
@@ -19,5 +19,5 @@
/**
* Defining configuration and parameter metadata for the SPI.
*/
[email protected]("2.1.0")
[email protected]("2.0.2")
package org.apache.sling.caconfig.spi.metadata;