The following document contains the results of PMD's CPD 5.2.3.
File | Line |
---|---|
org/jdtaus/iso13616/IbanCheckDigitsException.java | 162 |
org/jdtaus/iso13616/IbanSyntaxException.java | 161 |
final String message = java.text.MessageFormat.format( java.util.ResourceBundle.getBundle( "org.jdtaus.iso13616.IbanCheckDigitsException", locale ).getString( "IBAN Check Digits Exception Message" ), iban, illegalCheckDigits, (Object) null ); final java.lang.StringBuilder builder = new java.lang.StringBuilder( message.length() ); reader = new java.io.BufferedReader( new java.io.StringReader( message ) ); final String lineSeparator = System.getProperty( "line.separator", "\n" ); String line; while ( ( line = reader.readLine() ) != null ) { builder.append( lineSeparator ).append( line ); } reader.close(); reader = null; return builder.length() > 0 ? builder.substring( lineSeparator.length() ) : ""; } catch( final java.io.IOException e ) { throw new java.lang.AssertionError( e ); } finally { try { if( reader != null ) { reader.close(); } } catch( final java.io.IOException e ) { throw new java.lang.AssertionError( e ); } } } // </editor-fold> // SECTION-END } |
File | Line |
---|---|
org/jdtaus/iso13616/IBAN.java | 621 |
org/jdtaus/iso13616/IBAN.java | 746 |
new ParseContext( bban, new ParsePosition( 0 ), bban.length() > 4 && bban.charAt( 4 ) == ' ' ? IbanFormat.PRINT : IbanFormat.ELECTRONIC ); for ( int p = 0, s0 = structure.getParts().size(); p < s0 && context.parsePosition.getErrorIndex() < 0; p++ ) { final Integer idKey = p + 1; final Structure.Part part = structure.getParts().get( p ); final String chars = parsePart( context, part ); if ( context.parsePosition.getErrorIndex() < 0 ) { if ( part.getFixedLength() != null && chars.length() != part.getFixedLength().intValue() ) { // Fixed length mismatch. |