Make RevTag getObject(), getName() final to prevent overrides
commit060df750695b9ef98fc27c60565e3c9569c2f0fb
authorShawn O. Pearce <spearce@spearce.org>
Fri, 12 Jun 2009 23:00:15 +0000 (12 16:00 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 14 Jun 2009 20:41:29 +0000 (14 22:41 +0200)
tree513244f29b48d77268f29da897bd17412aeec736
parent47c97cb83d8868de009d70e90c0a0649aa291f51
Make RevTag getObject(), getName() final to prevent overrides

These methods exist solely to export the object headers from the
tag buffer.  Overriding them may create confusion by trying to
replace the value with something other than what was parsed from
the tag headers.  Other methods like getShortMessage() and the
getTaggerIdent() are likewise already marked final.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/revwalk/RevTag.java