Scanmax0815 / usb-serial-for-android

Automatically exported from code.google.com/p/usb-serial-for-android
GNU Lesser General Public License v3.0
0 stars 0 forks source link

bad practice for unimplemented features #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In class CdcAcmSerialDriver (and probably others) there are unimplemented 
methods. That's ok, but they return static values. Instead they should throw a 
java.lang.UnsupportedOperationException. This is to keep people from depending 
on these static values that might change in the future and break their 
implementations.

Original issue reported on code.google.com by alibabas...@web.de on 17 May 2013 at 9:21

GoogleCodeExporter commented 9 years ago
moved to github: https://github.com/mik3y/usb-serial-for-android/issues/27

Original comment by mike.wak...@gmail.com on 13 Sep 2013 at 4:38