summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-28 17:42:50 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-28 17:42:50 +0200
commit93d1862956c3d7eca281d22b74a31c72391ed951 (patch)
treeb694093e7c728eae0f7518400f5de862c3bf839e /pdf-over-gui/src/main
parent87b36acc9f2a9019dddf64ea0b94210087d03597 (diff)
downloadpdf-over-93d1862956c3d7eca281d22b74a31c72391ed951.tar.gz
pdf-over-93d1862956c3d7eca281d22b74a31c72391ed951.tar.bz2
pdf-over-93d1862956c3d7eca281d22b74a31c72391ed951.zip
NPE fix
Diffstat (limited to 'pdf-over-gui/src/main')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUQRComposite.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUQRComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUQRComposite.java
index 242bf3c6..121d8c71 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUQRComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUQRComposite.java
@@ -197,9 +197,8 @@ public class MobileBKUQRComposite extends StateComposite {
* the reference value to set
*/
public void setRefVal(String refVal) {
- this.refVal = refVal.trim();
-
if (this.refVal != null) {
+ this.refVal = refVal.trim();
this.lblRefVal.setText(this.refVal);
} else {
this.lblRefVal.setText("");