< prev index next >
src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/NamespaceMappings.java
Print this page
@@ -1,8 +1,8 @@
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
- * @LastModified: Oct 2017
+ * @LastModified: Nov 2017
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@@ -248,19 +248,19 @@
{
while (true)
{
if (m_nodeStack.isEmpty())
return;
- MappingRecord map = (MappingRecord)(m_nodeStack.peek());
+ MappingRecord map = m_nodeStack.peek();
int depth = map.m_declarationDepth;
if (depth < elemDepth)
return;
/* the depth of the declared mapping is elemDepth or deeper
* so get rid of it
*/
- map = (MappingRecord) m_nodeStack.pop();
+ map = m_nodeStack.pop();
final String prefix = map.m_prefix;
popNamespace(prefix);
if (saxHandler != null)
{
try
< prev index next >