diff --git a/LICENSE b/LICENSE index 261eeb9..567b977 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright [2019] [Marcos Tischer Vallim] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/src/main/java/com/emv/qrcode/core/CRC.java b/src/main/java/com/emv/qrcode/core/CRC.java index 370e74a..363f6d1 100644 --- a/src/main/java/com/emv/qrcode/core/CRC.java +++ b/src/main/java/com/emv/qrcode/core/CRC.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core; public final class CRC { diff --git a/src/main/java/com/emv/qrcode/core/configuration/DecodersCpmMap.java b/src/main/java/com/emv/qrcode/core/configuration/DecodersCpmMap.java index 0a51d02..be08c16 100644 --- a/src/main/java/com/emv/qrcode/core/configuration/DecodersCpmMap.java +++ b/src/main/java/com/emv/qrcode/core/configuration/DecodersCpmMap.java @@ -1,5 +1,22 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.configuration; +import java.util.Collections; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; @@ -46,6 +63,20 @@ private DecodersCpmMap() { super(); } + public static Map, Class>> getConfiguration() { + return Collections.unmodifiableMap(MAP_DECODERS); + } + + public static void replaceDecoder(final Class tagClass, final Class> decoderClass) { + if (MAP_DECODERS.containsKey(tagClass)) { + MAP_DECODERS.replace(tagClass, decoderClass); + } + } + + public static void putDecoder(final Class tagClass, final Class> decoderClass) { + MAP_DECODERS.put(tagClass, decoderClass); + } + public static Class> getDecoder(final Class clazz) { return MAP_DECODERS.get(clazz); } diff --git a/src/main/java/com/emv/qrcode/core/configuration/DecodersMpmMap.java b/src/main/java/com/emv/qrcode/core/configuration/DecodersMpmMap.java index b6e6954..d31cbdb 100644 --- a/src/main/java/com/emv/qrcode/core/configuration/DecodersMpmMap.java +++ b/src/main/java/com/emv/qrcode/core/configuration/DecodersMpmMap.java @@ -1,5 +1,22 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.configuration; +import java.util.Collections; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; @@ -57,6 +74,20 @@ private DecodersMpmMap() { super(); } + public static Map, Class>> getConfiguration() { + return Collections.unmodifiableMap(MAP_DECODERS); + } + + public static void replaceDecoder(final Class tagClass, final Class> decoderClass) { + if (MAP_DECODERS.containsKey(tagClass)) { + MAP_DECODERS.replace(tagClass, decoderClass); + } + } + + public static void putDecoder(final Class tagClass, final Class> decoderClass) { + MAP_DECODERS.put(tagClass, decoderClass); + } + public static Class> getDecoder(final Class clazz) { return MAP_DECODERS.get(clazz); } diff --git a/src/main/java/com/emv/qrcode/core/exception/DecodeValueException.java b/src/main/java/com/emv/qrcode/core/exception/DecodeValueException.java index 313aca8..65c4c1d 100644 --- a/src/main/java/com/emv/qrcode/core/exception/DecodeValueException.java +++ b/src/main/java/com/emv/qrcode/core/exception/DecodeValueException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.exception; import java.text.MessageFormat; diff --git a/src/main/java/com/emv/qrcode/core/exception/DuplicateTagException.java b/src/main/java/com/emv/qrcode/core/exception/DuplicateTagException.java index e03e9fb..dd97c62 100644 --- a/src/main/java/com/emv/qrcode/core/exception/DuplicateTagException.java +++ b/src/main/java/com/emv/qrcode/core/exception/DuplicateTagException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.exception; import java.text.MessageFormat; diff --git a/src/main/java/com/emv/qrcode/core/exception/InvalidTagException.java b/src/main/java/com/emv/qrcode/core/exception/InvalidTagException.java index f89293a..8f2fe13 100644 --- a/src/main/java/com/emv/qrcode/core/exception/InvalidTagException.java +++ b/src/main/java/com/emv/qrcode/core/exception/InvalidTagException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.exception; import java.text.MessageFormat; diff --git a/src/main/java/com/emv/qrcode/core/exception/PresentedModeException.java b/src/main/java/com/emv/qrcode/core/exception/PresentedModeException.java index b9f336b..313bb68 100644 --- a/src/main/java/com/emv/qrcode/core/exception/PresentedModeException.java +++ b/src/main/java/com/emv/qrcode/core/exception/PresentedModeException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.exception; public class PresentedModeException extends RuntimeException { diff --git a/src/main/java/com/emv/qrcode/core/isos/Country.java b/src/main/java/com/emv/qrcode/core/isos/Country.java index 342de1b..de80af9 100644 --- a/src/main/java/com/emv/qrcode/core/isos/Country.java +++ b/src/main/java/com/emv/qrcode/core/isos/Country.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.isos; import java.util.EnumSet; diff --git a/src/main/java/com/emv/qrcode/core/isos/Currency.java b/src/main/java/com/emv/qrcode/core/isos/Currency.java index fbbd388..8e54252 100644 --- a/src/main/java/com/emv/qrcode/core/isos/Currency.java +++ b/src/main/java/com/emv/qrcode/core/isos/Currency.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.isos; import java.util.EnumSet; diff --git a/src/main/java/com/emv/qrcode/core/isos/Language.java b/src/main/java/com/emv/qrcode/core/isos/Language.java index 4cde827..ba045ad 100644 --- a/src/main/java/com/emv/qrcode/core/isos/Language.java +++ b/src/main/java/com/emv/qrcode/core/isos/Language.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.isos; import java.util.EnumSet; diff --git a/src/main/java/com/emv/qrcode/core/model/TLV.java b/src/main/java/com/emv/qrcode/core/model/TLV.java index b0d5335..eadbfe0 100644 --- a/src/main/java/com/emv/qrcode/core/model/TLV.java +++ b/src/main/java/com/emv/qrcode/core/model/TLV.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model; import java.io.Serializable; diff --git a/src/main/java/com/emv/qrcode/core/model/cpm/BERTLAlphanumeric.java b/src/main/java/com/emv/qrcode/core/model/cpm/BERTLAlphanumeric.java index 3cee27d..8651d06 100644 --- a/src/main/java/com/emv/qrcode/core/model/cpm/BERTLAlphanumeric.java +++ b/src/main/java/com/emv/qrcode/core/model/cpm/BERTLAlphanumeric.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import java.nio.charset.StandardCharsets; diff --git a/src/main/java/com/emv/qrcode/core/model/cpm/BERTLBinary.java b/src/main/java/com/emv/qrcode/core/model/cpm/BERTLBinary.java index 2280baf..8f14d56 100644 --- a/src/main/java/com/emv/qrcode/core/model/cpm/BERTLBinary.java +++ b/src/main/java/com/emv/qrcode/core/model/cpm/BERTLBinary.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import org.apache.commons.codec.DecoderException; diff --git a/src/main/java/com/emv/qrcode/core/model/cpm/BERTLCompressedNumeric.java b/src/main/java/com/emv/qrcode/core/model/cpm/BERTLCompressedNumeric.java index 50f9be2..c851b08 100644 --- a/src/main/java/com/emv/qrcode/core/model/cpm/BERTLCompressedNumeric.java +++ b/src/main/java/com/emv/qrcode/core/model/cpm/BERTLCompressedNumeric.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import org.apache.commons.codec.DecoderException; diff --git a/src/main/java/com/emv/qrcode/core/model/cpm/BERTLNumeric.java b/src/main/java/com/emv/qrcode/core/model/cpm/BERTLNumeric.java index ac4ff8f..2b0c119 100644 --- a/src/main/java/com/emv/qrcode/core/model/cpm/BERTLNumeric.java +++ b/src/main/java/com/emv/qrcode/core/model/cpm/BERTLNumeric.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import org.apache.commons.codec.DecoderException; diff --git a/src/main/java/com/emv/qrcode/core/model/cpm/BERTLV.java b/src/main/java/com/emv/qrcode/core/model/cpm/BERTLV.java index 101bfe5..6af59eb 100644 --- a/src/main/java/com/emv/qrcode/core/model/cpm/BERTLV.java +++ b/src/main/java/com/emv/qrcode/core/model/cpm/BERTLV.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import java.io.ByteArrayOutputStream; diff --git a/src/main/java/com/emv/qrcode/core/model/cpm/BERTag.java b/src/main/java/com/emv/qrcode/core/model/cpm/BERTag.java index 32c3151..0547273 100644 --- a/src/main/java/com/emv/qrcode/core/model/cpm/BERTag.java +++ b/src/main/java/com/emv/qrcode/core/model/cpm/BERTag.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import java.io.Serializable; diff --git a/src/main/java/com/emv/qrcode/core/model/cpm/BERTemplate.java b/src/main/java/com/emv/qrcode/core/model/cpm/BERTemplate.java index e8773d4..052e1f9 100644 --- a/src/main/java/com/emv/qrcode/core/model/cpm/BERTemplate.java +++ b/src/main/java/com/emv/qrcode/core/model/cpm/BERTemplate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import java.io.IOException; diff --git a/src/main/java/com/emv/qrcode/core/model/mpm/TagLengthString.java b/src/main/java/com/emv/qrcode/core/model/mpm/TagLengthString.java index e51dfbb..3b358d3 100644 --- a/src/main/java/com/emv/qrcode/core/model/mpm/TagLengthString.java +++ b/src/main/java/com/emv/qrcode/core/model/mpm/TagLengthString.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.mpm; import org.apache.commons.lang3.StringUtils; diff --git a/src/main/java/com/emv/qrcode/core/utils/BERUtils.java b/src/main/java/com/emv/qrcode/core/utils/BERUtils.java index 1b13627..06746c1 100644 --- a/src/main/java/com/emv/qrcode/core/utils/BERUtils.java +++ b/src/main/java/com/emv/qrcode/core/utils/BERUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.utils; import java.util.Arrays; @@ -44,7 +60,7 @@ public static final Integer valueOfLength(final byte[] source, final Integer fro } // BIG ENDIAN array to Integer - return (bytes[0] & 0xFF) << 8 | (bytes[1] & 0xFF); + return (bytes[0] & 0xFF) << 8 | bytes[1] & 0xFF; } public static final byte[] valueOf(final byte[] source) { diff --git a/src/main/java/com/emv/qrcode/core/utils/TLVUtils.java b/src/main/java/com/emv/qrcode/core/utils/TLVUtils.java index 444ee54..08b02dc 100644 --- a/src/main/java/com/emv/qrcode/core/utils/TLVUtils.java +++ b/src/main/java/com/emv/qrcode/core/utils/TLVUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.utils; public final class TLVUtils { diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/ApplicationSpecificTransparentTemplateDecoder.java b/src/main/java/com/emv/qrcode/decoder/cpm/ApplicationSpecificTransparentTemplateDecoder.java index 4b5d0b3..4a60d2e 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/ApplicationSpecificTransparentTemplateDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/ApplicationSpecificTransparentTemplateDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import java.util.HashMap; diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/ApplicationTemplateDecoder.java b/src/main/java/com/emv/qrcode/decoder/cpm/ApplicationTemplateDecoder.java index 21b441b..e3a2ca0 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/ApplicationTemplateDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/ApplicationTemplateDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import java.util.HashMap; diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/BERTLAlphanumericDecoder.java b/src/main/java/com/emv/qrcode/decoder/cpm/BERTLAlphanumericDecoder.java index 85c3e53..6009f30 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/BERTLAlphanumericDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/BERTLAlphanumericDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import com.emv.qrcode.core.model.cpm.BERTLAlphanumeric; diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/BERTLBinaryDecoder.java b/src/main/java/com/emv/qrcode/decoder/cpm/BERTLBinaryDecoder.java index adc9a56..7bdca85 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/BERTLBinaryDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/BERTLBinaryDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import com.emv.qrcode.core.model.cpm.BERTLBinary; diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/BERTLCompressedNumericDecoder.java b/src/main/java/com/emv/qrcode/decoder/cpm/BERTLCompressedNumericDecoder.java index 7680ec6..c9b9c74 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/BERTLCompressedNumericDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/BERTLCompressedNumericDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import com.emv.qrcode.core.model.cpm.BERTLCompressedNumeric; diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/BERTLNumericDecoder.java b/src/main/java/com/emv/qrcode/decoder/cpm/BERTLNumericDecoder.java index 7b70ae0..daba3fd 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/BERTLNumericDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/BERTLNumericDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import com.emv.qrcode.core.model.cpm.BERTLNumeric; diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/CommonDataTemplateDecoder.java b/src/main/java/com/emv/qrcode/decoder/cpm/CommonDataTemplateDecoder.java index 4238dff..08722cc 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/CommonDataTemplateDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/CommonDataTemplateDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import java.util.HashMap; diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/CommonDataTransparentTemplateDecoder.java b/src/main/java/com/emv/qrcode/decoder/cpm/CommonDataTransparentTemplateDecoder.java index 0eb1d92..0281e5d 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/CommonDataTransparentTemplateDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/CommonDataTransparentTemplateDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import java.util.HashMap; diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/ConsumerPresentedModeDecoder.java b/src/main/java/com/emv/qrcode/decoder/cpm/ConsumerPresentedModeDecoder.java index bb1af51..bf6e01f 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/ConsumerPresentedModeDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/ConsumerPresentedModeDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import java.util.HashMap; diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/DecodeCpmIterator.java b/src/main/java/com/emv/qrcode/decoder/cpm/DecodeCpmIterator.java index 5ef3d0e..cbcd69f 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/DecodeCpmIterator.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/DecodeCpmIterator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import java.util.Iterator; diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/DecoderCpm.java b/src/main/java/com/emv/qrcode/decoder/cpm/DecoderCpm.java index 13acefc..9b1e1d1 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/DecoderCpm.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/DecoderCpm.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import java.lang.reflect.Constructor; diff --git a/src/main/java/com/emv/qrcode/decoder/cpm/PayloadFormatIndicatorDecoder.java b/src/main/java/com/emv/qrcode/decoder/cpm/PayloadFormatIndicatorDecoder.java index 3dede6c..bd3a1b6 100644 --- a/src/main/java/com/emv/qrcode/decoder/cpm/PayloadFormatIndicatorDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/cpm/PayloadFormatIndicatorDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import com.emv.qrcode.core.exception.PresentedModeException; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldDecoder.java index dfa06b2..eae3dd3 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import java.util.HashMap; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldTemplateDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldTemplateDecoder.java index 5cc12eb..5363c25 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldTemplateDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldTemplateDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import com.emv.qrcode.core.exception.PresentedModeException; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/DecodeMpmIterator.java b/src/main/java/com/emv/qrcode/decoder/mpm/DecodeMpmIterator.java index 4c020bf..389354a 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/DecodeMpmIterator.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/DecodeMpmIterator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import java.util.Iterator; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/DecoderMpm.java b/src/main/java/com/emv/qrcode/decoder/mpm/DecoderMpm.java index 509e775..c1c3159 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/DecoderMpm.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/DecoderMpm.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import java.lang.reflect.Constructor; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedAdditionalDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedAdditionalDecoder.java index e9996fd..0c47dfa 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedAdditionalDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedAdditionalDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import java.util.HashMap; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedDecoder.java index 8508f87..e0b2f76 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import com.emv.qrcode.core.exception.PresentedModeException; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationTemplateDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationTemplateDecoder.java index 43cf96c..9d0ba56 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationTemplateDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationTemplateDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import com.emv.qrcode.core.exception.PresentedModeException; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageDecoder.java index 6e1f859..6ecebd1 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import java.util.HashMap; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageTemplateDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageTemplateDecoder.java index 6faa1fc..b01ddaa 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageTemplateDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageTemplateDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import com.emv.qrcode.core.exception.PresentedModeException; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantPresentedModeDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantPresentedModeDecoder.java index c6b5338..87f5b14 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/MerchantPresentedModeDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/MerchantPresentedModeDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import java.util.HashMap; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificDecoder.java index 093c00e..020d19b 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import java.util.HashMap; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificTemplateDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificTemplateDecoder.java index c74609e..aa1d382 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificTemplateDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificTemplateDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import com.emv.qrcode.core.exception.PresentedModeException; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/StringDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/StringDecoder.java index b7378fd..f01fb19 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/StringDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/StringDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import com.emv.qrcode.core.exception.PresentedModeException; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/TagLengthStringDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/TagLengthStringDecoder.java index b919f39..a3d21cd 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/TagLengthStringDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/TagLengthStringDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import com.emv.qrcode.core.exception.PresentedModeException; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/UnreservedDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/UnreservedDecoder.java index bebc5b9..2fbf194 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/UnreservedDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/UnreservedDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import java.util.HashMap; diff --git a/src/main/java/com/emv/qrcode/decoder/mpm/UnreservedTemplateDecoder.java b/src/main/java/com/emv/qrcode/decoder/mpm/UnreservedTemplateDecoder.java index ca6bed9..9ffa3c1 100644 --- a/src/main/java/com/emv/qrcode/decoder/mpm/UnreservedTemplateDecoder.java +++ b/src/main/java/com/emv/qrcode/decoder/mpm/UnreservedTemplateDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import com.emv.qrcode.core.exception.PresentedModeException; diff --git a/src/main/java/com/emv/qrcode/model/cpm/AdditionalData.java b/src/main/java/com/emv/qrcode/model/cpm/AdditionalData.java index f54cc98..e799318 100644 --- a/src/main/java/com/emv/qrcode/model/cpm/AdditionalData.java +++ b/src/main/java/com/emv/qrcode/model/cpm/AdditionalData.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import java.io.ByteArrayOutputStream; diff --git a/src/main/java/com/emv/qrcode/model/cpm/ApplicationSpecificTransparentTemplate.java b/src/main/java/com/emv/qrcode/model/cpm/ApplicationSpecificTransparentTemplate.java index e51a7ff..d55e4b6 100644 --- a/src/main/java/com/emv/qrcode/model/cpm/ApplicationSpecificTransparentTemplate.java +++ b/src/main/java/com/emv/qrcode/model/cpm/ApplicationSpecificTransparentTemplate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import java.io.ByteArrayOutputStream; diff --git a/src/main/java/com/emv/qrcode/model/cpm/ApplicationTemplate.java b/src/main/java/com/emv/qrcode/model/cpm/ApplicationTemplate.java index bf8f173..cb0d24f 100644 --- a/src/main/java/com/emv/qrcode/model/cpm/ApplicationTemplate.java +++ b/src/main/java/com/emv/qrcode/model/cpm/ApplicationTemplate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import java.io.ByteArrayOutputStream; diff --git a/src/main/java/com/emv/qrcode/model/cpm/CommonDataTemplate.java b/src/main/java/com/emv/qrcode/model/cpm/CommonDataTemplate.java index 09d2568..003d35f 100644 --- a/src/main/java/com/emv/qrcode/model/cpm/CommonDataTemplate.java +++ b/src/main/java/com/emv/qrcode/model/cpm/CommonDataTemplate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import java.io.ByteArrayOutputStream; diff --git a/src/main/java/com/emv/qrcode/model/cpm/CommonDataTransparentTemplate.java b/src/main/java/com/emv/qrcode/model/cpm/CommonDataTransparentTemplate.java index 6b3069b..fff5a01 100644 --- a/src/main/java/com/emv/qrcode/model/cpm/CommonDataTransparentTemplate.java +++ b/src/main/java/com/emv/qrcode/model/cpm/CommonDataTransparentTemplate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import java.io.ByteArrayOutputStream; diff --git a/src/main/java/com/emv/qrcode/model/cpm/ConsumerPresentedMode.java b/src/main/java/com/emv/qrcode/model/cpm/ConsumerPresentedMode.java index 9fbd911..6390a24 100644 --- a/src/main/java/com/emv/qrcode/model/cpm/ConsumerPresentedMode.java +++ b/src/main/java/com/emv/qrcode/model/cpm/ConsumerPresentedMode.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import java.io.ByteArrayOutputStream; diff --git a/src/main/java/com/emv/qrcode/model/cpm/PayloadFormatIndicator.java b/src/main/java/com/emv/qrcode/model/cpm/PayloadFormatIndicator.java index 11b4b42..7de99ec 100644 --- a/src/main/java/com/emv/qrcode/model/cpm/PayloadFormatIndicator.java +++ b/src/main/java/com/emv/qrcode/model/cpm/PayloadFormatIndicator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import com.emv.qrcode.core.model.cpm.BERTLAlphanumeric; diff --git a/src/main/java/com/emv/qrcode/model/cpm/constants/ConsumerPresentedModeFieldCodes.java b/src/main/java/com/emv/qrcode/model/cpm/constants/ConsumerPresentedModeFieldCodes.java index 40bccf7..1b15a24 100644 --- a/src/main/java/com/emv/qrcode/model/cpm/constants/ConsumerPresentedModeFieldCodes.java +++ b/src/main/java/com/emv/qrcode/model/cpm/constants/ConsumerPresentedModeFieldCodes.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm.constants; import com.emv.qrcode.core.model.cpm.BERTag; diff --git a/src/main/java/com/emv/qrcode/model/cpm/constants/TagTransactionProcessingCodes.java b/src/main/java/com/emv/qrcode/model/cpm/constants/TagTransactionProcessingCodes.java index 57395f0..f7347b0 100644 --- a/src/main/java/com/emv/qrcode/model/cpm/constants/TagTransactionProcessingCodes.java +++ b/src/main/java/com/emv/qrcode/model/cpm/constants/TagTransactionProcessingCodes.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm.constants; import com.emv.qrcode.core.model.cpm.BERTag; diff --git a/src/main/java/com/emv/qrcode/model/mpm/AdditionalDataField.java b/src/main/java/com/emv/qrcode/model/mpm/AdditionalDataField.java index 52dab9d..c92843f 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/AdditionalDataField.java +++ b/src/main/java/com/emv/qrcode/model/mpm/AdditionalDataField.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import java.io.Serializable; diff --git a/src/main/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTemplate.java b/src/main/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTemplate.java index 73bdea6..da56a0d 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTemplate.java +++ b/src/main/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTemplate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import java.util.Objects; diff --git a/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformation.java b/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformation.java index 7750301..0314ef1 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformation.java +++ b/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformation.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import java.io.Serializable; diff --git a/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReserved.java b/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReserved.java index 03f5380..a1c70de 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReserved.java +++ b/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReserved.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import org.apache.commons.lang3.StringUtils; diff --git a/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReservedAdditional.java b/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReservedAdditional.java index 8602cca..0b88099 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReservedAdditional.java +++ b/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReservedAdditional.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import java.util.LinkedHashMap; diff --git a/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationTemplate.java b/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationTemplate.java index 2172b5a..6b8105c 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationTemplate.java +++ b/src/main/java/com/emv/qrcode/model/mpm/MerchantAccountInformationTemplate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import java.util.Objects; diff --git a/src/main/java/com/emv/qrcode/model/mpm/MerchantInformationLanguage.java b/src/main/java/com/emv/qrcode/model/mpm/MerchantInformationLanguage.java index 1a7fd72..2419799 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/MerchantInformationLanguage.java +++ b/src/main/java/com/emv/qrcode/model/mpm/MerchantInformationLanguage.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import java.io.Serializable; diff --git a/src/main/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTemplate.java b/src/main/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTemplate.java index 770ca88..8f4c1d3 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTemplate.java +++ b/src/main/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTemplate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import java.util.Objects; diff --git a/src/main/java/com/emv/qrcode/model/mpm/MerchantPresentedMode.java b/src/main/java/com/emv/qrcode/model/mpm/MerchantPresentedMode.java index 908d5be..7ec4073 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/MerchantPresentedMode.java +++ b/src/main/java/com/emv/qrcode/model/mpm/MerchantPresentedMode.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import java.io.Serializable; diff --git a/src/main/java/com/emv/qrcode/model/mpm/PaymentSystemSpecific.java b/src/main/java/com/emv/qrcode/model/mpm/PaymentSystemSpecific.java index 5bfca7d..d1a48eb 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/PaymentSystemSpecific.java +++ b/src/main/java/com/emv/qrcode/model/mpm/PaymentSystemSpecific.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import java.io.Serializable; diff --git a/src/main/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTemplate.java b/src/main/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTemplate.java index 5d9d034..5831239 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTemplate.java +++ b/src/main/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTemplate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import java.util.Objects; diff --git a/src/main/java/com/emv/qrcode/model/mpm/Unreserved.java b/src/main/java/com/emv/qrcode/model/mpm/Unreserved.java index fd6e456..9127f35 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/Unreserved.java +++ b/src/main/java/com/emv/qrcode/model/mpm/Unreserved.java @@ -1,9 +1,20 @@ -package com.emv.qrcode.model.mpm; +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ -import com.emv.qrcode.core.model.mpm.TagLengthString; -import com.emv.qrcode.model.mpm.constants.UnreservedTemplateFieldCodes; -import lombok.Getter; -import org.apache.commons.lang3.StringUtils; +package com.emv.qrcode.model.mpm; import java.io.Serializable; import java.util.LinkedHashMap; @@ -11,6 +22,13 @@ import java.util.Map.Entry; import java.util.Optional; +import org.apache.commons.lang3.StringUtils; + +import com.emv.qrcode.core.model.mpm.TagLengthString; +import com.emv.qrcode.model.mpm.constants.UnreservedTemplateFieldCodes; + +import lombok.Getter; + @Getter public class Unreserved implements Serializable { @@ -27,7 +45,7 @@ public Unreserved() { } public Unreserved(final String globallyUniqueIdentifier) { - this.setGloballyUniqueIdentifier(globallyUniqueIdentifier); + setGloballyUniqueIdentifier(globallyUniqueIdentifier); } public final void setGloballyUniqueIdentifier(final String globallyUniqueIdentifier) { diff --git a/src/main/java/com/emv/qrcode/model/mpm/UnreservedTemplate.java b/src/main/java/com/emv/qrcode/model/mpm/UnreservedTemplate.java index deb0024..0503fe4 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/UnreservedTemplate.java +++ b/src/main/java/com/emv/qrcode/model/mpm/UnreservedTemplate.java @@ -1,12 +1,30 @@ -package com.emv.qrcode.model.mpm; +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ -import com.emv.qrcode.core.model.TLV; -import lombok.Setter; -import org.apache.commons.lang3.StringUtils; +package com.emv.qrcode.model.mpm; import java.util.Objects; import java.util.Optional; +import org.apache.commons.lang3.StringUtils; + +import com.emv.qrcode.core.model.TLV; + +import lombok.Setter; + @Setter public class UnreservedTemplate implements TLV { @@ -21,17 +39,17 @@ public UnreservedTemplate() { } public UnreservedTemplate(final String tag) { - this.setTag(tag); + setTag(tag); } public UnreservedTemplate(final String tag, final String globallyUniqueIdentifier) { - this.setTag(tag); - this.setValue(new Unreserved(globallyUniqueIdentifier)); + setTag(tag); + setValue(new Unreserved(globallyUniqueIdentifier)); } - public void addContextSpecificData(final String tag, final String value) { - this.setValue(Optional.ofNullable(this.getValue()).orElse(new Unreserved())); - this.getValue().addContextSpecificData(tag, value); + public void addContextSpecificData(final String tag, final String value) { + setValue(Optional.ofNullable(getValue()).orElse(new Unreserved())); + getValue().addContextSpecificData(tag, value); } @Override diff --git a/src/main/java/com/emv/qrcode/model/mpm/constants/AdditionalDataFieldCodes.java b/src/main/java/com/emv/qrcode/model/mpm/constants/AdditionalDataFieldCodes.java index 9cc0e80..a7b8ac4 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/constants/AdditionalDataFieldCodes.java +++ b/src/main/java/com/emv/qrcode/model/mpm/constants/AdditionalDataFieldCodes.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm.constants; public final class AdditionalDataFieldCodes { diff --git a/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantAccountInformationFieldCodes.java b/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantAccountInformationFieldCodes.java index a444f2c..19da291 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantAccountInformationFieldCodes.java +++ b/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantAccountInformationFieldCodes.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm.constants; public final class MerchantAccountInformationFieldCodes { diff --git a/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantInformationLanguageFieldCodes.java b/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantInformationLanguageFieldCodes.java index 110aa07..e43b87a 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantInformationLanguageFieldCodes.java +++ b/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantInformationLanguageFieldCodes.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm.constants; public class MerchantInformationLanguageFieldCodes { diff --git a/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantPresentedModeCodes.java b/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantPresentedModeCodes.java index a7e0ad9..38ff6ac 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantPresentedModeCodes.java +++ b/src/main/java/com/emv/qrcode/model/mpm/constants/MerchantPresentedModeCodes.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm.constants; public final class MerchantPresentedModeCodes { diff --git a/src/main/java/com/emv/qrcode/model/mpm/constants/PaymentSystemSpecificFieldCodes.java b/src/main/java/com/emv/qrcode/model/mpm/constants/PaymentSystemSpecificFieldCodes.java index 538ab35..0ec184b 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/constants/PaymentSystemSpecificFieldCodes.java +++ b/src/main/java/com/emv/qrcode/model/mpm/constants/PaymentSystemSpecificFieldCodes.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm.constants; public final class PaymentSystemSpecificFieldCodes { diff --git a/src/main/java/com/emv/qrcode/model/mpm/constants/UnreservedTemplateFieldCodes.java b/src/main/java/com/emv/qrcode/model/mpm/constants/UnreservedTemplateFieldCodes.java index 68495a3..e75a10a 100644 --- a/src/main/java/com/emv/qrcode/model/mpm/constants/UnreservedTemplateFieldCodes.java +++ b/src/main/java/com/emv/qrcode/model/mpm/constants/UnreservedTemplateFieldCodes.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm.constants; public class UnreservedTemplateFieldCodes { diff --git a/src/main/java/com/emv/qrcode/validators/ConsumerPresentedModeValidate.java b/src/main/java/com/emv/qrcode/validators/ConsumerPresentedModeValidate.java index 29fc4ff..34d5b6e 100644 --- a/src/main/java/com/emv/qrcode/validators/ConsumerPresentedModeValidate.java +++ b/src/main/java/com/emv/qrcode/validators/ConsumerPresentedModeValidate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators; import com.emv.qrcode.model.cpm.ConsumerPresentedMode; diff --git a/src/main/java/com/emv/qrcode/validators/Crc16Validate.java b/src/main/java/com/emv/qrcode/validators/Crc16Validate.java index 76e1394..aedcb96 100644 --- a/src/main/java/com/emv/qrcode/validators/Crc16Validate.java +++ b/src/main/java/com/emv/qrcode/validators/Crc16Validate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators; import static br.com.fluentvalidator.predicate.StringPredicate.stringEquals; diff --git a/src/main/java/com/emv/qrcode/validators/MerchantPresentedModeValidate.java b/src/main/java/com/emv/qrcode/validators/MerchantPresentedModeValidate.java index a7fbada..6957af3 100644 --- a/src/main/java/com/emv/qrcode/validators/MerchantPresentedModeValidate.java +++ b/src/main/java/com/emv/qrcode/validators/MerchantPresentedModeValidate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators; import com.emv.qrcode.model.mpm.MerchantPresentedMode; diff --git a/src/main/java/com/emv/qrcode/validators/cpm/ApplicationTemplateValidator.java b/src/main/java/com/emv/qrcode/validators/cpm/ApplicationTemplateValidator.java index f6bce57..b2b7961 100644 --- a/src/main/java/com/emv/qrcode/validators/cpm/ApplicationTemplateValidator.java +++ b/src/main/java/com/emv/qrcode/validators/cpm/ApplicationTemplateValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.cpm; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/main/java/com/emv/qrcode/validators/cpm/CommonDataTemplateValidator.java b/src/main/java/com/emv/qrcode/validators/cpm/CommonDataTemplateValidator.java index 9584919..9cf5419 100644 --- a/src/main/java/com/emv/qrcode/validators/cpm/CommonDataTemplateValidator.java +++ b/src/main/java/com/emv/qrcode/validators/cpm/CommonDataTemplateValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.cpm; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/main/java/com/emv/qrcode/validators/cpm/ConsumerPresentedModeValidator.java b/src/main/java/com/emv/qrcode/validators/cpm/ConsumerPresentedModeValidator.java index 686a691..1f03a6b 100644 --- a/src/main/java/com/emv/qrcode/validators/cpm/ConsumerPresentedModeValidator.java +++ b/src/main/java/com/emv/qrcode/validators/cpm/ConsumerPresentedModeValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.cpm; import static br.com.fluentvalidator.predicate.CollectionPredicate.empty; diff --git a/src/main/java/com/emv/qrcode/validators/cpm/PayloadFormatIndicatorValidator.java b/src/main/java/com/emv/qrcode/validators/cpm/PayloadFormatIndicatorValidator.java index 8bcb8bc..79783ed 100644 --- a/src/main/java/com/emv/qrcode/validators/cpm/PayloadFormatIndicatorValidator.java +++ b/src/main/java/com/emv/qrcode/validators/cpm/PayloadFormatIndicatorValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.cpm; import static br.com.fluentvalidator.predicate.StringPredicate.stringEquals; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/AdditionalDataFieldTemplateValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/AdditionalDataFieldTemplateValidator.java index 76f32ce..ba9717e 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/AdditionalDataFieldTemplateValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/AdditionalDataFieldTemplateValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/AdditionalDataFieldValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/AdditionalDataFieldValidator.java index 2874c59..8cd8711 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/AdditionalDataFieldValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/AdditionalDataFieldValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationReservedAdditionalValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationReservedAdditionalValidator.java index 9346c00..bc4a827 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationReservedAdditionalValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationReservedAdditionalValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationReservedValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationReservedValidator.java index 22af4c5..3960783 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationReservedValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationReservedValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.predicate.StringPredicate.stringSizeBetween; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationTemplateValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationTemplateValidator.java index 1d08fa5..266e598 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationTemplateValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/MerchantAccountInformationTemplateValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/MerchantInformationLanguageTemplateValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/MerchantInformationLanguageTemplateValidator.java index 37a6af3..ee7082c 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/MerchantInformationLanguageTemplateValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/MerchantInformationLanguageTemplateValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/MerchantInformationLanguageValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/MerchantInformationLanguageValidator.java index e104d89..312f51f 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/MerchantInformationLanguageValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/MerchantInformationLanguageValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/MerchantPresentedModeValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/MerchantPresentedModeValidator.java index 88bab4a..ab3c51d 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/MerchantPresentedModeValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/MerchantPresentedModeValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/PaymentSystemSpecificTemplateValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/PaymentSystemSpecificTemplateValidator.java index 12a9473..515a269 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/PaymentSystemSpecificTemplateValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/PaymentSystemSpecificTemplateValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/PaymentSystemSpecificValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/PaymentSystemSpecificValidator.java index 636d6a2..8f0f02c 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/PaymentSystemSpecificValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/PaymentSystemSpecificValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/TagLengthStringValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/TagLengthStringValidator.java index 0787c16..d8950b8 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/TagLengthStringValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/TagLengthStringValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.predicate.ComparablePredicate.betweenInclusive; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/UnreservedTemplateValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/UnreservedTemplateValidator.java index 796088d..6982125 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/UnreservedTemplateValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/UnreservedTemplateValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/main/java/com/emv/qrcode/validators/mpm/UnreservedValidator.java b/src/main/java/com/emv/qrcode/validators/mpm/UnreservedValidator.java index 4b20871..2678f0d 100644 --- a/src/main/java/com/emv/qrcode/validators/mpm/UnreservedValidator.java +++ b/src/main/java/com/emv/qrcode/validators/mpm/UnreservedValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators.mpm; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/test/java/com/emv/qrcode/core/CRCTest.java b/src/test/java/com/emv/qrcode/core/CRCTest.java index 05eb28e..def2741 100644 --- a/src/test/java/com/emv/qrcode/core/CRCTest.java +++ b/src/test/java/com/emv/qrcode/core/CRCTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/core/isos/CountryTest.java b/src/test/java/com/emv/qrcode/core/isos/CountryTest.java index 0e65c08..f00acd2 100644 --- a/src/test/java/com/emv/qrcode/core/isos/CountryTest.java +++ b/src/test/java/com/emv/qrcode/core/isos/CountryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.isos; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/core/isos/CurrencyTest.java b/src/test/java/com/emv/qrcode/core/isos/CurrencyTest.java index 6029d8d..506c2cf 100644 --- a/src/test/java/com/emv/qrcode/core/isos/CurrencyTest.java +++ b/src/test/java/com/emv/qrcode/core/isos/CurrencyTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.isos; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/core/isos/LanguageTest.java b/src/test/java/com/emv/qrcode/core/isos/LanguageTest.java index d28c587..5161026 100644 --- a/src/test/java/com/emv/qrcode/core/isos/LanguageTest.java +++ b/src/test/java/com/emv/qrcode/core/isos/LanguageTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.isos; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/core/model/cpm/BERTLAlphanumericTest.java b/src/test/java/com/emv/qrcode/core/model/cpm/BERTLAlphanumericTest.java index 35cb881..54941ba 100644 --- a/src/test/java/com/emv/qrcode/core/model/cpm/BERTLAlphanumericTest.java +++ b/src/test/java/com/emv/qrcode/core/model/cpm/BERTLAlphanumericTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/core/model/cpm/BERTLBinaryTest.java b/src/test/java/com/emv/qrcode/core/model/cpm/BERTLBinaryTest.java index 4a5e12a..540357f 100644 --- a/src/test/java/com/emv/qrcode/core/model/cpm/BERTLBinaryTest.java +++ b/src/test/java/com/emv/qrcode/core/model/cpm/BERTLBinaryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/core/model/cpm/BERTLCompressedNumericTest.java b/src/test/java/com/emv/qrcode/core/model/cpm/BERTLCompressedNumericTest.java index 30e4b58..bf72414 100644 --- a/src/test/java/com/emv/qrcode/core/model/cpm/BERTLCompressedNumericTest.java +++ b/src/test/java/com/emv/qrcode/core/model/cpm/BERTLCompressedNumericTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/core/model/cpm/BERTLNumericTest.java b/src/test/java/com/emv/qrcode/core/model/cpm/BERTLNumericTest.java index e10d905..f2757cf 100644 --- a/src/test/java/com/emv/qrcode/core/model/cpm/BERTLNumericTest.java +++ b/src/test/java/com/emv/qrcode/core/model/cpm/BERTLNumericTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/core/model/cpm/BERTagTest.java b/src/test/java/com/emv/qrcode/core/model/cpm/BERTagTest.java index 01a61bd..a234499 100644 --- a/src/test/java/com/emv/qrcode/core/model/cpm/BERTagTest.java +++ b/src/test/java/com/emv/qrcode/core/model/cpm/BERTagTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.cpm; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/src/test/java/com/emv/qrcode/core/model/mpm/TagLengthStringTest.java b/src/test/java/com/emv/qrcode/core/model/mpm/TagLengthStringTest.java index 38f9968..5586825 100644 --- a/src/test/java/com/emv/qrcode/core/model/mpm/TagLengthStringTest.java +++ b/src/test/java/com/emv/qrcode/core/model/mpm/TagLengthStringTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/core/utils/BERUtilsTest.java b/src/test/java/com/emv/qrcode/core/utils/BERUtilsTest.java index 9d395c5..ba00c87 100644 --- a/src/test/java/com/emv/qrcode/core/utils/BERUtilsTest.java +++ b/src/test/java/com/emv/qrcode/core/utils/BERUtilsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.utils; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/core/utils/TLVUtilsTest.java b/src/test/java/com/emv/qrcode/core/utils/TLVUtilsTest.java index a4381f5..d96794e 100644 --- a/src/test/java/com/emv/qrcode/core/utils/TLVUtilsTest.java +++ b/src/test/java/com/emv/qrcode/core/utils/TLVUtilsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.core.utils; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/ApplicationSpecificTransparentTemplateDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/ApplicationSpecificTransparentTemplateDecoderTest.java index c035464..2eb867a 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/ApplicationSpecificTransparentTemplateDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/ApplicationSpecificTransparentTemplateDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/ApplicationTemplateDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/ApplicationTemplateDecoderTest.java index a41f9fc..eac4940 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/ApplicationTemplateDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/ApplicationTemplateDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/BERTLAlphanumericDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/BERTLAlphanumericDecoderTest.java index 569cecf..5c94525 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/BERTLAlphanumericDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/BERTLAlphanumericDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/BERTLBinaryDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/BERTLBinaryDecoderTest.java index 74c321e..9548062 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/BERTLBinaryDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/BERTLBinaryDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/BERTLCompressedNumericDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/BERTLCompressedNumericDecoderTest.java index 3fedfd1..8beb31a 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/BERTLCompressedNumericDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/BERTLCompressedNumericDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/BERTLNumericDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/BERTLNumericDecoderTest.java index baac702..f1cc001 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/BERTLNumericDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/BERTLNumericDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/CommonDataTemplateDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/CommonDataTemplateDecoderTest.java index cfc54a3..e445e7d 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/CommonDataTemplateDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/CommonDataTemplateDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/CommonDataTransparentTemplateDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/CommonDataTransparentTemplateDecoderTest.java index 14bfeb2..e472e59 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/CommonDataTransparentTemplateDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/CommonDataTransparentTemplateDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/ConsumerPresentedModeDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/ConsumerPresentedModeDecoderTest.java index 91725dd..ccafa25 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/ConsumerPresentedModeDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/ConsumerPresentedModeDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.assertj.core.api.Assertions.assertThat; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/DecodeCpmIteratorTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/DecodeCpmIteratorTest.java index 193d6df..fed8ffe 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/DecodeCpmIteratorTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/DecodeCpmIteratorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.assertj.core.api.Assertions.assertThat; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/DecoderCpmTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/DecoderCpmTest.java index f29850d..65e600d 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/DecoderCpmTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/DecoderCpmTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.assertj.core.api.Assertions.assertThat; diff --git a/src/test/java/com/emv/qrcode/decoder/cpm/PayloadFormatIndicatorDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/cpm/PayloadFormatIndicatorDecoderTest.java index c6f4685..ea26e5f 100644 --- a/src/test/java/com/emv/qrcode/decoder/cpm/PayloadFormatIndicatorDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/cpm/PayloadFormatIndicatorDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldDecoderTest.java index f87570e..569c910 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldTemplateDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldTemplateDecoderTest.java index c215183..f24186a 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldTemplateDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/AdditionalDataFieldTemplateDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/DecodeMpmIteratorTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/DecodeMpmIteratorTest.java index 5e4ff76..013627a 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/DecodeMpmIteratorTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/DecodeMpmIteratorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.assertj.core.api.Assertions.assertThat; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/DecoderMpmTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/DecoderMpmTest.java index 314cfeb..7cf7469 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/DecoderMpmTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/DecoderMpmTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.assertj.core.api.Assertions.assertThat; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedAdditionalDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedAdditionalDecoderTest.java index d205ed1..8b4d79d 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedAdditionalDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationReservedAdditionalDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationTemplateDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationTemplateDecoderTest.java index adcd425..0f1dcc5 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationTemplateDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/MerchantAccountInformationTemplateDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageDecoderTest.java index 83013d1..de55082 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageTemplateDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageTemplateDecoderTest.java index 7cb830d..17efa51 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageTemplateDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/MerchantInformationLanguageTemplateDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/MerchantPresentedModeDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/MerchantPresentedModeDecoderTest.java index d93aafb..67676e1 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/MerchantPresentedModeDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/MerchantPresentedModeDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.assertj.core.api.Assertions.assertThatCode; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificDecoderTest.java index d2f6aa0..b1fc564 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificTemplateDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificTemplateDecoderTest.java index 3c7ce56..e8d162a 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificTemplateDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/PaymentSystemSpecificTemplateDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/TagLengthStringDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/TagLengthStringDecoderTest.java index ad78edc..be38e73 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/TagLengthStringDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/TagLengthStringDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/UnreservedDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/UnreservedDecoderTest.java index b1e7e19..95ef399 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/UnreservedDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/UnreservedDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.assertj.core.api.Assertions.catchThrowableOfType; diff --git a/src/test/java/com/emv/qrcode/decoder/mpm/UnreservedTemplateDecoderTest.java b/src/test/java/com/emv/qrcode/decoder/mpm/UnreservedTemplateDecoderTest.java index 6a1849f..916a8e9 100644 --- a/src/test/java/com/emv/qrcode/decoder/mpm/UnreservedTemplateDecoderTest.java +++ b/src/test/java/com/emv/qrcode/decoder/mpm/UnreservedTemplateDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.decoder.mpm; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/src/test/java/com/emv/qrcode/model/cpm/AdditionalDataTest.java b/src/test/java/com/emv/qrcode/model/cpm/AdditionalDataTest.java index 907c3df..192ac3a 100644 --- a/src/test/java/com/emv/qrcode/model/cpm/AdditionalDataTest.java +++ b/src/test/java/com/emv/qrcode/model/cpm/AdditionalDataTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/cpm/ApplicationSpecificTransparentTemplateTest.java b/src/test/java/com/emv/qrcode/model/cpm/ApplicationSpecificTransparentTemplateTest.java index 16ca592..55dd6f5 100644 --- a/src/test/java/com/emv/qrcode/model/cpm/ApplicationSpecificTransparentTemplateTest.java +++ b/src/test/java/com/emv/qrcode/model/cpm/ApplicationSpecificTransparentTemplateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/cpm/ApplicationTemplateTest.java b/src/test/java/com/emv/qrcode/model/cpm/ApplicationTemplateTest.java index 563da5e..bb0abfb 100644 --- a/src/test/java/com/emv/qrcode/model/cpm/ApplicationTemplateTest.java +++ b/src/test/java/com/emv/qrcode/model/cpm/ApplicationTemplateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/cpm/CommonDataTemplateTest.java b/src/test/java/com/emv/qrcode/model/cpm/CommonDataTemplateTest.java index 2bded68..eb8e7ea 100644 --- a/src/test/java/com/emv/qrcode/model/cpm/CommonDataTemplateTest.java +++ b/src/test/java/com/emv/qrcode/model/cpm/CommonDataTemplateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/cpm/CommonDataTransparentTemplateTest.java b/src/test/java/com/emv/qrcode/model/cpm/CommonDataTransparentTemplateTest.java index 97a4bc1..d55ee25 100644 --- a/src/test/java/com/emv/qrcode/model/cpm/CommonDataTransparentTemplateTest.java +++ b/src/test/java/com/emv/qrcode/model/cpm/CommonDataTransparentTemplateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/cpm/ConsumerPresentedModeTest.java b/src/test/java/com/emv/qrcode/model/cpm/ConsumerPresentedModeTest.java index e076482..7e39944 100644 --- a/src/test/java/com/emv/qrcode/model/cpm/ConsumerPresentedModeTest.java +++ b/src/test/java/com/emv/qrcode/model/cpm/ConsumerPresentedModeTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/cpm/PayloadFormatIndicatorTest.java b/src/test/java/com/emv/qrcode/model/cpm/PayloadFormatIndicatorTest.java index 81326e3..f46d2f8 100644 --- a/src/test/java/com/emv/qrcode/model/cpm/PayloadFormatIndicatorTest.java +++ b/src/test/java/com/emv/qrcode/model/cpm/PayloadFormatIndicatorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.cpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTemplateTest.java b/src/test/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTemplateTest.java index 607a6cd..1cba0e4 100644 --- a/src/test/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTemplateTest.java +++ b/src/test/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTemplateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTest.java b/src/test/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTest.java index eb76653..459c498 100644 --- a/src/test/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTest.java +++ b/src/test/java/com/emv/qrcode/model/mpm/AdditionalDataFieldTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReservedAdditionalTest.java b/src/test/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReservedAdditionalTest.java index f2b3de6..245e47d 100644 --- a/src/test/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReservedAdditionalTest.java +++ b/src/test/java/com/emv/qrcode/model/mpm/MerchantAccountInformationReservedAdditionalTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/mpm/MerchantAccountInformationTemplateTest.java b/src/test/java/com/emv/qrcode/model/mpm/MerchantAccountInformationTemplateTest.java index 2f947d8..edc568d 100644 --- a/src/test/java/com/emv/qrcode/model/mpm/MerchantAccountInformationTemplateTest.java +++ b/src/test/java/com/emv/qrcode/model/mpm/MerchantAccountInformationTemplateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTemplateTest.java b/src/test/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTemplateTest.java index fb4c5aa..e7d55ae 100644 --- a/src/test/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTemplateTest.java +++ b/src/test/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTemplateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTest.java b/src/test/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTest.java index 1f08535..68e59bc 100644 --- a/src/test/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTest.java +++ b/src/test/java/com/emv/qrcode/model/mpm/MerchantInformationLanguageTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/mpm/MerchantPresentedModeTest.java b/src/test/java/com/emv/qrcode/model/mpm/MerchantPresentedModeTest.java index 356ed36..2cb1c46 100644 --- a/src/test/java/com/emv/qrcode/model/mpm/MerchantPresentedModeTest.java +++ b/src/test/java/com/emv/qrcode/model/mpm/MerchantPresentedModeTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTemplateTest.java b/src/test/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTemplateTest.java index 69939c5..fd1fa94 100644 --- a/src/test/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTemplateTest.java +++ b/src/test/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTemplateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTest.java b/src/test/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTest.java index c397b57..01db6f2 100644 --- a/src/test/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTest.java +++ b/src/test/java/com/emv/qrcode/model/mpm/PaymentSystemSpecificTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/mpm/UnreservedTemplateTest.java b/src/test/java/com/emv/qrcode/model/mpm/UnreservedTemplateTest.java index 1ce6855..6548d1e 100644 --- a/src/test/java/com/emv/qrcode/model/mpm/UnreservedTemplateTest.java +++ b/src/test/java/com/emv/qrcode/model/mpm/UnreservedTemplateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/model/mpm/UnreservedTest.java b/src/test/java/com/emv/qrcode/model/mpm/UnreservedTest.java index f4f27ac..68181c4 100644 --- a/src/test/java/com/emv/qrcode/model/mpm/UnreservedTest.java +++ b/src/test/java/com/emv/qrcode/model/mpm/UnreservedTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.model.mpm; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/validators/ConsumerPresentedModeValidateTest.java b/src/test/java/com/emv/qrcode/validators/ConsumerPresentedModeValidateTest.java index a775d0c..1ce15e1 100644 --- a/src/test/java/com/emv/qrcode/validators/ConsumerPresentedModeValidateTest.java +++ b/src/test/java/com/emv/qrcode/validators/ConsumerPresentedModeValidateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/validators/Crc16ValidatorTest.java b/src/test/java/com/emv/qrcode/validators/Crc16ValidatorTest.java index 858040e..be7c2db 100644 --- a/src/test/java/com/emv/qrcode/validators/Crc16ValidatorTest.java +++ b/src/test/java/com/emv/qrcode/validators/Crc16ValidatorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/emv/qrcode/validators/MerchantPresentedModeValidatorTest.java b/src/test/java/com/emv/qrcode/validators/MerchantPresentedModeValidatorTest.java index efc8d36..85f5e9d 100644 --- a/src/test/java/com/emv/qrcode/validators/MerchantPresentedModeValidatorTest.java +++ b/src/test/java/com/emv/qrcode/validators/MerchantPresentedModeValidatorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.emv.qrcode.validators; import static org.junit.Assert.assertTrue;