From 4d2e8abbd98302c2e2676d17dfc88b17b4464168 Mon Sep 17 00:00:00 2001 From: carlosantunes82 Date: Sat, 19 Jan 2019 19:56:19 -0200 Subject: [PATCH] Update LeitorXML.java inserindo erro de compilacao --- src/main/java/br/com/caelum/argentum/reader/LeitorXML.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/br/com/caelum/argentum/reader/LeitorXML.java b/src/main/java/br/com/caelum/argentum/reader/LeitorXML.java index 68e5eb9..f7dcd1c 100644 --- a/src/main/java/br/com/caelum/argentum/reader/LeitorXML.java +++ b/src/main/java/br/com/caelum/argentum/reader/LeitorXML.java @@ -13,7 +13,7 @@ public class LeitorXML { @SuppressWarnings("unchecked") public List carrega(InputStream inputStream) { XStream stream = new XStream(new DomDriver()); - stream.alias("negociacao", Negociacao.class); + stream_.alias("negociacao", Negociacao.class); return (List) stream.fromXML(inputStream); }