Author: adelmelle
Date: Sun May 24 12:14:23 2015
New Revision: 1681438
URL: http://svn.apache.org/r1681438
Log:
Forgot to include in r1681435
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/RTFHandler.java
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/RTFHandler.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/RTFHandler.java?rev=1681438&r1=1681437&r2=1681438&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/RTFHandler.java
(original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/RTFHandler.java
Sun May 24 12:14:23 2015
@@ -687,6 +687,7 @@ public class RTFHandler extends FOEventH
try {
RtfAttributes atts =
TableAttributesConverter.convertTablePartAttributes(part);
+ // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE")
RtfTable tbl =
(RtfTable)builderContext.getContainer(RtfTable.class, true, this);
tbl.setHeaderAttribs(atts);
} catch (IOException ioe) {
@@ -703,6 +704,7 @@ public class RTFHandler extends FOEventH
}
try {
+ // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE")
RtfTable tbl =
(RtfTable)builderContext.getContainer(RtfTable.class, true, this);
tbl.setHeaderAttribs(null);
} catch (IOException ioe) {
@@ -738,6 +740,7 @@ public class RTFHandler extends FOEventH
try {
// create an RtfTableRow in the current RtfTable
+ // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE")
final RtfTable tbl =
(RtfTable)builderContext.getContainer(RtfTable.class,
true, null);
@@ -768,6 +771,7 @@ public class RTFHandler extends FOEventH
try {
TableContext tctx = builderContext.getTableContext();
+ // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE")
final RtfTableRow row =
(RtfTableRow)builderContext.getContainer(RtfTableRow.class,
true, null);
@@ -805,6 +809,7 @@ public class RTFHandler extends FOEventH
try {
TableContext tctx = builderContext.getTableContext();
+ // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE")
final RtfTableRow row =
(RtfTableRow)builderContext.getContainer(RtfTableRow.class,
true, null);
@@ -894,7 +899,8 @@ public class RTFHandler extends FOEventH
return;
}
try {
- RtfTableCell cell = (RtfTableCell)
builderContext.getContainer(RtfTableCell.class, false, this);
+ // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE")
+ RtfTableCell cell =
(RtfTableCell)builderContext.getContainer(RtfTableCell.class, false, this);
cell.finish();
} catch (Exception e) {
@@ -949,6 +955,7 @@ public class RTFHandler extends FOEventH
// create an RtfListItem in the current RtfList
try {
+ // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE")
RtfList list = (RtfList)builderContext.getContainer(
RtfList.class, true, this);
@@ -995,6 +1002,7 @@ public class RTFHandler extends FOEventH
}
try {
+ // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE")
RtfListItem item
= (RtfListItem)builderContext.getContainer(RtfListItem.class,
true, this);
@@ -1325,6 +1333,7 @@ public class RTFHandler extends FOEventH
}
try {
+ // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE")
RtfFootnote rtfFootnote
= (RtfFootnote)builderContext.getContainer(
RtfFootnote.class,
@@ -1346,6 +1355,7 @@ public class RTFHandler extends FOEventH
}
try {
+ // @SuppressFBWarnings("BC_UNCONFIRMED_CAST_OF_RETURN_VALUE")
RtfFootnote rtfFootnote
= (RtfFootnote)builderContext.getContainer(
RtfFootnote.class,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]