directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject [mitosis] ReplicaId
Date Sun, 24 Aug 2008 22:21:47 GMT
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

View raw message