This is an automated email from the ASF dual-hosted git repository.
jsedding pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-resource.git
The following commit(s) were added to refs/heads/master by this push:
new 857e305 SLING-8559 - JcrValueMap should allow getting ZonedDateTime
values
857e305 is described below
commit 857e305dd158741d8d7996ec52008e2992559588
Author: Julian Sedding <[email protected]>
AuthorDate: Fri Jul 5 16:35:08 2019 +0200
SLING-8559 - JcrValueMap should allow getting ZonedDateTime values
- increase required java version to 8
- fix missing license header
---
pom.xml | 1 +
.../internal/helper/ZonedDateTimeConverter.java | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/pom.xml b/pom.xml
index 98a4b80..4dd9c79 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,6 +47,7 @@
<site.javadoc.exclude>**.internal.**</site.javadoc.exclude>
<oak.version>1.5.15</oak.version>
<jackrabbit.version>2.13.4</jackrabbit.version>
+ <sling.java.version>8</sling.java.version>
</properties>
<build>
diff --git
a/src/main/java/org/apache/sling/jcr/resource/internal/helper/ZonedDateTimeConverter.java
b/src/main/java/org/apache/sling/jcr/resource/internal/helper/ZonedDateTimeConverter.java
index 82cba61..d86acf1 100644
---
a/src/main/java/org/apache/sling/jcr/resource/internal/helper/ZonedDateTimeConverter.java
+++
b/src/main/java/org/apache/sling/jcr/resource/internal/helper/ZonedDateTimeConverter.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package org.apache.sling.jcr.resource.internal.helper;
import java.time.ZonedDateTime;