diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-11-23 13:28:56 +0100 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-11-23 13:28:56 +0100 |
commit | 900acb165c53e9801112c3f1b8f57ff4d9ad531d (patch) | |
tree | 2337e4b6eb4a1631569dfd0bdee2b902d92a76c3 /src/main/java/org/uic/barcode | |
parent | renamed (diff) | |
download | UIC-barcode-900acb165c53e9801112c3f1b8f57ff4d9ad531d.tar UIC-barcode-900acb165c53e9801112c3f1b8f57ff4d9ad531d.tar.gz UIC-barcode-900acb165c53e9801112c3f1b8f57ff4d9ad531d.tar.bz2 UIC-barcode-900acb165c53e9801112c3f1b8f57ff4d9ad531d.tar.lz UIC-barcode-900acb165c53e9801112c3f1b8f57ff4d9ad531d.tar.xz UIC-barcode-900acb165c53e9801112c3f1b8f57ff4d9ad531d.tar.zst UIC-barcode-900acb165c53e9801112c3f1b8f57ff4d9ad531d.zip |
Diffstat (limited to 'src/main/java/org/uic/barcode')
-rw-r--r-- | src/main/java/org/uic/barcode/ticket/UicRailTicketCoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/uic/barcode/ticket/UicRailTicketCoder.java b/src/main/java/org/uic/barcode/ticket/UicRailTicketCoder.java index e9d2eb4..0586ed4 100644 --- a/src/main/java/org/uic/barcode/ticket/UicRailTicketCoder.java +++ b/src/main/java/org/uic/barcode/ticket/UicRailTicketCoder.java @@ -33,7 +33,7 @@ public class UicRailTicketCoder { public byte[] encode (IUicRailTicket uicRailTicket, int version) throws IOException, EncodingFormatException{
- if (version == 13) {
+ if (version == 13 || version == 1) {
Api2OpenAsnEncoder uicEncoder = new Api2OpenAsnEncoder();
|