Hi Dimis,

Thanks for pointing this point.

This function has changed recently in the development branch - there is no longer a class member "varPrefix" because "varPrefix" was always set to the constant "prefix". The fixed setting is assumed elsewhere in the code.

https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/sparql/engine/Rename.java

Do you have specific need to have "varPrefix" in RenameAnyVars? It can be put back easily enough even if not required by ARQ itself.

    Andy


On 31/01/17 00:16, Dimitrianos Savva wrote:
Hi,

It seems that the field varPrefix should have been used as a parameter (instead 
of prefix):

var2 = Rename.chooseVarName(var, constants, prefix) ;

in function:

Node apply(Node node)

in static class RenameAnyVars

in class org.apache.jena.sparql.engine.Rename

Thanks
Dimis

Reply via email to