Skip to content

Commit

Permalink
Fixed bug where the preprocessing functions did not work based on upp…
Browse files Browse the repository at this point in the history
…ercase or lowercase names
  • Loading branch information
becker-al committed May 10, 2024
1 parent 6ac3c46 commit db44bff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ public class PreprocessingFunctionFactory {
public static final String REMOVE_NON_ALPHANUMERIC = "regularalphabet";
public static final String URI_AS_STRING = "uriasstring";
public static final String SPLIT = "split";
public static final String TO_WKT_POINT = "toWktPoint";
public static final String TO_WKT_POINT = "towktpoint"; //toWktPoint

public static PreprocessingFunctionType getPreprocessingType(String expression){
switch(expression.trim()){
switch(expression.trim().toLowerCase()){
case(CLEAN_IRI):
return PreprocessingFunctionType.CLEAN_IRI;
case(CLEAN_NUMBER):
Expand Down

0 comments on commit db44bff

Please sign in to comment.