From ba24c761fcc1cb6df5f3789f11d242ba82e1ff09 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Tue, 30 Jul 2013 10:43:29 +0200 Subject: [PATCH] Rewrite extractBodyContent method. --- src/fr/devinsy/xidyn/presenters/Presenter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fr/devinsy/xidyn/presenters/Presenter.java b/src/fr/devinsy/xidyn/presenters/Presenter.java index 3fc0a8b..efc81e0 100644 --- a/src/fr/devinsy/xidyn/presenters/Presenter.java +++ b/src/fr/devinsy/xidyn/presenters/Presenter.java @@ -11,7 +11,7 @@ import fr.devinsy.xidyn.data.TagDataManager; */ public abstract class Presenter { - public static final Pattern BODY_PATTERN = Pattern.compile("^.*<[bB][oO][dD][yY]>\\s*(.*\\S)\\s*.*$"); + private static final Pattern BODY_PATTERN = Pattern.compile("^.*<[bB][oO][dD][yY]>\\s*(.*\\S)\\s*.*$"); /** * @@ -39,7 +39,7 @@ public abstract class Presenter * * @return */ - public abstract boolean isOutdated(); + public abstract boolean isOutdated() throws Exception; /** * Good estimation of the target length able to optimize performance.