diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py index 902be0618897..0e72c55e43eb 100644 --- a/python/mozbuild/mozbuild/mach_commands.py +++ b/python/mozbuild/mozbuild/mach_commands.py @@ -1647,7 +1647,7 @@ class StaticAnalysis(MachCommandBase): """Utilities for running C++ static analysis checks and format.""" # List of file extension to consider (should start with dot) - _format_include_extensions = ('.cpp', '.c', '.cc', '.h', '.java') + _format_include_extensions = ('.cpp', '.c', '.cc', '.h') # File contaning all paths to exclude from formatting _format_ignore_file = '.clang-format-ignore'