Skip to content

Commit

Permalink
cure a couple of deprecation warnings (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo authored Mar 28, 2020
1 parent 12a08bf commit e203bbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ private ClassLoader getProjectClassLoader()
{
try
{
urls.add( new File( filename ).toURL() );
urls.add( new File( filename ).toURI().toURL() );
}
catch ( MalformedURLException e )
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public void testIsValidPackageList()
assertTrue( true );
}

url = new File( getBasedir(), "/pom.xml" ).toURL();
url = new File( getBasedir(), "/pom.xml" ).toURI().toURL();
assertTrue( JavadocUtil.isValidPackageList( url, settings, false ) );

try
Expand Down

0 comments on commit e203bbf

Please # to comment.