diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2022-04-11 09:36:04 +0200 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2022-04-11 09:36:04 +0200 |
commit | 6c625e1491ec3260790765f002ce75cf6fdd369c (patch) | |
tree | 29a552bc452d85c91540c4c38e6092a67626b884 /src/main | |
parent | nullpointer (diff) | |
download | UIC-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 '')
-rw-r--r-- | src/main/java/org/uic/barcode/dynamicContent/api/DynamicContentCoder.java | 2 |
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) {
|