From 314784f662de9ade23c8de9caa01b4cfbc384f8e Mon Sep 17 00:00:00 2001 From: Maximilien LEDOUX Date: Sat, 19 Mar 2022 13:44:04 +0100 Subject: [PATCH] =?UTF-8?q?Nouvelles=20Regex=20:=20FFE=5FRETRIEVE=5FFILE?= =?UTF-8?q?=20valid=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../protocol/rules/writer/RetrieveFileRule.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/lightcontainer/protocol/rules/writer/RetrieveFileRule.java b/app/src/main/java/lightcontainer/protocol/rules/writer/RetrieveFileRule.java index b64d1bb..951f92d 100644 --- a/app/src/main/java/lightcontainer/protocol/rules/writer/RetrieveFileRule.java +++ b/app/src/main/java/lightcontainer/protocol/rules/writer/RetrieveFileRule.java @@ -2,10 +2,12 @@ package lightcontainer.protocol.rules.writer; import lightcontainer.protocol.ProtocolWriter; +import static lightcontainer.protocol.StandardizedDefinitions.FFE_RETRIEVE_FILE; + public class RetrieveFileRule extends ProtocolWriter { // Constants //"^RETRIEVEFILE ([A-Za-z0-9]{50,200})\r\n$" - private static final String PATTERN = "^RETRIEVEFILE ([A-Za-z0-9]{50,200})\r\n$"; + private static final String PATTERN = FFE_RETRIEVE_FILE; public static final String NAME = "RETRIEVEFILE"; // Constructor