question: private void updateTags ( Movie movie ) { List < String > availableTags = new ArrayList < > ( tagsObservable ) ; for ( String tagInMovie : new ArrayList < > ( movie . getTags ( ) ) ) { boolean tagFound = false ; for ( String tag : availableTags ) { if ( tagInMovie . equals ( tag ) ) { tagFound = true ; break ; } } if ( ! tagFound ) { addTag ( tagInMovie ) ; } } }
target:  Update tags used in movies.