Fork me on GitHub

CPD Results

The following document contains the results of PMD's CPD 6.13.0.

Duplications

File Line
fr/paris/lutece/plugins/calculetteqf/pdf/PDFService.java 313
fr/paris/lutece/plugins/calculetteqf/pdf/PDFService.java 395
                            Date.from( enfant.getDateDeNaissance( ).atStartOfDay( ZoneId.systemDefault( ) ).toInstant( ) ) );
                    break;
            }
            addText( nomPremom, dateDeNaissance, TEXT_FONT_SIZE, getFont( fontMap, Fonts.MONTSERRAT_REGULAR, document.getPDDocument( ) ) );
        }
        catch( IOException e )
        {
            throw new RuntimeException( e );
        }
        Frame frame = new Frame( nomPremom );
        frame.setShape( new Rect( ) );
        frame.setBorder( FRAME_COLOR, new Stroke( FRAME_STROKE ) );
        frame.setPadding( 4 * MM_TO_UNITS, 4 * MM_TO_UNITS, 3 * MM_TO_UNITS, 3 * MM_TO_UNITS );
        frame.setMargin( 6 * MM_TO_UNITS, 6 * MM_TO_UNITS, 3 * MM_TO_UNITS, 3 * MM_TO_UNITS );
        document.add( frame );
    }