lib/lint_trap/linter/checkstyle.rb in lint_trap-0.0.8 vs lib/lint_trap/linter/checkstyle.rb in lint_trap-0.0.9
- old
+ new
@@ -5,9 +5,13 @@
# Encapsulates logic specific to checkstyle command line tool.
class CheckStyle < Base
JAR = 'checkstyle/checkstyle_logger-all.jar'
CHECKS_XML = 'checkstyle/sun_checks.xml'
+ def languages
+ super(Language::Java)
+ end
+
private
def command_name
'java'
end