Skip to content

Commit

Permalink
Fix additional compile errors
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <tsmock@meta.com>
  • Loading branch information
tsmock committed Jun 14, 2024
1 parent 476996f commit b72c118
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
<version>1.3.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;

import org.apache.commons.imaging.ImageReadException;
import org.apache.commons.imaging.Imaging;
import org.openstreetmap.josm.tools.Logging;
import org.openstreetmap.josm.tools.XmlUtils;
Expand Down Expand Up @@ -53,7 +52,7 @@ public static boolean isPanorama(final InputStream is) {
boolean pano = false;
try {
pano = checkXmpProjectionType(Imaging.getXmpXml(is, null), "equirectangular");
} catch (ImageReadException | IOException ex) {
} catch (IOException ex) {
Logging.trace(ex);
}
return pano;
Expand Down

0 comments on commit b72c118

Please sign in to comment.