From 293af7154095ddaa8b220ec3ad1cbca08ae06044 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Fri, 7 Jun 2024 21:47:59 +0200 Subject: [PATCH] revert changes --- build.xml | 2 +- source/java/.classpath | 1 + source/java/src/org/lucee/extension/image/Metadata.java | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index b85be4e..88b1fb0 100644 --- a/build.xml +++ b/build.xml @@ -89,7 +89,7 @@ start-bundles: false - + diff --git a/source/java/.classpath b/source/java/.classpath index da61119..db7312f 100644 --- a/source/java/.classpath +++ b/source/java/.classpath @@ -15,6 +15,7 @@ + diff --git a/source/java/src/org/lucee/extension/image/Metadata.java b/source/java/src/org/lucee/extension/image/Metadata.java index ab04eb0..6042dd4 100644 --- a/source/java/src/org/lucee/extension/image/Metadata.java +++ b/source/java/src/org/lucee/extension/image/Metadata.java @@ -86,7 +86,7 @@ public static void addExifInfoToStruct(final Resource res, Struct info, Log log) info.setEL("exif", exif); try { TiffImageMetadata _exif = jpegMetadata.getExif(); - if (_exif != null) set(_exif.getItems(), info, exif); + set(_exif.getItems(), info, exif); } catch (Exception e) { if (log != null) log.error("imaging", e);