/** * Locate a reference to a tag without loading it. * <p> * The tag may or may not exist in the repository. It is impossible to tell * from this method's return value. * * @param id * name of the tag object. * @return reference to the tag object. Never null. */ @NonNull public RevTag lookupTag(AnyObjectId id) { RevTag c = (RevTag) objects.get(id); if (c == null) { c = new RevTag(id); objects.add(c); } return c; }
break; case Constants.OBJ_TAG: r = new RevTag(id); break; default:
final RevTag t = new RevTag(id); t.parseCanonical(this, getCachedBytes(t, ldr)); r = t;
/** * Locate a reference to a tag without loading it. * <p> * The tag may or may not exist in the repository. It is impossible to tell * from this method's return value. * * @param id * name of the tag object. * @return reference to the tag object. Never null. */ public RevTag lookupTag(final AnyObjectId id) { RevTag c = (RevTag) objects.get(id); if (c == null) { c = new RevTag(id); objects.add(c); } return c; }
/** * Locate a reference to a tag without loading it. * <p> * The tag may or may not exist in the repository. It is impossible to tell * from this method's return value. * * @param id * name of the tag object. * @return reference to the tag object. Never null. */ @NonNull public RevTag lookupTag(AnyObjectId id) { RevTag c = (RevTag) objects.get(id); if (c == null) { c = new RevTag(id); objects.add(c); } return c; }
/** * Locate a reference to a tag without loading it. * <p> * The tag may or may not exist in the repository. It is impossible to tell * from this method's return value. * * @param id * name of the tag object. * @return reference to the tag object. Never null. */ @NonNull public RevTag lookupTag(AnyObjectId id) { RevTag c = (RevTag) objects.get(id); if (c == null) { c = new RevTag(id); objects.add(c); } return c; }
break; case Constants.OBJ_TAG: r = new RevTag(id); break; default:
break; case Constants.OBJ_TAG: r = new RevTag(id); break; default:
break; case Constants.OBJ_TAG: r = new RevTag(id); break; default:
final RevTag t = new RevTag(id); t.parseCanonical(this, getCachedBytes(t, ldr)); r = t;
final RevTag t = new RevTag(id); t.parseCanonical(this, getCachedBytes(t, ldr)); r = t;
final RevTag t = new RevTag(id); t.parseCanonical(this, getCachedBytes(t, ldr)); r = t;