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-bundleresource-impl.git


The following commit(s) were added to refs/heads/master by this push:
     new 52b3691  SLING-13022 Update to Parent 64 (#8)
52b3691 is described below

commit 52b36915f4db11cbdceac7eac833e04666416563
Author: Eric Norman <[email protected]>
AuthorDate: Wed Dec 10 14:46:21 2025 -0800

    SLING-13022 Update to Parent 64 (#8)
---
 pom.xml                                                      |  8 +-------
 .../org/apache/sling/bundleresource/impl/BundleResource.java | 12 ++++++------
 2 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/pom.xml b/pom.xml
index a161919..0a556dc 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>64</version>
         <relativePath />
     </parent>
 
@@ -42,26 +42,22 @@
 
     <properties>
         <sling.java.version>17</sling.java.version>
-        <slf4j.version>2.0.17</slf4j.version>
         
<project.build.outputTimestamp>2025-03-05T17:41:02Z</project.build.outputTimestamp>
     </properties>
     <dependencies>
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
-            <version>${slf4j.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>jakarta.servlet</groupId>
             <artifactId>jakarta.servlet-api</artifactId>
-            <version>6.1.0</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>jakarta.json</groupId>
             <artifactId>jakarta.json-api</artifactId>
-            <version>2.0.2</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
@@ -96,13 +92,11 @@
         <dependency>
             <groupId>org.apache.jackrabbit</groupId>
             <artifactId>jackrabbit-jcr-commons</artifactId>
-            <version>1.6.0</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-simple</artifactId>
-            <version>${slf4j.version}</version>
             <scope>provided</scope>
         </dependency>
         <!-- Testing -->
diff --git 
a/src/main/java/org/apache/sling/bundleresource/impl/BundleResource.java 
b/src/main/java/org/apache/sling/bundleresource/impl/BundleResource.java
index 8997f1a..1c69e03 100644
--- a/src/main/java/org/apache/sling/bundleresource/impl/BundleResource.java
+++ b/src/main/java/org/apache/sling/bundleresource/impl/BundleResource.java
@@ -196,32 +196,32 @@ public class BundleResource extends AbstractResource {
 
     private static Object getValue(final JsonValue value, final boolean 
topLevel) {
         switch (value.getValueType()) {
-                // type NULL -> return null
+            // type NULL -> return null
             case NULL:
                 return null;
-                // type TRUE or FALSE -> return boolean
+            // type TRUE or FALSE -> return boolean
             case FALSE:
                 return false;
             case TRUE:
                 return true;
-                // type String -> return String
+            // type String -> return String
             case STRING:
                 return ((JsonString) value).getString();
-                // type Number -> return long or double
+            // type Number -> return long or double
             case NUMBER:
                 final JsonNumber num = (JsonNumber) value;
                 if (num.isIntegral()) {
                     return num.longValue();
                 }
                 return num.doubleValue();
-                // type ARRAY -> return list and call this method for each 
value
+            // type ARRAY -> return list and call this method for each value
             case ARRAY:
                 final List<Object> array = new ArrayList<>();
                 for (final JsonValue x : ((JsonArray) value)) {
                     array.add(getValue(x, false));
                 }
                 return array;
-                // type OBJECT -> return map
+            // type OBJECT -> return map
             case OBJECT:
                 final Map<String, Object> map = new HashMap<>();
                 final JsonObject obj = (JsonObject) value;

Reply via email to