question: private void resetView ( ) { final Project project = appContext . getRootProject ( ) ; final String projectName = project != null ? project . getName ( ) : null ; if ( ! isCurrentProject ( projectName ) ) return ; view . setRepositoryUrl ( "" ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . setContributeToBranch ( "" ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . setContributionBranchName ( "" ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . setContributionBranchNameEnabled ( true ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . setContributionBranchNameList ( Collections . < String > emptyList ( ) ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . setContributionTitle ( "" ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . setProjectName ( "" ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . setContributionTitleEnabled ( true ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . setContributionComment ( "" ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . setContributionCommentEnabled ( true ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . setContributeButtonText ( messages . contributePartConfigureContributionSectionButtonContributeText ( ) ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . hideStatusSection ( ) ; if ( ! isCurrentProject ( projectName ) ) return ; view . hideNewContributionSection ( ) ; if ( ! isCurrentProject ( projectName ) ) return ; updateControls ( ) ; }
target:  Continuously resets the view state as long as current project is not changed. 