This is an automated email from the ASF dual-hosted git repository.
enorman pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-factory-configuration.git
The following commit(s) were added to refs/heads/master by this push:
new 7bd8e7a SLING-13163 Update to Parent 66 (#21)
7bd8e7a is described below
commit 7bd8e7a59cf065c2a25c3fc892dfd89c3911cac9
Author: Eric Norman <[email protected]>
AuthorDate: Wed Apr 8 14:11:10 2026 -0700
SLING-13163 Update to Parent 66 (#21)
---
pom.xml | 8 +++-----
.../installer/factories/configuration/impl/SortedDictionary.java | 4 ++--
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/pom.xml b/pom.xml
index 079a891..c4038f9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling-bundle-parent</artifactId>
- <version>62</version>
+ <version>66</version>
<relativePath />
</parent>
@@ -40,7 +40,8 @@
</scm>
<properties>
- <sling.java.version>8</sling.java.version>
+ <sling.java.version>17</sling.java.version>
+
<project.build.outputTimestamp>2023-05-15T10:56:39Z</project.build.outputTimestamp>
</properties>
<dependencies>
@@ -115,13 +116,11 @@
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.util.converter</artifactId>
- <version>1.0.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.util.function</artifactId>
- <version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -137,7 +136,6 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
- <version>5.14.2</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/src/main/java/org/apache/sling/installer/factories/configuration/impl/SortedDictionary.java
b/src/main/java/org/apache/sling/installer/factories/configuration/impl/SortedDictionary.java
index 4878be1..278cb96 100644
---
a/src/main/java/org/apache/sling/installer/factories/configuration/impl/SortedDictionary.java
+++
b/src/main/java/org/apache/sling/installer/factories/configuration/impl/SortedDictionary.java
@@ -63,7 +63,7 @@ public class SortedDictionary<K, V> extends Dictionary<K, V> {
public Enumeration<V> elements() {
// this needs to be sorted by keys
Enumeration<K> sortedKeys = keys();
- Collection<V> sortedValues = new ArrayList<V>();
+ Collection<V> sortedValues = new ArrayList<>();
while (sortedKeys.hasMoreElements()) {
K key = sortedKeys.nextElement();
sortedValues.add(delegate.get(key));
@@ -80,7 +80,7 @@ public class SortedDictionary<K, V> extends Dictionary<K, V> {
if (this == obj) return true;
if (obj == null) return false;
if (getClass() != obj.getClass()) return false;
- SortedDictionary other = (SortedDictionary) obj;
+ SortedDictionary<?, ?> other = (SortedDictionary<?, ?>) obj;
return Objects.equals(delegate, other.delegate);
}