|
62 | 62 | import org.eclipse.swt.widgets.Display; |
63 | 63 | import org.knime.core.node.NodeLogger; |
64 | 64 | import org.knime.gateway.api.service.GatewayException; |
65 | | -import org.knime.ui.java.util.ProgressReporter; |
66 | 65 | import org.knime.gateway.api.webui.entity.GatewayProblemDescriptionEnt; |
67 | 66 | import org.knime.gateway.api.webui.service.util.MutableServiceCallException; |
68 | 67 | import org.knime.gateway.api.webui.service.util.ServiceExceptions.LoggedOutException; |
|
86 | 85 | import org.knime.ui.java.profile.UserProfile; |
87 | 86 | import org.knime.ui.java.util.ExampleProjects; |
88 | 87 | import org.knime.ui.java.util.MostRecentlyUsedProjects; |
| 88 | +import org.knime.ui.java.util.ProgressReporter; |
89 | 89 |
|
90 | 90 | import com.fasterxml.jackson.core.JsonProcessingException; |
91 | 91 | import com.fasterxml.jackson.databind.ObjectMapper; |
@@ -268,7 +268,7 @@ private static Object invokeMethod(final Method m, final Object[] args) throws T |
268 | 268 | * @param progressReporter |
269 | 269 | * @throws IllegalStateException if the dependencies have been already injected |
270 | 270 | */ |
271 | | - @SuppressWarnings({"java:S107", "JavadocDeclaration", "javadoc"}) // Parameter count |
| 271 | + @SuppressWarnings({"java:S107", "JavadocDeclaration"}) // Parameter count |
272 | 272 | public static void injectDependencies( // |
273 | 273 | final ProjectManager projectManager, // |
274 | 274 | final WorkflowMiddleware workflowMiddleware, // |
@@ -309,65 +309,30 @@ static void injectDependency(final UserProfile userProfile) { |
309 | 309 | DEPENDENCIES.put(UserProfile.class, userProfile); |
310 | 310 | } |
311 | 311 |
|
312 | | - /** |
313 | | - * Add individual dependency for testing purposes. |
314 | | - * |
315 | | - * @param eventConsumer |
316 | | - */ |
317 | 312 | static void injectDependency(final EventConsumer eventConsumer) { |
318 | 313 | DEPENDENCIES.put(EventConsumer.class, eventConsumer); |
319 | 314 | } |
320 | 315 |
|
321 | | - /** |
322 | | - * Add individual dependency for testing purposes. |
323 | | - * |
324 | | - * @param localSpace |
325 | | - */ |
326 | 316 | static void injectDependency(final LocalSpace localSpace) { |
327 | 317 | DEPENDENCIES.put(LocalSpace.class, localSpace); |
328 | 318 | } |
329 | 319 |
|
330 | | - /** |
331 | | - * Add individual dependency for testing purposes. |
332 | | - * |
333 | | - * @param projectManager |
334 | | - */ |
335 | 320 | static void injectDependency(final ProjectManager projectManager) { |
336 | 321 | DEPENDENCIES.put(ProjectManager.class, projectManager); |
337 | 322 | } |
338 | 323 |
|
339 | | - /** |
340 | | - * Add individual dependency for testing purposes. |
341 | | - * |
342 | | - * @param appStateUpdater |
343 | | - */ |
344 | 324 | static void injectDependency(final AppStateUpdater appStateUpdater) { |
345 | 325 | DEPENDENCIES.put(AppStateUpdater.class, appStateUpdater); |
346 | 326 | } |
347 | 327 |
|
348 | | - /** |
349 | | - * Add individual dependency for testing purposes. |
350 | | - * |
351 | | - * @param spaceProvidersManager |
352 | | - */ |
353 | 328 | static void injectDependency(final SpaceProvidersManager spaceProvidersManager) { |
354 | 329 | DEPENDENCIES.put(SpaceProvidersManager.class, spaceProvidersManager); |
355 | 330 | } |
356 | 331 |
|
357 | | - /** |
358 | | - * Add individual dependency for testing purposes. |
359 | | - * |
360 | | - * @param mruProjects |
361 | | - */ |
362 | 332 | static void injectDependency(final MostRecentlyUsedProjects mruProjects) { |
363 | 333 | DEPENDENCIES.put(MostRecentlyUsedProjects.class, mruProjects); |
364 | 334 | } |
365 | 335 |
|
366 | | - /** |
367 | | - * Add individual dependency for testing purposes. |
368 | | - * |
369 | | - * @param exampleProjects |
370 | | - */ |
371 | 336 | static void injectDependency(final ExampleProjects exampleProjects) { |
372 | 337 | DEPENDENCIES.put(ExampleProjects.class, exampleProjects); |
373 | 338 | } |
|
0 commit comments