summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/uic
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2022-04-11 09:36:04 +0200
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2022-04-11 09:36:04 +0200
commit6c625e1491ec3260790765f002ce75cf6fdd369c (patch)
tree29a552bc452d85c91540c4c38e6092a67626b884 /src/main/java/org/uic
parentnullpointer (diff)
downloadUIC-barcode-6c625e1491ec3260790765f002ce75cf6fdd369c.tar
UIC-barcode-6c625e1491ec3260790765f002ce75cf6fdd369c.tar.gz
UIC-barcode-6c625e1491ec3260790765f002ce75cf6fdd369c.tar.bz2
UIC-barcode-6c625e1491ec3260790765f002ce75cf6fdd369c.tar.lz
UIC-barcode-6c625e1491ec3260790765f002ce75cf6fdd369c.tar.xz
UIC-barcode-6c625e1491ec3260790765f002ce75cf6fdd369c.tar.zst
UIC-barcode-6c625e1491ec3260790765f002ce75cf6fdd369c.zip
Diffstat (limited to 'src/main/java/org/uic')
-rw-r--r--src/main/java/org/uic/barcode/dynamicContent/api/DynamicContentCoder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/uic/barcode/dynamicContent/api/DynamicContentCoder.java b/src/main/java/org/uic/barcode/dynamicContent/api/DynamicContentCoder.java
index a4d38c6..ea90879 100644
--- a/src/main/java/org/uic/barcode/dynamicContent/api/DynamicContentCoder.java
+++ b/src/main/java/org/uic/barcode/dynamicContent/api/DynamicContentCoder.java
@@ -172,6 +172,8 @@ public class DynamicContentCoder {
private static IGeoCoordinate getGeoCoordinate(GeoCoordinateType asnCoordinate) {
+ if (asnCoordinate == null) return null;
+
IGeoCoordinate g = new SimpleGeoCoordinate();
if (asnCoordinate.getLatitude() != null) {