Hi,

As I mentioned ealier, I think the line for calling the localization
service is too long:
TurbineServices.getInstance().getService(TurbineServices.LOCALIZATION).getString(XXX)

I propose a method "localize(XXX)", which contains this too long line
and returns the localized String. This method could be placed in the
JyveLocalization class.

Advantages: - Code will be more readable
            - Less typing mistakes happen
            - Less line breakes in the code

I do not see any disadvantages except that it takes some initial effort
to change it everywhere.

Problems? Objections? Votes?

Cheers,
 Bernie


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to