diff mbox

contrib/update-copyright.py: remove Java

Message ID alpine.LSU.2.20.1701201548180.3033@anthias.pfeifer.com
State New
Headers show

Commit Message

Gerald Pfeifer Jan. 20, 2017, 2:56 p.m. UTC
This is a follow-up to

  2017-01-01  Jakub Jelinek  <jakub@redhat.com>

	* update-copyright.py (TestsuiteFilter): Skip params/README.
	(GCCCmdLine): Remove libjava and libjava/testsuite add_dir.

which removed the usage of LibJavaFilter in this script, just not the
filter class itself.

Applied.

Gerald

2017-01-20  Gerald Pfeifer  <gerald@pfeifer.com>
 
	* update-copyright.py (LibJavaFilter): Remove.
diff mbox

Patch

Index: update-copyright.py
===================================================================
--- update-copyright.py	(revision 244714)
+++ update-copyright.py	(working copy)
@@ -611,29 +611,6 @@ 
                 'soft-fp',
                 ])
 
-class LibJavaFilter (GenericFilter):
-    def __init__ (self):
-        GenericFilter.__init__ (self)
-
-        self.skip_dirs |= set ([
-                # Handled separately.
-                'testsuite',
-
-                # Not really part of the library
-                'contrib',
-
-                # Imported from upstream
-                'classpath',
-                'libltdl',
-                ])
-
-    def get_line_filter (self, dir, filename):
-        if filename == 'NameDecoder.h':
-            return re.compile ('.*NAME_COPYRIGHT')
-        if filename == 'ICC_Profile.h':
-            return re.compile ('.*icSigCopyrightTag')
-        return GenericFilter.get_line_filter (self, dir, filename)
-
 class LibStdCxxFilter (GenericFilter):
     def __init__ (self):
         GenericFilter.__init__ (self)