Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

Changed naming of checks from SecurityCheck to DeviceCheck#85

Merged
ziccardi merged 5 commits intoaerogear-attic:masterfrom
ziccardi:AEROGEAR-7743
Aug 9, 2018
Merged

Changed naming of checks from SecurityCheck to DeviceCheck#85
ziccardi merged 5 commits intoaerogear-attic:masterfrom
ziccardi:AEROGEAR-7743

Conversation

@ziccardi
Copy link
Contributor

@ziccardi ziccardi commented Aug 8, 2018

Motivation

JIRA: https://issues.jboss.org/browse/AEROGEAR-7742

Description

This PR changes the naming of the checks from SecurityCheck to DeviceCheck and remote the double negatves.

Progress

  • Rename SecurityChecks to DeviceChecks everywhere
  • Remove double negatives

Additional Notes

Documentation will need to be updated accordingly

@ziccardi ziccardi requested review from secondsun, wei-lee and wojta August 8, 2018 10:41
/// Check to determine whether the allowBackup flag is enabled for the application.
/// </summary>
public class BackupDisallowedCheck : AbstractSecurityCheck
public class BackupAllowedCheck : AbstractDeviceCheck
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be renamed to BackupEnabledCheck?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

/// A check for whether the device the application is running on an emulator.
/// </summary>
public class NotInEmulatorCheck : AbstractSecurityCheck
public class EmulatorCheck : AbstractDeviceCheck
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may be changed to IsEmulatorCheck?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ziccardi ziccardi merged commit aea07d4 into aerogear-attic:master Aug 9, 2018
@ziccardi ziccardi deleted the AEROGEAR-7743 branch August 9, 2018 09:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants