Hi, SpotBugs was recently updated from 3.1.1 to 4.4.2 and it identifies a lot more exposure references of this type You may have to add exclusions to the file:
src/main/resources/spotbugs/spotbugs-exclude-filter.xml You can run the checks using: mvn spotbugs:check Regards, Alex On Mon, 18 Oct 2021 at 08:35, Avijit Basak <avijit.ba...@gmail.com> wrote: > > Hi All > > I have created PR#197 as mentioned earlier. Kindly let me know if > there is any concern or comments. > I have created another *PR#199* consisting of the changes with > adaptive probability generations. Kindly review the same. The build has > failed due to a spot bug issue as mentioned below. > > [ERROR] Medium: Public static > org.apache.commons.math4.ga.listener.ConvergenceListenerRegistry.getInstance() > may expose internal representation by returning > ConvergenceListenerRegistry.INSTANCE > [org.apache.commons.math4.ga.listener.ConvergenceListenerRegistry] At > ConvergenceListenerRegistry.java:[line 89] MS_EXPOSE_REP > > However, the same code in my previous PR(#197) was > built successfully. I am not sure how to resolve this issue. Any help will > be appreciated. > > Thanks & Regards > --Avijit Basak > > On Mon, 27 Sept 2021 at 18:21, Avijit Basak <avijit.ba...@gmail.com> wrote: > > > Hi All > > > > I have created the *PR #197* consisting of changes for JIRA > > MATH-1563, Task MATH-1618. This is the primary work to standardize the > > design of GA module. The build has passed. I would like to request a review > > of the PR. Once the primary design is standardized I can check in further > > changes like introduction of adaptive model and data structure change for > > Binary chromosomes. > > Kindly let me know for any concerns or queries. > > > > Thanks & Regards > > -- Avijit Basak > > > > > -- > Avijit Basak --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org