summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2010-06-01 11:42:07 +0000
committerHenri Sara <henri.sara@itmill.com>2010-06-01 11:42:07 +0000
commit77360c9efcc60eeb06aedcd6b1af409812fb1582 (patch)
tree019ee41ddcbafbda15972432ed22ce376aeef45e /src/com/vaadin/ui
parent3fb3b68fade28709979c6a3c0882c1ae2a6a37fb (diff)
downloadvaadin-framework-77360c9efcc60eeb06aedcd6b1af409812fb1582.tar.gz
vaadin-framework-77360c9efcc60eeb06aedcd6b1af409812fb1582.zip
Fixed some normal priority warnings by FindBugs
svn changeset:13463/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/ui')
-rw-r--r--src/com/vaadin/ui/GridLayout.java2
-rw-r--r--src/com/vaadin/ui/Table.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/ui/GridLayout.java b/src/com/vaadin/ui/GridLayout.java
index 18a602280b..b7e92402cc 100644
--- a/src/com/vaadin/ui/GridLayout.java
+++ b/src/com/vaadin/ui/GridLayout.java
@@ -572,7 +572,7 @@ public class GridLayout extends AbstractLayout implements
// Removes the cellUsed key as it has become
// obsolete
- cellUsed.remove(new Integer(curx));
+ cellUsed.remove(Integer.valueOf(curx));
}
} else {
diff --git a/src/com/vaadin/ui/Table.java b/src/com/vaadin/ui/Table.java
index 610d638ab4..ad9a0c2f3f 100644
--- a/src/com/vaadin/ui/Table.java
+++ b/src/com/vaadin/ui/Table.java
@@ -712,7 +712,7 @@ public class Table extends AbstractSelect implements Action.Container,
if (width < 0) {
columnWidths.remove(columnId);
} else {
- columnWidths.put(columnId, new Integer(width));
+ columnWidths.put(columnId, Integer.valueOf(width));
}
}