<commit_before>package org.musetest.selenium.providers;

import org.musetest.core.*;
import org.musetest.core.util.*;
import org.musetest.selenium.*;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.*;
import org.openqa.selenium.remote.*;

/**
 * @author <NAME> (see LICENSE.txt for license details)
 */
@MuseTypeId("firefoxdriver-provider")
public class FirefoxDriverProvider extends BaseLocalDriverProvider
    {
    @Override
    public WebDriver getDriver(SeleniumBrowserCapabilities capabilities, MuseExecutionContext context)
        {
        if (getOs() != null && !(OperatingSystem.get().equals(getOs())))
            return null;   // this provider is not for the current OS

        if (!capabilities.getName().equals(BrowserType.FIREFOX))
            return null;

        synchronized (FirefoxDriverProvider.class)
            {
            return new FirefoxDriver(capabilities.toDesiredCapabilities());
            }
        }

    @Override
    public String getName()
        {
        return "Firefox (local)";
        }

    @Override
    public String toString()
        {
        return "FirefoxDriver";
        }
    }

<commit_msg>change text for Firefox legacy driver<commit_after>package org.musetest.selenium.providers;

import org.musetest.core.*;
import org.musetest.core.util.*;
import org.musetest.selenium.*;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.*;
import org.openqa.selenium.remote.*;

/**
 * @author <NAME> (see LICENSE.txt for license details)
 */
@MuseTypeId("firefoxdriver-provider")
public class FirefoxDriverProvider extends BaseLocalDriverProvider
    {
    @Override
    public WebDriver getDriver(SeleniumBrowserCapabilities capabilities, MuseExecutionContext context)
        {
        if (getOs() != null && !(OperatingSystem.get().equals(getOs())))
            return null;   // this provider is not for the current OS

        if (!capabilities.getName().equals(BrowserType.FIREFOX))
            return null;

        synchronized (FirefoxDriverProvider.class)
            {
            return new FirefoxDriver(capabilities.toDesiredCapabilities());
            }
        }

    @Override
    public String getName()
        {
        return "Firefox legacy (local)";
        }

    @Override
    public String toString()
        {
        return "FirefoxDriver";
        }
    }


{'fraction_non_alphanumeric': 0.10797132011809363, 'fraction_numerical': 0.0, 'mean_word_length': 2.735433070866142, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4233715', 'n_tokens_mistral': 668, 'n_tokens_neox': 653, 'n_words': 146}