private boolean containsHpiJpi(Collection<String> bundledPlugins, String name) {
        return bundledPlugins.contains(name.replaceAll("\\.hpi",".jpi"))
                || bundledPlugins.contains(name.replaceAll("\\.jpi",".hpi"));
    }
private boolean containsHpiJpi ( Collection < String > bundledPlugins , String name ) { return bundledPlugins . contains ( name . replaceAll ( "\\.hpi" , ".jpi" ) ) || bundledPlugins . contains ( name . replaceAll ( "\\.jpi" , ".hpi" ) ) ; }
/*
contains operation that considers xxx.hpi and xxx.jpi as equal
this is necessary since the bundled plugins are still called *.hpi