On 2 February 2013 21:20, Simone Tripodi <[email protected]> wrote:
>> As far as I know, it is not vital for there to be a single instance
>> for OpenRDF URIs, as equality for URIs is not object equality.
>> Therefore, it should not matter whether there are two or more copies
>> of the "instance" available as equality is preserved for the multiple
>> objects that would be created.
>>
>
> so what's the advantage to have such `getInstance()` method? just make
> the constructor public and instantiate it :)

I only use premade/late-bound-single instances for performance
benefits myself, so it could just be that. Not sure why they
constructor could not be public in this case.

Cheers,

Peter

Reply via email to