OpenMRS

Rename auth_role in UserServiceImpl to match our convention

The auth_role variable on line https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java#L569 and this line https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java#L601 should be renamed to authRole to match our naming conventions on this page https://wiki.openmrs.org/display/docs/Java+Conventions#JavaConventions-NamingConventions Background Information Local variable and method parameter names should comply with a naming convention

Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule allows to check that all local variable and function parameter names match a provided regular expression '^[a-z][a-zA-Z0-9]*$'.

Task tags

  • coding
  • easy

Students who completed this task

Jyothsna Ashok

Task type

  • code Code
close

2017