Add Source Code Linter Pipeline

This commit is contained in:
Siwat Sirichai 2020-10-29 16:38:56 +07:00
parent 0d0e7140c4
commit d252f6ef50
313 changed files with 36277 additions and 0 deletions

View file

@ -0,0 +1,19 @@
package +zoccolo+.web.controller;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
public class GenericComponent {
protected final Log logger = LogFactory.getLog(this.getClass());
@Autowired
public ApplicationContext context;
public String getMessage(String key, Object ...variables) {
return context.getMessage(key, variables, null);
}
}