<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 1: Jaro metric uses halflength of the longer string</title><link>https://sourceforge.net/p/secondstring/bugs/1/</link><description>Recent changes to 1: Jaro metric uses halflength of the longer string</description><atom:link href="https://sourceforge.net/p/secondstring/bugs/1/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 14 Apr 2004 08:29:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/secondstring/bugs/1/feed.rss" rel="self" type="application/rss+xml"/><item><title>Jaro metric uses halflength of the longer string</title><link>https://sourceforge.net/p/secondstring/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here's a patch:&lt;/p&gt;
&lt;p&gt;--- Jaro.java.orig      2004-04-14 10:21:34.000000000 +0200&lt;br /&gt;
+++ Jaro.java   2004-04-14 10:21:26.000000000 +0200&lt;br /&gt;
@@ -51,7 +51,7 @@&lt;/p&gt;
&lt;p&gt;private int halfLengthOfShorter(String&lt;br /&gt;
str1,String str2)&lt;br /&gt;
{&lt;br /&gt;
-               return (str1.length() &amp;gt; str2.length())&lt;br /&gt;
? str1.length()/2 + 1 : str2.length()/2 + 1;&lt;br /&gt;
+               return (str1.length() &amp;lt; str2.length())&lt;br /&gt;
? str1.length()/2 + 1 : str2.length()/2 + 1;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;private String commonChars(String s,String&lt;br /&gt;
t,int halflen) &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Necas</dc:creator><pubDate>Wed, 14 Apr 2004 08:29:34 -0000</pubDate><guid>https://sourceforge.netc6a148d53632f60ec235f2010c107218f3f5610f</guid></item></channel></rss>