http://horstmann.com/javaimpatient/bugs.html
to http://horstmann.com/javaimpatient
f
is actually 1.23456792E8
” to “f
is actually 1.2345679E8F
”.hashCode
it is also rarely necessary. ” to “and it is also rarely necessary. ”For the first option, simply do nothing. Your class will inherit the clone
method, but no user of your class will be able to call it since it is protected
.
For the first option, simply do nothing. Your class will inherit the clone
method. Since it is protected
, it is a compile-time error to call it from another package. And calls from the same package throw a CloneNotSupportedException
.
exec.getTitle().getLength()
to exec.getTitle().length()
summingInt
to averagingInt
Thanks to Alessio Del Monte, Janusz Jabłonowski, Sen Turra, Rudy Vissers, and (your name might go here) for their bug reports and suggestions!
Please use this form to report any bugs that you find. Please check the list of known bugs first before you report a bug. Unfortunately, I do not have the time to respond personally to every report, but I do read them all and will post updates to this page. Thank you!