The following document contains the results of PMD's CPD 6.13.0.
| File | Line |
|---|---|
| fr/paris/lutece/plugins/indicator/business/IndicatorDAO.java | 109 |
| fr/paris/lutece/plugins/indicator/business/IndicatorDAO.java | 138 |
daoUtil.setInt( 1, nKey );
daoUtil.executeQuery( );
Indicator indicator = null;
if ( daoUtil.next( ) )
{
indicator = new Indicator( );
indicator.setId( daoUtil.getInt( 1 ) );
indicator.setIndKey( daoUtil.getString( 2 ) );
indicator.setLabel( daoUtil.getString( 3 ) );
indicator.setDescription( daoUtil.getString( 4 ) );
indicator.setIndValue( daoUtil.getInt( 5 ) );
indicator.setIndTarget( daoUtil.getInt( 6 ) );
indicator.setHistoryPeriod( daoUtil.getString( 7 ) );
}
daoUtil.free( );
return indicator;
}
/**
* {@inheritDoc }
*/
@Override
public Indicator loadByKey( String strKey, Plugin plugin ) | |