eclipse / lyo.designer

lyo.designer
Eclipse Public License 2.0
11 stars 10 forks source link

Use diamond operator when creating instances #273

Open danlz opened 1 year ago

danlz commented 1 year ago

The generated code provides full generic type information when creating instances of generic classes:

private static final Set<Class<?>> RESOURCE_CLASSES = new HashSet<Class<?>>();

You can use the diamond operator instead.