3737import org .eclipse .jdt .launching .IVMInstallType ;
3838import org .eclipse .jdt .launching .JavaRuntime ;
3939import org .eclipse .m2e .actions .MavenLaunchConstants ;
40- import org .eclipse .m2e .core .IBiConsumer ;
40+ import org .eclipse .m2e .core .CoreBiConsumer ;
4141import org .eclipse .m2e .core .MavenPlugin ;
4242import org .eclipse .m2e .core .embedder .IMavenConfiguration ;
4343import org .eclipse .m2e .tests .common .AbstractMavenProjectTestCase ;
@@ -229,7 +229,7 @@ public void testUserToolchains_Invalid() throws Exception {
229229 * @param relativePath Relative path for the file. Must not be <code>null</code>.
230230 * @throws Exception Usually only on missed assertions.
231231 */
232- private void assertMavenLaunchConfig (IBiConsumer <IMavenConfiguration , String > configSetter , String goal , IBiConsumer <MavenLaunchDelegate , ILaunchConfigurationWorkingCopy > verifier , String relativePath )
232+ private void assertMavenLaunchConfig (CoreBiConsumer <IMavenConfiguration , String > configSetter , String goal , CoreBiConsumer <MavenLaunchDelegate , ILaunchConfigurationWorkingCopy > verifier , String relativePath )
233233 throws Exception {
234234
235235 waitForJobsToComplete ();
@@ -273,7 +273,7 @@ private void assertMavenLaunchConfig(IBiConsumer<IMavenConfiguration, String> co
273273 * @param relativePath Relative path for the file. Must not be <code>null</code>.
274274 * @throws Exception Usually only on missed assertions.
275275 */
276- private void assertMavenLaunchFileSetting (IBiConsumer <IMavenConfiguration , String > configSetter , String key , String relativePath )
276+ private void assertMavenLaunchFileSetting (CoreBiConsumer <IMavenConfiguration , String > configSetter , String key , String relativePath )
277277 throws Exception {
278278 this .assertMavenLaunchConfig (configSetter , null , (launcher , config ) -> {
279279 String programArguments = launcher .getProgramArguments (config );
@@ -296,7 +296,7 @@ private void assertMavenLaunchFileSetting(IBiConsumer<IMavenConfiguration, Strin
296296 * @param relativePath Relative path for the file. Must not be <code>null</code>.
297297 * @throws Exception Usually only on missed assertions.
298298 */
299- private void assertMavenLaunchFileSettingGoalOverride (IBiConsumer <IMavenConfiguration , String > configSetter , String key , String relativePath )
299+ private void assertMavenLaunchFileSettingGoalOverride (CoreBiConsumer <IMavenConfiguration , String > configSetter , String key , String relativePath )
300300 throws Exception {
301301 final String userDerivedPath = "./resources/settings/empty_settings/this_do_not_exists.xml" ;
302302 final String goalConfig = "clean " + key + " " + userDerivedPath ;
@@ -323,7 +323,7 @@ private void assertMavenLaunchFileSettingGoalOverride(IBiConsumer<IMavenConfigur
323323 * @param key Key of the configuration. Must not be <code>null</code>.
324324 * @throws Exception Usually only on missed assertions.
325325 */
326- private void assertMavenLaunchFileSettingPathInvalid (IBiConsumer <IMavenConfiguration , String > configSetter ) throws Exception {
326+ private void assertMavenLaunchFileSettingPathInvalid (CoreBiConsumer <IMavenConfiguration , String > configSetter ) throws Exception {
327327 final String path = "./resources/settings/empty_settings/this_do_not_exists.xml" ;
328328 try {
329329 this .assertMavenLaunchConfig (configSetter , null , (launcher , config ) -> {}, path );
0 commit comments