Skip to content

Commit

Permalink
Alphabetize extension filter lists
Browse files Browse the repository at this point in the history
Add "bmp" and "bitmap" as acceptable image extensions
  • Loading branch information
havens1515@gmail.com authored and havens1515@gmail.com committed May 31, 2021
1 parent 5aaeed9 commit 3ef2201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ExcelFilter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import javax.swing.filechooser.FileFilter

object ExcelExtensions {

val ACCEPTABLE_EXTENSIONS = arrayOf("xls", "xlsx", "csv")
val ACCEPTABLE_EXTENSIONS = arrayOf("csv", "xls", "xlsx")
/*
* Get the extension of a file.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ImageFilter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import javax.swing.filechooser.FileFilter

object ImageExtensions {

val ACCEPTABLE_EXTENSIONS = arrayOf("jpeg", "jpg", "gif", "tiff", "tif", "png")
val ACCEPTABLE_EXTENSIONS = arrayOf("bitmap", "bmp", "gif", "jpeg", "jpg", "png", "tif", "tiff" )
/*
* Get the extension of a file.
*/
Expand Down

0 comments on commit 3ef2201

Please sign in to comment.