Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan E. Cook2017-05-12 22:47:30 +0000
committerMorgan E. Cook2017-05-12 22:47:30 +0000
commitf07b1675e6db55925eef744a57020cd63ee9dc04 (patch)
tree3284bdfbd10d3fdeae664500f1c1fd6cf8f25271
parent4ae2c831320266c1c17eb4943aebc37b260f4082 (diff)
downloadorg.eclipse.osee-f07b1675e6db55925eef744a57020cd63ee9dc04.tar.gz
org.eclipse.osee-f07b1675e6db55925eef744a57020cd63ee9dc04.tar.xz
org.eclipse.osee-f07b1675e6db55925eef744a57020cd63ee9dc04.zip
bug: Remove extra tab at the end of a row
Signed-off-by: Morgan E. Cook <morgan.e.cook@boeing.com>
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/xml/AbstractSheetWriter.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/xml/AbstractSheetWriter.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/xml/AbstractSheetWriter.java
index adff7f9efe0..f5142536abb 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/xml/AbstractSheetWriter.java
+++ b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/io/xml/AbstractSheetWriter.java
@@ -44,13 +44,14 @@ public abstract class AbstractSheetWriter implements ISheetWriter {
@Override
public void writeRow(Object... row) throws IOException {
if (row[0] instanceof Collection<?>) {
+ int rowLength = ((Collection<?>)row[0]).size();
Collection<?> values = (Collection<?>) row[0];
for (Object obj : values) {
- writeCell(obj);
+ writeCell(obj, implicitCellIndex, rowLength);
}
}
for (int i = 0; i < row.length; i++) {
- writeCell(row[i]);
+ writeCell(row[i], implicitCellIndex, row.length);
}
endRow();

Back to the top