Re: Sonarqube fixes v2

2022-09-10 Thread Akshay Joshi
Thanks, the patch was applied. On Fri, Sep 9, 2022 at 7:24 PM Yogesh Mahajan < yogesh.maha...@enterprisedb.com> wrote: > Hi, > > Please find the attached patch which fixes issue related to rule - > > 1.Use concise character class syntax > 2.Add a "break" statement or remove this "else" clause. >

Re: Sonarqube fixes v2

2022-09-09 Thread Yogesh Mahajan
Hi, Please find the attached patch which fixes issue related to rule - 1.Use concise character class syntax 2.Add a "break" statement or remove this "else" clause. 3.Replace this generic exception class with a more specific one. 4.Use a regular expression literal instead of the 'RegExp' construct