Skip to content

Commit 8705d9a

Browse files
committed
Added generic type
1 parent 6721d2c commit 8705d9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorial-process/src/test/java/dev/dsf/process/tutorial/TestProcessPluginGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public class TestProcessPluginGenerator
4444
processAuthorizationHelper, questionnaireResponseHelper, readAccessHelper, taskHelper);
4545
private static ConfigurableEnvironment environment = new StandardEnvironment();
4646

47-
public static ProcessPluginImpl generate(ProcessPluginDefinition processPluginDefinition, boolean draft,
48-
Class loadingClass)
47+
public static <T> ProcessPluginImpl generate(ProcessPluginDefinition processPluginDefinition, boolean draft,
48+
Class<T> loadingClass)
4949
{
5050
return new ProcessPluginImpl(processPluginDefinition, processPluginApi, draft, Path.of("test.jar"),
5151
loadingClass.getClassLoader(), fhirContext, environment);

0 commit comments

Comments
 (0)