* $GIT_DIR/MERGE_HEAD or <code>null</code> to delete the file
* @throws IOException
*/
- public void writeMergeHeads(List<ObjectId> heads) throws IOException {
+ public void writeMergeHeads(List<? extends ObjectId> heads) throws IOException {
writeHeadsFile(heads, Constants.MERGE_HEAD);
}
* @throws FileNotFoundException
* @throws IOException
*/
- private void writeHeadsFile(List<ObjectId> heads, String filename)
+ private void writeHeadsFile(List<? extends ObjectId> heads, String filename)
throws FileNotFoundException, IOException {
File headsFile = new File(getDirectory(), filename);
if (heads != null) {