You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by sn...@apache.org on 2017/07/19 13:20:47 UTC

[nutch] branch master updated (8f556f4 -> 403ec19)

This is an automated email from the ASF dual-hosted git repository.

snagel pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git.


    from 8f556f4  Merge branch 'master' of https://gitbox.apache.org/repos/asf/nutch
     new 3df1672  Fix trim in headings plugin
     new b1ebe2f  NUTCH-2401 Headings plugin to trim values (merge branch 'fix/headings' of user smartive, contributed by Thilo Haas)
     new 403ec19  Update version number in bin/nutch

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/bin/nutch                                                           | 2 +-
 .../src/java/org/apache/nutch/parse/headings/HeadingsParseFilter.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@nutch.apache.org" <co...@nutch.apache.org>'].

[nutch] 02/03: NUTCH-2401 Headings plugin to trim values (merge branch 'fix/headings' of user smartive, contributed by Thilo Haas)

Posted by sn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

snagel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git

commit b1ebe2f6a7fe054321e0554d0f6319189ddb8e67
Merge: 8f556f4 3df1672
Author: Sebastian Nagel <sn...@apache.org>
AuthorDate: Wed Jul 19 15:19:31 2017 +0200

    NUTCH-2401 Headings plugin to trim values
    (merge branch 'fix/headings' of user smartive, contributed by Thilo Haas)

 .../src/java/org/apache/nutch/parse/headings/HeadingsParseFilter.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
"commits@nutch.apache.org" <co...@nutch.apache.org>.

[nutch] 03/03: Update version number in bin/nutch

Posted by sn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

snagel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git

commit 403ec19135820b207c89305bebcb6ee89d097ef3
Author: Sebastian Nagel <sn...@apache.org>
AuthorDate: Wed Jul 19 15:20:04 2017 +0200

    Update version number in bin/nutch
---
 src/bin/nutch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/nutch b/src/bin/nutch
index 16d3abb..10e8c29 100755
--- a/src/bin/nutch
+++ b/src/bin/nutch
@@ -53,7 +53,7 @@ done
 
 # if no args specified, show usage
 if [ $# = 0 ]; then
-  echo "nutch 1.12"
+  echo "nutch 1.14-SNAPSHOT"
   echo "Usage: nutch COMMAND"
   echo "where COMMAND is one of:"
   echo "  readdb            read / dump crawl db"

-- 
To stop receiving notification emails like this one, please contact
"commits@nutch.apache.org" <co...@nutch.apache.org>.

[nutch] 01/03: Fix trim in headings plugin

Posted by sn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

snagel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git

commit 3df16722455a550590d2a293b028c8c73608270a
Author: Thilo Haas <th...@smartive.ch>
AuthorDate: Wed Jul 19 11:41:13 2017 +0200

    Fix trim in headings plugin
---
 .../src/java/org/apache/nutch/parse/headings/HeadingsParseFilter.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugin/headings/src/java/org/apache/nutch/parse/headings/HeadingsParseFilter.java b/src/plugin/headings/src/java/org/apache/nutch/parse/headings/HeadingsParseFilter.java
index 657f260..e20a2da 100644
--- a/src/plugin/headings/src/java/org/apache/nutch/parse/headings/HeadingsParseFilter.java
+++ b/src/plugin/headings/src/java/org/apache/nutch/parse/headings/HeadingsParseFilter.java
@@ -53,7 +53,7 @@ public class HeadingsParseFilter implements HtmlParseFilter {
       if (discoveredHeadings.size() > 0) {
         for (String heading : discoveredHeadings) {
           if (heading != null) {
-            heading.trim();
+            heading = heading.trim();
 
             if (heading.length() > 0) {
               parse.getData().getParseMeta().add(headings[i], heading);

-- 
To stop receiving notification emails like this one, please contact
"commits@nutch.apache.org" <co...@nutch.apache.org>.