CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Tania Bento <tbento> 06/10/24 13:59:01
Modified files:
. : ChangeLog
java/awt : Scrollbar.java
Log message:
2006-10-24 Tania Bento <[EMAIL PROTECTED]>
* 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.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8716&r2=1.8717
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Scrollbar.java?cvsroot=classpath&r1=1.28&r2=1.29