-
Enhancement
-
Resolution: Won't Fix
-
P3
-
None
-
1.0.2
-
sparc
-
solaris_2.4
The methods in InputStream for example available() and skip() return different
types of values. Why? These should be consistent. Both should either return int
or long. It doesnt make sense calling available() on a huge file on which we might
want to skip a large number of bytes using a long type.
This problem of inconsistent types returned by methods in the same class is prevalent
across all of the classes in java.io.
Vijay
types of values. Why? These should be consistent. Both should either return int
or long. It doesnt make sense calling available() on a huge file on which we might
want to skip a large number of bytes using a long type.
This problem of inconsistent types returned by methods in the same class is prevalent
across all of the classes in java.io.
Vijay