void removePendingChange(String key) { if (this.pendingChanges != null) { this.pendingChanges.remove(key); } }
public boolean remove(final String field){ boolean containedObject = getAsJsonValue(field) != null; mJsonObject.remove(field); if (mInternalCache.containsKey(field)) { mInternalCache.remove(field); } return containedObject; }
/** * Removes an existing metadata value. * @param path the path that designates the key. Must be prefixed with a "/". * @return this metadata object. */ public Metadata remove(String path) { this.values.remove(this.pathToProperty(path)); this.addOp("remove", path, (String) null); return this; }
? ((ITernModuleConfigurable) angular).getOptions() : null; ternProject.addPlugin(TernPlugin.angular1, options); ternProject.getPlugins().remove("angular"); ternProject.save(); } catch (Exception e) {