mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-22 20:11:38 +01:00
refactor: remove explicit type arguments
This commit is contained in:
@@ -198,7 +198,7 @@ public class GitChangesetConverter implements Closeable
|
||||
|
||||
if (Util.isNotEmpty(parents))
|
||||
{
|
||||
parentList = new ArrayList<String>();
|
||||
parentList = new ArrayList<>();
|
||||
|
||||
for (RevCommit parent : parents)
|
||||
{
|
||||
|
||||
@@ -71,8 +71,7 @@ public final class GitSubModuleParser
|
||||
*/
|
||||
public static Map<String, SubRepository> parse(String content)
|
||||
{
|
||||
Map<String, SubRepository> subRepositories = new HashMap<String,
|
||||
SubRepository>();
|
||||
Map<String, SubRepository> subRepositories = new HashMap<>();
|
||||
Scanner scanner = new Scanner(content);
|
||||
SubRepository repository = null;
|
||||
|
||||
|
||||
@@ -137,7 +137,7 @@ public class GitBlameCommand extends AbstractGitCommand implements BlameCommand
|
||||
request.getPath()));
|
||||
}
|
||||
|
||||
List<BlameLine> blameLines = new ArrayList<BlameLine>();
|
||||
List<BlameLine> blameLines = new ArrayList<>();
|
||||
int total = gitBlameResult.getResultContents().size();
|
||||
int i = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user