public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* contrib/update-copyright.py: remove Java
@ 2017-01-20 14:57 Gerald Pfeifer
  0 siblings, 0 replies; only message in thread
From: Gerald Pfeifer @ 2017-01-20 14:57 UTC (permalink / raw)
  To: gcc-patches, Jakub Jelinek; +Cc: java-patches

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.
 
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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-20 14:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20 14:57 contrib/update-copyright.py: remove Java Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).