I-TECH-UW / OpenELIS-Global-2

OpenELIS 2.X is a rewrite of the original OpenELIS global with updated components and technology
http://openelis-global.org/
Mozilla Public License 2.0
82 stars 209 forks source link

Refactored getSysUserId into a Separate Class #1277

Closed Ariho-Seth closed 1 week ago

Ariho-Seth commented 1 month ago

Pull Requests Requirements

Summary

Screenshots

screen

Related Issue

Refactor getSysUserId into a Separate Class

1222

Refactored the repetitive protected String getUserSysId method into one class i.e BaseRestController class and made all the classes that were initially using the method to extend the BaseRestController .

mozzy11 commented 1 week ago

Thanks @Ariho-Seth for the PR. can you run mvn spotless:apply to format your changes properly ??