d90bd80c85adfeefc14c51466bab48bce7619c53,bears/general/CPDBear.py,CPDBear,run,#CPDBear#Any#Any#Any#Any#Any#Any#Any#,26

Before Change


            Ignore multiple copies of files of the same name and length in
            omparison.
        
        language_args = {
            "cpp": "cpp",
            "cs": "cs",
            "js": "ecmascript",
            "f": "fortran",
            "go": "go",
            "jsp": "jsp",
            "m": "objectivec",
            "php": "php",
            "py": "python",
            "rb": "ruby",
            "scala": "scala",
            "java": "java"}

        if language not in language_args:  // pragma: no cover
            self.err("This bear does not support files with the extension "
                     ""{}".".format(language))

After Change


            Ignore multiple copies of files of the same name and length in
            omparison.
        
        language = language.lower()

        if language not in self.lowered_lang_dict:  // pragma: no cover
            self.err("This bear does not support files with the extension "
                     ""{}".".format(language))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: coala/coala-bears
Commit Name: d90bd80c85adfeefc14c51466bab48bce7619c53
Time: 2016-06-10
Author: lasse.schuirmann@gmail.com
File Name: bears/general/CPDBear.py
Class Name: CPDBear
Method Name: run


Project Name: cve-search/cve-search
Commit Name: c24266f9c5f61fe74a0a83c82afd35b4a24b59b0
Time: 2020-08-17
Author: paul.tikken@gmail.com
File Name: sbin/db_mgmt_json.py
Class Name: CVEDownloads
Method Name: process_item


Project Name: Ambrosys/glyph
Commit Name: 6424efc48f57bf9f374a1805115e90a9e9b0b79c
Time: 2018-08-28
Author: markus.quade@gmail.com
File Name: doc/source/conf.py
Class Name:
Method Name: