Project

General

Profile

Actions

Bug #6088

closed

The use of depricated methods

Added by Alexander Kamkin over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Category:
Test Engine
Target version:
Start date:
06/22/2015
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
2.2.7

Description

The method toUrl is depricated.

    final URL url;
    try {
      url = file.toURL();
    } catch (MalformedURLException e1) {
      Logger.error(e1.getMessage());
      return testBase;
    }

    final URL[] urls = new URL[]{url};
    final ClassLoader loader = new URLClassLoader(urls);
Actions

Also available in: Atom PDF