From 1b81db5190966e41a43c346df1537a17a13d508a Mon Sep 17 00:00:00 2001 From: Carsten Gerlach Date: Sun, 27 Sep 2015 11:43:00 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Deprecated=20class=20=C2=BBEmailValidator?= =?UTF-8?q?=C2=AB=20fixed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new suggestion is to use the package »routines«, see http://commons.apache.org/proper/commons-validator/apidocs/org/apache/commons/validator/EmailValidator.html --- src/info/bliki/wiki/filter/WikipediaParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/info/bliki/wiki/filter/WikipediaParser.java b/src/info/bliki/wiki/filter/WikipediaParser.java index 2b64c4f..3866cd0 100755 --- a/src/info/bliki/wiki/filter/WikipediaParser.java +++ b/src/info/bliki/wiki/filter/WikipediaParser.java @@ -31,7 +31,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.commons.validator.EmailValidator; +import org.apache.commons.validator.routines.EmailValidator; /** * A Wikipedia syntax parser for the second pass in the parsing of a Wikipedia @@ -1582,4 +1582,4 @@ public boolean isTemplate() { return fRenderTemplate; } -} \ No newline at end of file +} From e398b94d18ad0d26a42e768c16ee4b1d07c34667 Mon Sep 17 00:00:00 2001 From: Carsten Gerlach Date: Sat, 3 Oct 2015 11:16:26 +0200 Subject: [PATCH 2/2] important spaces added to avoid errors and warnings --- meta-and-documentation/README.txt | 2 +- meta-and-documentation/structure.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-and-documentation/README.txt b/meta-and-documentation/README.txt index a9b20a6..1cd2e0d 100644 --- a/meta-and-documentation/README.txt +++ b/meta-and-documentation/README.txt @@ -56,7 +56,7 @@ Structuring the schema Type "mysql -u root" to login to the mysql client Next type "USE yourschemaname" to switch to your newly made schema, you should see a message saying "Database changed" in your terminal window - Finally type "\.structure.sql" this will apply the needed structure to your schema + Finally type "\. structure.sql" this will apply the needed structure to your schema in order for it to hold the printwikipedia database Alternately, do it via a query in MySQLWorkbench diff --git a/meta-and-documentation/structure.sql b/meta-and-documentation/structure.sql index 4b469c0..49cadac 100644 --- a/meta-and-documentation/structure.sql +++ b/meta-and-documentation/structure.sql @@ -15,8 +15,8 @@ /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; ---MAKE SURE RIGHT HERE TO PUT YOUR DATABASE NAME LIKE SO: ---use MYDBNAME; +-- MAKE SURE RIGHT HERE TO PUT YOUR DATABASE NAME LIKE SO: +-- use MYDBNAME; -- -- Table structure for table `archive`