Package org.eclipse.jgit.lib

Examples of org.eclipse.jgit.lib.Config.unset()


    Project p = project;

    if (p.getDescription() != null && !p.getDescription().isEmpty()) {
      rc.setString(PROJECT, null, KEY_DESCRIPTION, p.getDescription());
    } else {
      rc.unset(PROJECT, null, KEY_DESCRIPTION);
    }
    set(rc, ACCESS, null, KEY_INHERIT_FROM, p.getParentName());

    set(rc, RECEIVE, null, KEY_REQUIRE_CONTRIBUTOR_AGREEMENT, p.isUseContributorAgreements());
    set(rc, RECEIVE, null, KEY_REQUIRE_SIGNED_OFF_BY, p.isUseSignedOffBy());
View Full Code Here


    public void removeValue() {
      Config config = getConfig();

      if (index < 0) {
        if (sectionparent != null)
          config.unset(sectionparent.name, null, name);
        else
          config.unset(subsectionparent.parent.name,
              subsectionparent.name, name);
      } else {
        List<String> entries;
View Full Code Here

      if (index < 0) {
        if (sectionparent != null)
          config.unset(sectionparent.name, null, name);
        else
          config.unset(subsectionparent.parent.name,
              subsectionparent.name, name);
      } else {
        List<String> entries;
        if (sectionparent != null) {
          // Arrays.asList returns a fixed-size list, so we need to
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.