Evoi95 / BSO-Maven

BSO sia laptop che web
1 stars 0 forks source link

Sonar Issue #9

Open Evoi95 opened 3 years ago

Evoi95 commented 3 years ago

2169 code smells detected by sonar

Evoi95 commented 3 years ago

logger.log(java.util.logging.Level.SEVERE, exception, () -> "Result " + param); FOR CATCH MESSAGE Example to a complian solution :

    catch (SQLException e)
    {
        Log.logger.log(Level.SEVERE,e,()->"result"+e);
    }
Evoi95 commented 3 years ago

Class code smells free : from 'BoundaryAcquista.java' to BoundaryBSORegister.java

Evoi95 commented 3 years ago

exception for this "BoundaryBookPage.java" for : private TableView table = new TableView();

Evoi95 commented 3 years ago

BoundaryGiornaliPage for :

private TableView<Giornale>table=new TableView<Giornale>();
Evoi95 commented 3 years ago

a complian solution for if(boolean) protected Bolean esito "if (Boolean.TRUE.equals(esito))"

in that case in include the null result and the false

Evoi95 commented 3 years ago

BuondaryRivistaPage:

private TableView<Rivista>table=new TableView<Rivista>();
Evoi95 commented 3 years ago

un casino de cose su : BoundaryReportPage