File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/main/java/org/scijava/plugin Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ public ArrayList<Object> get() {
102102 * @param list the initial list of instances
103103 * @return the filtered list of instances
104104 */
105- protected List <? extends PT > filterInstances (List <PT > list ) {
105+ protected List <? extends PT > filterInstances (final List <PT > list ) {
106106 return list ;
107107 }
108108
@@ -117,9 +117,10 @@ private synchronized void initInstances() {
117117
118118 instanceMap = new HashMap <Class <? extends PT >, PT >();
119119
120- for (PT plugin : instances ) {
120+ for (final PT plugin : instances ) {
121121 @ SuppressWarnings ("unchecked" )
122- Class <? extends PT > ptClass = (Class <? extends PT >) plugin .getClass ();
122+ final Class <? extends PT > ptClass =
123+ (Class <? extends PT >) plugin .getClass ();
123124 instanceMap .put (ptClass , plugin );
124125 }
125126
You can’t perform that action at this time.
0 commit comments