Ignore:
Timestamp:
Nov 16, 2010, 11:47:46 AM (10 years ago)
Author:
t.w.abma@…
Message:
  • import wizard: fuzzy matching for column properties (step 2) implemented
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/dbnp/importer/ImporterService.groovy

    r1141 r1143  
    538538    }
    539539
    540     static def stringSimilarity (l_str, r_str, degree=2) {       
    541         similarity(l_str.toLowerCase().toCharArray(),
    542             r_str.toLowerCase().toCharArray(),
     540    static def stringSimilarity (l_str, r_str, degree=2) {
     541       
     542        similarity(l_str.toString().toLowerCase().toCharArray(),
     543            r_str.toString().toLowerCase().toCharArray(),
    543544            degree)
    544545    }
Note: See TracChangeset for help on using the changeset viewer.