CPD Results

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

Duplications

FileLine
org/deegree/protocol/wms/ops/SLDParser.java214
org/deegree/protocol/wms/ops/SLDParser.java346
                        }

                        // TODO skipped
                        if ( in.getLocalName().equals( "Description" ) ) {
                            skipElement( in );
                        }

                        // TODO skipped
                        if ( in.getLocalName().equals( "Title" ) ) {
                            in.getElementText();
                        }

                        // TODO skipped
                        if ( in.getLocalName().equals( "Abstract" ) ) {
                            in.getElementText();
                        }

                        // TODO skipped
                        if ( in.getLocalName().equals( "IsDefault" ) ) {
                            in.getElementText();
                        }

                        if ( in.getLocalName().equals( "FeatureTypeStyle" )
                             || in.getLocalName().equals( "CoverageStyle" )
                             || in.getLocalName().equals( "OnlineResource" ) ) {
                            Style style = SymbologyParser.INSTANCE.parseFeatureTypeOrCoverageStyle( in );
FileLine
org/deegree/protocol/wms/ops/SLDParser.java128
org/deegree/protocol/wms/ops/SLDParser.java299
                if ( in.getLocalName().equals( "LayerFeatureConstraints" ) ) {

                    while ( !( in.isEndElement() && in.getLocalName().equals( "LayerFeatureConstraints" ) ) ) {
                        in.nextTag();

                        while ( !( in.isEndElement() && in.getLocalName().equals( "FeatureTypeConstraint" ) ) ) {
                            in.nextTag();

                            // skip feature type name, it is useless in this context (or is it?) TODO
                            if ( in.getLocalName().equals( "FeatureTypeName" ) ) {
                                in.getElementText();
                                in.nextTag();
                            }

                            if ( in.getLocalName().equals( "Filter" ) ) {