Alguém pode me dizer o que tem de errado :roll:, pus o simbolo % na linha onde tem o warning.
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.util.List;
import com.thoughtworks.xstream.XStream;
public class ReadXMLUtil {
private File arq = null;
private FileReader fr = null;
private List<String> dBConfig = null;
private XStream xstream = null;
public ReadXMLUtil(){
try{
this.arq = new File("C:\Documents and Settings\micorrea\Desktop\ProjEstudo\CRM", "DBConfig.xml");
this.fr = new FileReader(arq);
this.xstream = new XStream();
% this.dBConfig = (List<String>) xstream.fromXML(fr);
}catch(FileNotFoundException e){
System.out.println("Não foi possível ler o arquivo.");
}
}
public void readValue(){
for(int i = 0; i < this.dBConfig.size(); i++){
System.out.println(this.dBConfig.get(i));
}
}
}