Community
Participate
Working Groups
From latest I-build page: 1. WARNING in /src/org/eclipse/equinox/console/commands/EquinoxCommandProvider.java (at line 296) private static boolean matchCommand(String command, String input, int minLength) { The method matchCommand(String, String, int) from the type EquinoxCommandProvider is never used locally 2. WARNING in /src/org/eclipse/equinox/console/commands/EquinoxCommandProvider.java (at line 1314) ServiceReference envInfoRef = context.getServiceReference(EnvironmentInfo.class.getName()); ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized 3. WARNING in /src/org/eclipse/equinox/console/commands/EquinoxCommandProvider.java (at line 1317) EnvironmentInfo envInfo = context.getService(envInfoRef); Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext 4. WARNING in /src/org/eclipse/equinox/console/commands/EquinoxCommandProvider.java (at line 1317) EnvironmentInfo envInfo = context.getService(envInfoRef); Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<EnvironmentInfo> 1. WARNING in /src/org/eclipse/equinox/console/commands/EquinoxCommandsConverter.java (at line 44) List<String> args = (List<String>) in; Type safety: Unchecked cast from Object to List<String> 2. WARNING in /src/org/eclipse/equinox/console/commands/EquinoxCommandsConverter.java (at line 119) List<Dictionary<?, ?>> list = (List<Dictionary<?, ?>>) target; Type safety: Unchecked cast from Object to List<Dictionary<?,?>>
Lazar, would you fix these warnings in the build?
(In reply to comment #1) > Lazar, would you fix these warnings in the build? Yes, sure.
I fixed the warnings and submitted the changes.
Thanks marking as fixed.