taverna-credential-manager-ui/src/main/java/org/apache/taverna/workbench/ui/credentialmanager/CredentialManagerUI.java [712:741]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
				return;
			}

			/*
			 * Check if a password entry with the given service URI already
			 * exists in the Keystore. We ask this here as the user may wish to
			 * overwrite the existing password entry. Checking for key pair
			 * entries' URIs is done in the NewEditPasswordEntry dialog.
			 */

			/*
			 * Get list of service URIs for all the password entries in the
			 * Keystore
			 */
			List<URI> serviceURIs = null;
			try {
				serviceURIs = credManager
						.getServiceURIsForAllUsernameAndPasswordPairs();
			} catch (CMException cme) {
				showMessageDialog(this, "Failed to get service URIs for all username and password pairs "
						+ "to check if the entered service URI already exists",
						ERROR_TITLE, ERROR_MESSAGE);
				return;
			}
			if (serviceURIs.contains(serviceURI)) { // if such a URI already
				// exists
				// Ask if the user wants to overwrite it
				int answer = showConfirmDialog(
								this,
								"Credential Manager already contains a password entry with the same service URI.\n"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



taverna-credential-manager-ui/src/main/java/org/apache/taverna/workbench/ui/credentialmanager/CredentialManagerUI.java [823:849]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
				return;

			/*
			 * Check if a password entry with the given service URI already
			 * exists in the Keystore. We ask this here as the user may wish to
			 * overwrite the existing password entry. Checking for key pair
			 * entries' URIs is done in the NewEditPasswordEntry dialog.
			 */

			// Get list of service URIs for all the password entries in the
			// Keystore
			List<URI> serviceURIs = null;
			try {
				serviceURIs = credManager
						.getServiceURIsForAllUsernameAndPasswordPairs();
			} catch (CMException cme) {
				showMessageDialog(this, "Failed to get service URIs for all username and password pairs "
						+ "to check if the entered service URI already exists",
						ERROR_TITLE, ERROR_MESSAGE);
				return;
			}
			if (serviceURIs.contains(serviceURI)) { // if such a URI already
				// exists
				// Ask if the user wants to overwrite it
				int answer = showConfirmDialog(
						this,
						"Credential Manager already contains a password entry with the same service URI.\n"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



