You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by mm...@apache.org on 2019/09/04 17:57:11 UTC

[metron] branch master updated: METRON-2201 The description for the IS_IP method default behavior needs to corrected as per implementation (MohanDV via mmiklavc) closes apache/metron#1474

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3b96474  METRON-2201 The description for the IS_IP method default behavior needs to corrected as per implementation (MohanDV via mmiklavc) closes apache/metron#1474
3b96474 is described below

commit 3b96474ee3b82e9d254b466d5997321b90a6f8c5
Author: MohanDV <mo...@gmail.com>
AuthorDate: Wed Sep 4 11:56:31 2019 -0600

    METRON-2201 The description for the IS_IP method default behavior needs to corrected as per implementation (MohanDV via mmiklavc) closes apache/metron#1474
---
 .../org/apache/metron/common/field/validation/network/IPValidation.java | 2 +-
 metron-stellar/stellar-common/README.md                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/metron-platform/metron-common/src/main/java/org/apache/metron/common/field/validation/network/IPValidation.java b/metron-platform/metron-common/src/main/java/org/apache/metron/common/field/validation/network/IPValidation.java
index 585b979..35ec4ef 100644
--- a/metron-platform/metron-common/src/main/java/org/apache/metron/common/field/validation/network/IPValidation.java
+++ b/metron-platform/metron-common/src/main/java/org/apache/metron/common/field/validation/network/IPValidation.java
@@ -33,7 +33,7 @@ public class IPValidation implements FieldValidation, Predicate<List<Object>> {
           , description = "Determine if an string is an IP or not."
           , params = {
               "ip - An object which we wish to test is an ip"
-             ,"type (optional) - Object of string or collection type (e.g. list) one of IPV4 or IPV6 or both.  The default is IPV4."
+             ,"type (optional) - Object of string or collection type (e.g. list) one of IPV4 or IPV6 or both. The default is both IPV4 and IPV6."
                      }
           , returns = "True if the string is an IP and false otherwise.")
   public static class IS_IP extends Predicate2StellarFunction {
diff --git a/metron-stellar/stellar-common/README.md b/metron-stellar/stellar-common/README.md
index 9f1634b..3031228 100644
--- a/metron-stellar/stellar-common/README.md
+++ b/metron-stellar/stellar-common/README.md
@@ -686,7 +686,7 @@ Where:
   * Description: Determine if an string is an IP or not.
   * Input:
     * ip - An object which we wish to test is an ip
-    * type (optional) - Object of string or collection type (e.g. list) one of IPV4 or IPV6 or both.  The default is IPV4.
+    * type (optional) - Object of string or collection type (e.g. list) one of IPV4 or IPV6 or both.  The default is both IPV4 and IPV6.
   * Returns: True if the string is an IP and false otherwise.
 
 ### `IS_NAN`