Project

General

Profile

« Previous | Next » 

Revision 59848

Excluding also doi.org

View differences:

modules/dnet-collector-plugins/trunk/src/main/java/eu/dnetlib/data/collector/plugins/doiresolver/DOIResolverIterator.java
102 102
     * @return the DOI
103 103
     */
104 104
    protected String cleanDOI(final String doi){
105
       return doi.replace("http://dx.doi.org/", "").replace("https://dx.doi.org/", "");
105
       return doi.replace("http://dx.doi.org/", "").replace("https://dx.doi.org/", "")
106
               .replace("https://doi.org/", "").replace("http://doi.org/", "");
106 107
    }
107 108

  
108 109
    @Override

Also available in: Unified diff