Class RevisionNote<T>

    • Constructor Detail

      • RevisionNote

        public RevisionNote​(org.eclipse.jgit.lib.ObjectReader reader,
                            org.eclipse.jgit.lib.ObjectId noteId)
    • Method Detail

      • trimLeadingEmptyLines

        protected static void trimLeadingEmptyLines​(byte[] bytes,
                                                    org.eclipse.jgit.util.MutableInteger p)
      • getRaw

        public byte[] getRaw()
      • getOnlyEntity

        public T getOnlyEntity()
      • getEntities

        public com.google.common.collect.ImmutableList<T> getEntities()
      • parse

        public void parse()
                   throws IOException,
                          org.eclipse.jgit.errors.ConfigInvalidException
        Throws:
        IOException
        org.eclipse.jgit.errors.ConfigInvalidException
      • parse

        protected abstract List<T> parse​(byte[] raw,
                                         int offset)
                                  throws IOException,
                                         org.eclipse.jgit.errors.ConfigInvalidException
        Throws:
        IOException
        org.eclipse.jgit.errors.ConfigInvalidException
      • checkParsed

        protected void checkParsed()