Integer.parseInt (original) (raw)
Benedict Elliott Smith lists at laerad.com
Wed Apr 11 14🔞01 UTC 2012
- Previous message: hg: jdk8/tl/langtools: 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
- Next message: Integer.parseInt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
Looking at the source code, it doesn't appear as though there is any reason to require the input be a String - only length() and charAt() are called, which are both declared by CharSequence. Is there a reason I can't fathom, or was it an oversight? It would be nice to widen the type for this (and potentially other equivalent methods).
- Previous message: hg: jdk8/tl/langtools: 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
- Next message: Integer.parseInt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]