adnanmasd / sitemapgen4j

Automatically exported from code.google.com/p/sitemapgen4j
0 stars 0 forks source link

Usage of WebSitemapUrl.class cannot be compiled with Java 1.7.0_25 #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Refer WebSitemapUrl.class from a class that is not in package 
com.redfin.sitemapgenerator. Our use case is in a test with Mockito using code 
similar with that below:

     WebSitemapGenerator mock = Mockito.mock(WebSitemapGenerator.class);
     ...
     Mockito.verify(mock, Mockito.times(1)).addUrl(Mockito.any(WebSitemapUrl.class));

2. Compile with Java 1.7.0_25
3. Get error: ISitemapUrl is not public in com.redfin.sitemapgenerator; cannot 
be accessed from outside package

What is the expected output? What do you see instead?
It should compile, but instead it fails because ISitemapUrl is not declared 
public

What version of the product are you using? On what operating system?
1.0.1

Please provide any additional information below.

Original issue reported on code.google.com by rares.bo...@gmail.com on 16 Jul 2013 at 5:24