amir-jakoby / crawler-commons

Automatically exported from code.google.com/p/crawler-commons
0 stars 0 forks source link

EffectiveTldFinderTest.java incorrectly references EffectiveTLD class #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to compile the EffectiveTldFinderTest.java file
2. Compile fails.
3.

What is the expected output? What do you see instead?

Instead of a clean compile, I get:

EffectiveTldFinderTest.java:17: cannot find symbol
symbol  : class EffectiveTLD
location: class EffectiveTldFinderTest
        EffectiveTLD etld = null;
        ^
EffectiveTldFinderTest.java:30: cannot find symbol
symbol  : class EffectiveTLD
location: class EffectiveTldFinderTest
        EffectiveTLD etld = null;
        ^
EffectiveTldFinderTest.java:41: cannot find symbol
symbol  : class EffectiveTLD
location: class EffectiveTldFinderTest
        EffectiveTLD etld = null;
        ^
EffectiveTldFinderTest.java:50: cannot find symbol
symbol  : class EffectiveTLD
location: class EffectiveTldFinderTest
        EffectiveTLD etld = null;
        ^
EffectiveTldFinderTest.java:68: cannot find symbol
symbol  : class EffectiveTLD
location: class EffectiveTldFinderTest
        EffectiveTLD etld = null;
        ^
5 errors

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

latest source on CentOS

Please provide any additional information below.

Problem solved by Changing the affected lines as follows:

EffectiveTLD etld = null;       
[becomes]
EffectiveTldFinder.EffectiveTLD etld = null;

Original issue reported on code.google.com by nrobe...@belredweb.com on 19 May 2010 at 10:55

GoogleCodeExporter commented 8 years ago
I think it was default encoding problem which should disappear now (after 
setting UTF-8 in maven POM)... I never had this problem.

Original comment by fuad.efe...@tokenizer.ca on 6 Oct 2012 at 6:31

GoogleCodeExporter commented 8 years ago
@Fuad,

Correct

{code}
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
crawler-commons ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. 
build is platform dependent!
[INFO] Compiling 14 source files to 
/home/lewismc/Downloads/cc/target/test-classes

{code}

This issue can most certainly be closed!

Original comment by lewis.mc...@gmail.com on 2 Nov 2012 at 10:28

GoogleCodeExporter commented 8 years ago
I started receiving comments from "issues", just to confirm, thank you all!
-Fuad

Original comment by fuad.efe...@tokenizer.ca on 2 Nov 2012 at 11:15

GoogleCodeExporter commented 8 years ago
Closing

Original comment by kkrugler...@transpac.com on 6 Nov 2012 at 4:34