Hi guys,

I had a look at the ReplicaId class today, and I have a question :
- do we really need a class to store an Id, even if we want this ID to be constrained ?

I would rather store the Id as a String, and remove completely the class, as the constraint can be checked when reading the configuration, and that's it.

I don't really think it's necessary to create new ReplicaId() all over the code, nor calling replicaId.getId() to get the String representing this Id. KISS principle...

thoughts ?

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to