https://issues.apache.org/bugzilla/show_bug.cgi?id=50703

--- Comment #1 from Jeremias Maerki <jerem...@apache.org> 2011-02-02 03:20:24 
EST ---
Makes sense.

Not sure that's what you're looking for but you can add this to PropertyCache:

    public static <T> PropertyCache<T> createFor(Class<T> c) {
        return new PropertyCache<T>(c);
    }

Then later:

    private static final PropertyCache<FontFamilyProperty> CACHE
        = PropertyCache.createFor(FontFamilyProperty.class);

I don't think it makes sense to move out PropertyCache just yet. I wouldn't do
this before we have another use case outside that package.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to