arne-bdt opened a new issue, #2741: URL: https://github.com/apache/jena/issues/2741
### Version 5.2.0-SNAPSHOT ### What happened? By accident, I stumbled across two calls in `org.apache.jena.graph.impl.LiteralLabel` to the static function `normalize` , which set a local variable `dtype`, which is not used afterwards. But there is a class variable `this.dtype` which maybe should have been set to the result of `normalize` instead, otherwise normalize would have no effect at all.  I tried to comment the two lines out but as expected the following tests were still sucessful: - `org.apache.jena.graph.test.TestTypedLiterals` - `org.apache.jena.graph.test.TestLiteralLabels` - `org.apache.jena.graph.test.TestLiteralLabelSameValueAs` Since I can´t find any example, showing what normalize should do, I don´t feel confident enough to add tests and provide an appropriate fix. ### Relevant output and stacktrace _No response_ ### Are you interested in making a pull request? Maybe -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
