]> source.dussan.org Git - jgit.git/commit
Exposed the constructor of Note class 04/2304/3
authorSasa Zivkov <sasa.zivkov@sap.com>
Fri, 21 Jan 2011 16:04:24 +0000 (17:04 +0100)
committerChris Aniszczyk <caniszczyk@gmail.com>
Tue, 25 Jan 2011 22:33:29 +0000 (16:33 -0600)
commit832d3b838472103e143074f000e9c59fd4596fa4
tree19b780c87a9a2e0b9f42b913e998dd6fb8632d9d
parentf21495255211042c6fcc4cc6f7f5af2bf750f647
Exposed the constructor of Note class

Additionally, defined the NoteMap.getNote method which returns a Note
instance.  These changes were necessary to enable implementation of
the NoteMerger interface (the merge method needs to instantiate a
Note) and to enable direct use of NoteMerger which expects instances
of Note class as its paramters.  Implementing creation of code review
summary notes in Gerrit [1] will make use of both of these features.

[1] https://review.source.android.com/#change,20045

Change-Id: I627aefcedcd3434deecd63fa1d3e90e303b385ac
Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/notes/LeafBucketTest.java
org.eclipse.jgit/src/org/eclipse/jgit/notes/FanoutBucket.java
org.eclipse.jgit/src/org/eclipse/jgit/notes/LeafBucket.java
org.eclipse.jgit/src/org/eclipse/jgit/notes/Note.java
org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteBucket.java
org.eclipse.jgit/src/org/eclipse/jgit/notes/NoteMap.java