Project

General

Profile

« Previous | Next » 

Revision 41354

Added by Nikon Gasparis almost 9 years ago

bug fix

View differences:

modules/uoa-commons/trunk/src/main/java/eu/dnetlib/repos/RepoApiCacheImpl.java
20 20
    private static Logger logger = Logger.getLogger(RepoApiCacheImpl.class);
21 21
    private final String[] cacheKeys = {"opendoar", "re3data", "jour_aggr"};
22 22
    protected RepoApi coreRepoApi;
23
    Exception e
24 23
    private CacheProvider cacheProvider;
25 24

  
26
    {
27
        logger.error("error getting url from repositories registered by user: " + user_mail + " from cache", e);
28
        throw e;
29
    }
30

  
31 25
    @PostConstruct
32 26
    public void initCaches() {
33 27
        Thread initializingCachesThread = new Thread() {
......
357 351
        return ret;
358 352
    }
359 353

  
360
    catch(
361

  
362 354
    @Override
363 355
    public boolean updatePubFileInterface(String dsId, RepositoryInterface iFace)
364 356
            throws Exception {
......
374 366
        return ret;
375 367
    }
376 368

  
377
    )
378

  
379 369
    @Override
380 370
    public List<String> getUrlsOfRepos(String user_mail, Boolean repoAdmin) throws Exception {
381 371
        List<String> urls = new ArrayList<String>();
......
396 386
        return urls;
397 387
    }
398 388

  
399
}
400

  
401 389
    @Override
402 390
    public String editRepository(Repository repo, String officialNameOld,
403 391
                                 String idOld, String datatype) throws Exception {

Also available in: Unified diff