Skip to content

Commit a402559

Browse files
authored
Return Set<Class<?>> from Module "get test" methods (#263)
1 parent 9091ce5 commit a402559

File tree

4 files changed

+4
-14
lines changed

4 files changed

+4
-14
lines changed

hivrc/src/org/labkey/hivrc/HivrcModule.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
import org.jetbrains.annotations.Nullable;
55
import org.labkey.api.data.Container;
66
import org.labkey.api.ldk.ExtendedSimpleModule;
7-
import org.labkey.api.module.Module;
8-
import org.labkey.api.module.ModuleContext;
9-
import org.labkey.api.query.DefaultSchema;
10-
import org.labkey.api.query.QuerySchema;
117
import org.labkey.api.util.HtmlString;
128
import org.labkey.api.view.BaseWebPartFactory;
139
import org.labkey.api.view.HtmlView;
@@ -53,7 +49,7 @@ protected Collection<WebPartFactory> createWebPartFactories()
5349
new BaseWebPartFactory("HIVRC Analysis Header")
5450
{
5551
@Override
56-
public WebPartView getWebPartView(@NotNull ViewContext portalCtx, @NotNull Portal.WebPart webPart)
52+
public WebPartView<?> getWebPartView(@NotNull ViewContext portalCtx, @NotNull Portal.WebPart webPart)
5753
{
5854
if (!portalCtx.getContainer().isWorkbook())
5955
{

mGAP/src/org/labkey/mgap/mGAPModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public JSONObject getPageContextJson(ContainerUser context)
208208
}
209209

210210
@Override
211-
public @NotNull Set<Class> getUnitTests()
211+
public @NotNull Set<Class<?>> getUnitTests()
212212
{
213213
return PageFlowUtil.set(mGapReleaseGenerator.TestCase.class);
214214
}

mGAP/src/org/labkey/mgap/mGapAuditTypeProvider.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@ public class mGapAuditTypeProvider extends AbstractAuditTypeProvider implements
2929

3030
public mGapAuditTypeProvider()
3131
{
32-
33-
}
34-
35-
@Override
36-
protected AbstractAuditDomainKind getDomainKind()
37-
{
38-
return new mGapAuditTypeProvider.AuditDomainKind();
32+
super(new mGapAuditTypeProvider.AuditDomainKind());
3933
}
4034

4135
@Override

primeseq/src/org/labkey/primeseq/PrimeseqModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public PipelineStartup()
125125
}
126126

127127
@Override
128-
public @NotNull Set<Class> getUnitTests()
128+
public @NotNull Set<Class<?>> getUnitTests()
129129
{
130130
return PageFlowUtil.set(ClusterMaintenanceTask.TestCase.class);
131131
}

0 commit comments

Comments
 (0)