aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/Select.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-08-16 04:36:37 +0000
committerArtur Signell <artur.signell@itmill.com>2010-08-16 04:36:37 +0000
commit789c80e2537d800f029734184975c13464f116a8 (patch)
tree4096a6d40c24c10deef335564677ff7c957243e7 /src/com/vaadin/ui/Select.java
parent2ec9d85a5c82edd781eb3585209e6b4405d345e3 (diff)
downloadvaadin-framework-789c80e2537d800f029734184975c13464f116a8.tar.gz
vaadin-framework-789c80e2537d800f029734184975c13464f116a8.zip
Formatted using Eclipse Helios / Windows XP
svn changeset:14496/svn branch:6.4
Diffstat (limited to 'src/com/vaadin/ui/Select.java')
-rw-r--r--src/com/vaadin/ui/Select.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/vaadin/ui/Select.java b/src/com/vaadin/ui/Select.java
index 0f33529714..bd7ec39bdb 100644
--- a/src/com/vaadin/ui/Select.java
+++ b/src/com/vaadin/ui/Select.java
@@ -283,8 +283,7 @@ public class Select extends AbstractSelect implements AbstractSelect.Filtering,
int index = options.indexOf(selection);
if (index != -1 && (index < first || index >= last)) {
int newPage = (index + (needNullSelectOption ? 1
- : 0))
- / pageLength;
+ : 0)) / pageLength;
currentPage = newPage;
return sanitetizeList(options, needNullSelectOption);
}