From 182fc39ebec802c0dff6ff6286e6ea58ca689ceb Mon Sep 17 00:00:00 2001 From: Maximilien LEDOUX Date: Sat, 19 Mar 2022 13:09:44 +0100 Subject: [PATCH] =?UTF-8?q?Nouvelles=20Regex=20:=20CLIENT=5FSIGN=5FOUT=20v?= =?UTF-8?q?alid=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lightcontainer/protocol/rules/reader/SignoutRule.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/lightcontainer/protocol/rules/reader/SignoutRule.java b/app/src/main/java/lightcontainer/protocol/rules/reader/SignoutRule.java index 2b7a39f..17276ae 100644 --- a/app/src/main/java/lightcontainer/protocol/rules/reader/SignoutRule.java +++ b/app/src/main/java/lightcontainer/protocol/rules/reader/SignoutRule.java @@ -2,13 +2,16 @@ package lightcontainer.protocol.rules.reader; import lightcontainer.domains.client.Context; import lightcontainer.protocol.ProtocolReader; +import lightcontainer.protocol.StandardizedDefinitions; + +import static lightcontainer.protocol.StandardizedDefinitions.CLIENT_SIGN_OUT; /** * Règle demandant la déconnexion du client */ public class SignoutRule extends ProtocolReader { - - private static final String PATTERN = "^SIGNOUT\r\n$"; + //"^SIGNOUT\r\n$" + private static final String PATTERN = CLIENT_SIGN_OUT; public static final String NAME = "SIGNOUT";