CPD Results
The following document contains the results of PMD's CPD 4.2.5.
Duplications
| File | Line |
|---|---|
| com/terradue/jcatalogue/client/internal/digester/DataSetRulesModule.java | 73 |
| com/terradue/jcatalogue/client/internal/digester/SingleDataSetRulesModule.java | 75 |
forPattern( "feed/where/Point/pos" )
.withNamespaceURI( GML )
.addRuleCreatedBy( new SetGeoDataLocationRule.Factory( Point.class ) );
forPattern( "feed/entry/link" ).callMethod( "addLink" )
.withParamTypes( String.class, String.class, String.class, Integer.class )
.then()
.callParam()
.fromAttribute( "rel" )
.ofIndex( 0 )
.then()
.callParam()
.fromAttribute( "type" )
.ofIndex( 1 )
.then()
.callParam()
.fromAttribute( "href" )
.ofIndex( 2 )
.then()
.addRuleCreatedBy( new PriorityParamRule.PriorityParamRuleProvider( 3 ) );
}
} | |