Removes an extension key/value from the context

@param extensionName
String extensionName associated with the registered extension.
@throws IllegalArgumentException
if parameter <code>extensionName</code> is <code>null</code>.
332474
public static boolean removeExtension(String extensionName) {
        if (extensionName == null) {
            throw new IllegalArgumentException(
                            "Parameter 'extensionName' can not be null");
        }
        HashMap<String, String> ext = extensions.get();
        return ext == null ? false : ext.remove(extensionName) != null;
    }
373500
public void setExtensionFields(java.util.Collection<ExtensionField> extensionFields) {
        if (extensionFields == null) {
            this.extensionFields = null;
            return;
        }

        this.extensionFields = new com.amazonaws.internal.SdkInternalList<ExtensionField>(extensionFields);
    }
50554
public static void remove(String key) {
        if (setContext()) {
            m_context.remove(key);
        } else {
            m_defaultContext.remove(key);
        }
    }
557922
public function removeExtension(ExtensionInterface $extension)
    {
        foreach ($extension->functions() as $func) {
            unset($this->functions[$func->getName()]);
        }
    }
932466
public synchronized void unset(String name) {
		String[] names = null;
		if (!isDeprecated(name)) {
			names = getAlternativeNames(name);
			if(names == null) {
				names = new String[]{name};
			}
		}
		else {
			names = handleDeprecation(deprecationContext.get(), name);
		}

		for(String n: names) {
			getOverlay().remove(n);
			getProps().remove(n);
		}
	}
220826
public void setExtendedKeyUsage(java.util.Collection<String> extendedKeyUsage) {
        if (extendedKeyUsage == null) {
            this.extendedKeyUsage = null;
            return;
        }

        this.extendedKeyUsage = new java.util.ArrayList<String>(extendedKeyUsage);
    }
897855
private String removeExtension(String string) {
		String pathWithoutExtension = string;
		int dotIndex = string.lastIndexOf('.');
		if (dotIndex > 0) {
			pathWithoutExtension = string.substring(0, dotIndex);
		}
		return pathWithoutExtension;
	}
311666
public static String getExtension(final String filename) {
        Objects.requireNonNull(filename, "filename cannot be null");
        int lastDotIdx = filename.lastIndexOf(".");
        return lastDotIdx >= 0 ? filename.substring(lastDotIdx) : "";
    }
969684
public static boolean hasExtension(String extension) {
        if (extension == null || extension.length() == 0) {
            return false;
        }
        return extensionToMimeTypeMap.containsKey(extension);
    }
1276261
public String remove(String extension) {
		Mapping previous = this.map.remove(extension);
		return (previous != null) ? previous.getMimeType() : null;
	}
555365
public static void remove(String deviceName) {
        try {
            //	Get full device name (with tango host)
            String fullDeviceName = new TangoUrl(deviceName).toString();

            //	Check if already exists before remove.
            if (proxy_table.containsKey(fullDeviceName))
                proxy_table.remove(fullDeviceName);
        } catch (DevFailed e) {
            //	Not serious. Display only warning
            System.err.println(e.errors[0].desc);
        }
    }
483916
@Nonnull
  public EChange removeParameterWithName (@Nullable final String sParamName)
  {
    if (StringHelper.hasText (sParamName))
    {
      final int nMax = m_aParameters.size ();
      for (int i = 0; i < nMax; ++i)
      {
        final MimeTypeParameter aParam = m_aParameters.get (i);
        if (aParam.getAttribute ().equals (sParamName))
        {
          m_aParameters.remove (i);
          return EChange.CHANGED;
        }
      }
    }
    return EChange.UNCHANGED;
  }
634360
public boolean isExtension(String name) throws Exception {
        return null != readResource(Address.root().add(EXTENSION, name));
    }
841618
@Override
    public void unset(String propName) {

        /*
         * Require a property name.
         */
        if (propName == null || propName.trim().isEmpty()) {
            return;
        }

        if (propName.equals(PROP_MEMBERS)) {
            unsetMembers();
        }
        if (propName.equals(PROP_DISPLAY_NAME)) {
            unsetDisplayName();
        }
        if (propName.equals(PROP_DESCRIPTION)) {
            unsetDescription();
        }
        if (propName.equals(PROP_BUSINESS_CATEGORY)) {
            unsetBusinessCategory();
        }
        if (propName.equals(PROP_SEE_ALSO)) {
            unsetSeeAlso();
        }

        if (extendedPropertiesDataType.containsKey(propName))
            unSetExtendedProperty(propName);

        super.unset(propName);
    }
938478
protected String removeTemplateExtension(String templateName) {
    return templateName.substring(0, templateName.length() - Constants.TEMPLATE_EXTENSION.length());
  }
395762
public void delete(String name) throws IOException {
        if (name.equalsIgnoreCase(NUMBER)) {
            crlNumber = null;
        } else {
          throw new IOException("Attribute name not recognized by"
                                + " CertAttrSet:" + extensionName + ".");
        }
        encodeThis();
    }
1293884
public String getEnvironmentNameForExtension(String extension) {
      Preconditions.checkArgument(StringUtils.isNotNullOrBlank(extension), "Extension name cannot be null or empty");
      ScriptEngine engine = engineManager.getEngineByExtension(extension);
      Preconditions.checkArgument(engine != null, extension + " is not a recognized scripting extension.");
      return engine.getFactory().getLanguageName();
   }