I've got 3 errors now, that java.lang.String is deprecated. What's the newer replacement for that? Here's my string: String s1 = Head + URLEncoder.encode(searchText) + s + URLEncoder.encode(TC + Logo + LC + BG + VLC + GALT + GIMP) + "&domains=" + URLEncoder.encode(domain); Code (markup): What would be the newer way to write that code? Thanks
It's not the String class is deprecated.. it could either be one of your used methods for your String class or your URLEncoder class.. To see more of deprecated methods of String class you can refer to this page: enseignement.polytechnique.fr/informatique/profs/Jean-Jacques.Levy/00/jdk1.1.8/docs/api/java.lang.String.html
There should be a www. http://www.enseignement.polytechniq...vy/00/jdk1.1.8/docs/api/java.lang.String.html