[folks] core: Make PotentialMatch.jaro_dist() private



commit 556fb7b3a76a2a4980aad1b9b4eb044bcb5478c3
Author: Philip Withnall <philip tecnocode co uk>
Date:   Fri Jul 29 17:24:59 2011 +0100

    core: Make PotentialMatch.jaro_dist() private

 folks/potential-match.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/folks/potential-match.vala b/folks/potential-match.vala
index daeb656..17f1a4d 100644
--- a/folks/potential-match.vala
+++ b/folks/potential-match.vala
@@ -389,7 +389,7 @@ public class Folks.PotentialMatch : Object
    * m = matching characters
    * t = number of transpositions
    */
-  public double jaro_dist (string s1, string s2)
+  private double jaro_dist (string s1, string s2)
     {
       double distance;
       int max = s1.length > s2.length ? s1.length : s2.length;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]