boolean (Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } ChromeSettings settings = (ChromeSettings)o; return myUseCustomProfile == settings.myUseCustomProfile && Objects.equals(myCommandLineOptions, settings.myCommandLineOptions) && (!myUseCustomProfile || Objects.equals(myUserDataDirectoryPath, settings.myUserDataDirectoryPath)) && myEnvironmentVariables.equals(settings.myEnvironmentVariables); }