private void verifyValidation(){
  setErrorMessage(null);
  if (useDirectoryLocationRadio.getSelection()) {
    File configDir=new File(directoryLocationText.getText());
    if (!configDir.exists()) {
      setErrorMessage(Policy.bind("SVNPreferencePage.svnConfigDirDoesNotExist"));
    }
 else {
      File serversFile=new File(configDir,"servers");
      File configFile=new File(configDir,"config");
      if (!serversFile.exists() && !configFile.exists()) {
        setErrorMessage(Policy.bind("SVNPreferencePage.isNotSvnConfigDir"));
      }
    }
  }
  setValid(getErrorMessage() == null);
}

private void verifyValidation ( ) { setErrorMessage ( null ) ; if ( useDirectoryLocationRadio . getSelection ( ) ) { File configDir = new File ( directoryLocationText . getText ( ) ) ; if ( ! configDir . exists ( ) ) { setErrorMessage ( Policy . bind ( "SVNPreferencePage.svnConfigDirDoesNotExist" ) ) ; } else { File serversFile = new File ( configDir , "servers" ) ; File configFile = new File ( configDir , "config" ) ; if ( ! serversFile . exists ( ) && ! configFile . exists ( ) ) { setErrorMessage ( Policy . bind ( "SVNPreferencePage.isNotSvnConfigDir" ) ) ; } } } setValid ( getErrorMessage ( ) == null ) ; }
verify the selection of the interface method
