Clean up various warnings

This patch removes the obsolete imports and updates some of the
deprecated API.

Change-Id: I2c077e786b6acbb0fcbfae053a538757224281a8
This commit is contained in:
Deniz Türkoglu
2012-05-09 14:56:34 -07:00
parent cb0ca18ab1
commit d897d3d633
10 changed files with 6 additions and 13 deletions

View File

@@ -224,7 +224,7 @@ public class SubmoduleSectionParserTest extends LocalDiskRepositoryTestCase {
break;
} else {
expect(repoManager.list()).andReturn(
new TreeSet<Project.NameKey>(Collections.EMPTY_LIST));
new TreeSet<Project.NameKey>(Collections.<Project.NameKey> emptyList()));
}
}
}