summaryrefslogtreecommitdiff
path: root/gnu/xml/aelfred2/XmlParser.java
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/xml/aelfred2/XmlParser.java')
-rw-r--r--gnu/xml/aelfred2/XmlParser.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/xml/aelfred2/XmlParser.java b/gnu/xml/aelfred2/XmlParser.java
index b29849217..f2abb8896 100644
--- a/gnu/xml/aelfred2/XmlParser.java
+++ b/gnu/xml/aelfred2/XmlParser.java
@@ -15,8 +15,8 @@ General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-02111-1307 USA.
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -1437,7 +1437,7 @@ loop:
}
else
{
- if (type.equals("CDATA") || type == null)
+ if (type == null || type.equals("CDATA"))
{
value = readLiteral(flags);
}
@@ -4559,7 +4559,7 @@ loop:
encoding.substring(temp + 1,
encoding.indexOf('"', temp + 2));
}
- encoding.trim();
+ encoding = encoding.trim();
}
else
{