What steps will reproduce the problem?
1. after compilation it shows these two notes:
note: GoogleTranslator.java uses or overrides a deprecated API.
note: Recompile with -Xlint:deprecation for details.
2.
3.
What is the expected output? What do you see instead?java.lang.Exception:
[google-api-translate-java] Referrer is not set. Call setHt
tpReferrer().
at com.google.api.GoogleAPI.validateReferrer(GoogleAPI.java:59)
at com.google.api.translate.Translate.execute(Translate.java:63)
at com.google.api.translate.Translate.translate(Translate.java:192)
at GoogleTranslator.main(GoogleTranslator.java:10)
What version of the product are you using? On what operating system?
java 1.6.0_21on windows vista
Please provide any additional information below.
Original issue reported on code.google.com by mailanil...@gmail.com on 27 Mar 2011 at 3:53
Original issue reported on code.google.com by
mailanil...@gmail.com
on 27 Mar 2011 at 3:53