question: static List < File > tidyDatabaseList ( List < File > databaseFiles ) { List < File > tidiedList = new ArrayList < > ( ) ; for ( File databaseFile : databaseFiles ) { tidiedList . add ( databaseFile ) ; } return tidiedList ; }
target:  Attempt to smartly eliminate uninteresting shadow databases such as -journal and -uid.  Note that this only removes the database if it is true that it shadows another database lacking the uninteresting suffix.