The official RML-FNML test cases utilizing idlab-func:toUpperCaseURL expect the generated output of the function to have a lower-case http instead of the upper case HTTP as returned by the current implementation
|
public static String toUpperCaseURL(String test) { |
|
String upperTest = test.toUpperCase(); |
|
if (!upperTest.startsWith("HTTP://")) { |
|
upperTest = "HTTP://" + upperTest; |
|
} |
|
return upperTest; |
|
} |
Which one should be the correct output?
The official RML-FNML test cases utilizing idlab-func:toUpperCaseURL expect the generated output of the function to have a lower-case
httpinstead of the upper caseHTTPas returned by the current implementationidlab-functions-java/src/main/java/be/ugent/knows/idlabFunctions/IDLabFunctions.java
Lines 230 to 236 in 841eb8d
Which one should be the correct output?