From 1a7c14e5baee0944eabeacb37acdfa25568d19a5 Mon Sep 17 00:00:00 2001
From: cramakri <cramakri>
Date: Wed, 20 Oct 2010 08:01:46 +0000
Subject: [PATCH] MINOR: Removed debugging code that was accidentally
 committed.

SVN: 18372
---
 .../web/client/application/ui/grid/ExtendedGridView.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/ExtendedGridView.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/ExtendedGridView.java
index 7210a187321..c0f0c3da185 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/ExtendedGridView.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/ExtendedGridView.java
@@ -69,8 +69,8 @@ class ExtendedGridView extends GridView
     protected void onHeaderClickWithShift(Grid<ModelData> pGrid, int column)
     {
         int margin = 10;
-        pGrid.getColumnModel().setColumnWidth(column,
-                calculateWidthWithScroll(pGrid, column) + margin);
+        int newWidth = calculateWidthWithScroll(pGrid, column) + margin;
+        pGrid.getColumnModel().setColumnWidth(column, newWidth);
     }
 
     private int calculateWidthWithScroll(Grid<ModelData> pGrid, int column)
-- 
GitLab