9aa4335fbba91b68206141b627712625bae8e4b3,bears/java/CheckstyleBear.py,,,#,6
Before Change
from coalib.bearlib.abstractions.Linter import linter
checkstyle_jar_file = join(dirname(abspath(__file__)), "checkstyle.jar")
google_checks = join(dirname(abspath(__file__)), "google_checks.xml")
After Change
from coalib.settings.Setting import path
DIR_PATH = os.path.dirname(os.path.abspath(__file__))
checkstyle_jar_file = os.path.join(DIR_PATH, "checkstyle.jar")
known_checkstyles = {
"google": os.path.join(DIR_PATH, "google_checks.xml")}
def known_checkstyle_or_path(setting):
if str(setting) in known_checkstyles.keys():
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: coala/coala-bears
Commit Name: 9aa4335fbba91b68206141b627712625bae8e4b3
Time: 2016-04-27
Author: abdealikothari@gmail.com
File Name: bears/java/CheckstyleBear.py
Class Name:
Method Name:
Project Name: neurosynth/neurosynth
Commit Name: 9de1a50ff5c3fd3848a7bc7f14ac8b4d7cc8e34a
Time: 2017-06-23
Author: tsalo006@fiu.edu
File Name: neurosynth/analysis/reduce.py
Class Name:
Method Name: run_lda
Project Name: KrishnaswamyLab/PHATE
Commit Name: 7b460bf16fd95ff33122ee71fe72451f82a4bc15
Time: 2019-03-06
Author: scottgigante@gmail.com
File Name: Python/doc/source/conf.py
Class Name:
Method Name: