Remove unnecessary cast to RepositoryMapping
commit979791c7ee38923ed906fc19ca27555d2fea3b45
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 22 Feb 2016 07:27:47 +0000 (22 08:27 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Tue, 23 Feb 2016 06:29:03 +0000 (23 01:29 -0500)
tree8855be8036662fe05693b272d06eba564a7f3ff2
parent159c34d8dfefcc5ddcfbf6912fdbb1a9aa9fa396
Remove unnecessary cast to RepositoryMapping

The collection mappings is a Collection<RepositoryMapping> so directly
assign items in this collection to a variable of type RepositoryMapping
and avoid an unnecessary unchecked cast.

Change-Id: Idd9a1a58e69fe8a5aa00ec12f66be59d67aef06c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java