Remove reference to deprecated FileType function

Change-Id: I7d67d5b2c5bfa003689bf9217c7fb9182e39cae5
diff --git a/tools/build/bazel/checkstyle.bzl b/tools/build/bazel/checkstyle.bzl
index bd8eeb1..b651dd2 100644
--- a/tools/build/bazel/checkstyle.bzl
+++ b/tools/build/bazel/checkstyle.bzl
@@ -62,7 +62,7 @@
             Label("@com_google_guava_guava//jar"),
             Label("@commons_logging//jar"),
         ]),
-        "srcs": attr.label_list(allow_files = FileType([".java"])),
+        "srcs": attr.label_list(allow_files = [".java"]),
         "_config": attr.label(default = Label("//tools/build/conf:checkstyle_xml")),
         "_suppressions": attr.label(default = Label("//tools/build/conf:suppressions_xml")),
         "_java_header": attr.label(default = Label("//tools/build/conf:onos_java_header")),