Skip to content

Commit 378a829

Browse files
eclipse-equinox-botlaeubi
authored andcommitted
Perform clean code of bundles/org.eclipse.equinox.p2.director
1 parent a3f6642 commit 378a829

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director

1 file changed

+1
-1
lines changed

bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/QueryableArray.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public synchronized Object getManagedProperty(Object client, String memberName,
7373
if (translationSupport == null) {
7474
translationSupport = new TranslationSupport(this);
7575
}
76-
return key instanceof KeyWithLocale ? translationSupport.getIUProperty(iu, (KeyWithLocale) key) : translationSupport.getIUProperty(iu, key.toString());
76+
return key instanceof KeyWithLocale k ? translationSupport.getIUProperty(iu, k) : translationSupport.getIUProperty(iu, key.toString());
7777
}
7878
return null;
7979
}

0 commit comments

Comments
 (0)