From 1eebe2e4a38b773e08821d35f10a5dbe5018f844 Mon Sep 17 00:00:00 2001 From: David Huynh Date: Mon, 1 Nov 2010 17:59:58 +0000 Subject: [PATCH] Fixed transpose-rows-into-columns command, which previously duplicated columns that precede the column being transposed. git-svn-id: http://google-refine.googlecode.com/svn/trunk@1734 7d457c2a-affb-35e4-300a-418c747d4874 --- .../operations/cell/TransposeRowsIntoColumnsOperation.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/main/src/com/google/refine/operations/cell/TransposeRowsIntoColumnsOperation.java b/main/src/com/google/refine/operations/cell/TransposeRowsIntoColumnsOperation.java index 9e1d3983e..5bdbc81b8 100644 --- a/main/src/com/google/refine/operations/cell/TransposeRowsIntoColumnsOperation.java +++ b/main/src/com/google/refine/operations/cell/TransposeRowsIntoColumnsOperation.java @@ -92,8 +92,6 @@ public class TransposeRowsIntoColumnsOperation extends AbstractOperation { int columnIndex = project.columnModel.getColumnIndexByName(_columnName); int columnCount = oldColumns.size(); - newColumns.addAll(oldColumns.subList(0, columnIndex)); - for (int i = 0; i < columnCount; i++) { Column column = oldColumns.get(i);