${:import(org.apache.commons.logging.Log,org.apache.commons.logging.LogFactory)}
private static final Log LOG = LogFactory.getLog(${primary_type_name}.class);
private static final Log LOG = LogFactory.getLog(${primary_type_name}.class);
To use it, open preferences > java > editor > templates, create a new template with the name "log" and paste the code above in the Pattern field.
No comments:
Post a Comment