diff options
| author | Tania Bento <tbento@redhat.com> | 2006-10-24 13:59:00 +0000 |
|---|---|---|
| committer | Tania Bento <tbento@redhat.com> | 2006-10-24 13:59:00 +0000 |
| commit | f88a651d3b6a3b090dcba02c63749822b2e7dab5 (patch) | |
| tree | 7f58df9851df494d9b0f88fe47167ce3dfb4793f /vm/reference/java/net/VMNetworkInterface.java | |
| parent | 902745d88671033ffc47e5cc4c984eefdf839d93 (diff) | |
| download | classpath-f88a651d3b6a3b090dcba02c63749822b2e7dab5.tar.gz | |
2006-10-24 Tania Bento <tbento@redhat.com>
* java/awt/Scrollbar.java:
(setLineIncrement): Removed unnecessary if-clause and if
lineIncrement == 0, then it should be set to 1, not 0.
(setPageIncrement): Removed unnecessary if-clause and if
pageIncrement == 0, then it should be set to 1, not 0.
(setValues): If visibleAmount <= 0, it should be set to 1, not 0.
If maximum <= minimum, maximum should be set to mininum + 1. The
actual value of maximum is maximum - visibleAmount, so I made
this change to the appropriate if-check. Remove the two unneccessary
if-clauses.
Diffstat (limited to 'vm/reference/java/net/VMNetworkInterface.java')
0 files changed, 0 insertions, 0 deletions
