attributesNode = new LazyLoadingAttributesNode( currentEntry.getObjectId());
/** * Retrieves the {@link org.eclipse.jgit.attributes.AttributesNode} for the * current entry. * * @param reader * {@link org.eclipse.jgit.lib.ObjectReader} used to parse the * .gitattributes entry. * @return {@link org.eclipse.jgit.attributes.AttributesNode} for the * current entry. * @throws java.io.IOException * @since 3.7 */ public AttributesNode getEntryAttributesNode(ObjectReader reader) throws IOException { if (attributesNode instanceof LazyLoadingAttributesNode) attributesNode = ((LazyLoadingAttributesNode) attributesNode) .load(reader); return attributesNode; }
attributesNode = new LazyLoadingAttributesNode( currentEntry.getObjectId());
/** * Retrieves the {@link AttributesNode} for the current entry. * * @param reader * {@link ObjectReader} used to parse the .gitattributes entry. * @return {@link AttributesNode} for the current entry. * @throws IOException * @since 3.7 */ public AttributesNode getEntryAttributesNode(ObjectReader reader) throws IOException { if (attributesNode instanceof LazyLoadingAttributesNode) attributesNode = ((LazyLoadingAttributesNode) attributesNode) .load(reader); return attributesNode; }
attributesNode = new LazyLoadingAttributesNode( currentEntry.getObjectId());
/** * Retrieves the {@link org.eclipse.jgit.attributes.AttributesNode} for the * current entry. * * @param reader * {@link org.eclipse.jgit.lib.ObjectReader} used to parse the * .gitattributes entry. * @return {@link org.eclipse.jgit.attributes.AttributesNode} for the * current entry. * @throws java.io.IOException * @since 3.7 */ public AttributesNode getEntryAttributesNode(ObjectReader reader) throws IOException { if (attributesNode instanceof LazyLoadingAttributesNode) attributesNode = ((LazyLoadingAttributesNode) attributesNode) .load(reader); return attributesNode; }