- Timestamp:
- 2018-02-25T00:55:29+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreference.java
r13438 r13456 311 311 public String getToolTipText(MouseEvent e) { 312 312 java.awt.Point p = e.getPoint(); 313 return activeModel.getValueAt(rowAtPoint(p), columnAtPoint(p)).toString(); 313 try { 314 return activeModel.getValueAt(rowAtPoint(p), columnAtPoint(p)).toString(); 315 } catch (ArrayIndexOutOfBoundsException ex) { 316 Logging.debug(ex); 317 return null; 318 } 314 319 } 315 320 }; … … 714 719 return info.getExtendedUrl(); 715 720 default: 716 throw new ArrayIndexOutOfBoundsException( );721 throw new ArrayIndexOutOfBoundsException(Integer.toString(column)); 717 722 } 718 723 } … … 732 737 break; 733 738 default: 734 throw new ArrayIndexOutOfBoundsException( );739 throw new ArrayIndexOutOfBoundsException(Integer.toString(column)); 735 740 } 736 741 }
Note:
See TracChangeset
for help on using the changeset viewer.