Skip to content

Commit cbdb2a7

Browse files
authored
Migrate to new JSONObject (#161)
1 parent 4d0964f commit cbdb2a7

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

GenotypeAssays/src/org/labkey/genotypeassays/assay/DefaultGenotypeAssaysImportMethod.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public DefaultGenotypeAssaysImportMethod()
2727
super(GenotypeAssaysManager.GENOTYPE_ASSAY_PROVIDER);
2828
}
2929

30+
@Override
3031
public AssayParser getFileParser(Container c, User u, int assayId)
3132
{
3233
return new DefaultGenotypeAssayParser(this, c, u, assayId);

GenotypeAssays/src/org/labkey/genotypeassays/assay/SSPPivotingImportMethod.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import java.util.Map;
2222

2323
/**
24-
* Created with IntelliJ IDEA.
2524
* User: bimber
2625
* Date: 12/9/12
2726
* Time: 7:58 AM
@@ -51,6 +50,7 @@ public JSONObject getMetadata(ViewContext ctx, ExpProtocol protocol)
5150
return _importMethod.getMetadata(ctx, protocol);
5251
}
5352

53+
@Override
5454
public String getTooltip()
5555
{
5656
return "Choose this option to upload data using a template with many allele typings per row";
@@ -62,7 +62,7 @@ public AssayParser getFileParser(Container c, User u, int assayId)
6262
return new Parser(this, c, u, assayId);
6363
}
6464

65-
private class Parser extends PivotingAssayParser
65+
private static class Parser extends PivotingAssayParser
6666
{
6767
public Parser(PivotingImportMethod method, Container c, User u, int assayId)
6868
{

elispot_assay/src/org/labkey/elispot_assay/assay/AIDImportMethod.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public String getTemplateInstructions()
7474
return super.getTemplateInstructions() + "<br><br>This import path assumes you prepared this run by creating/saving a template from this site, which defines your plate layout and sample information. The results you enter below will be merged with that previously imported sample information using well. When you select a saved plate template using the \'Saved Sample Information\' section above, you should see a list of the samples you uploaded.";
7575
}
7676

77+
@Override
7778
public AssayParser getFileParser(Container c, User u, int assayId)
7879
{
7980
return new Parser(this, c, u, assayId);

flowassays/src/org/labkey/flowassays/FlowAssaysDataProvider.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public String getName()
5151
return FlowAssaysModule.NAME;
5252
}
5353

54+
@Override
5455
public ActionURL getInstructionsUrl(Container c, User u)
5556
{
5657
return null;
@@ -61,11 +62,13 @@ public boolean supportsTemplates()
6162
return false;
6263
}
6364

65+
@Override
6466
public List<NavItem> getDataNavItems(Container c, User u)
6567
{
6668
return Collections.emptyList();
6769
}
6870

71+
@Override
6972
public List<NavItem> getSampleNavItems(Container c, User u)
7073
{
7174
return Collections.emptyList();
@@ -87,26 +90,31 @@ public List<NavItem> getSettingsItems(Container c, User u)
8790
return items;
8891
}
8992

93+
@Override
9094
public JSONObject getTemplateMetadata(ViewContext ctx)
9195
{
9296
return null;
9397
}
9498

99+
@Override
95100
public Set<ClientDependency> getClientDependencies()
96101
{
97102
return Collections.emptySet();
98103
}
99104

105+
@Override
100106
public Module getOwningModule()
101107
{
102108
return _module;
103109
}
104110

111+
@Override
105112
public List<SummaryNavItem> getSummary(Container c, User u)
106113
{
107114
return Collections.emptyList();
108115
}
109116

117+
@Override
110118
public List<NavItem> getSubjectIdSummary(Container c, User u, String subjectId)
111119
{
112120
return Collections.emptyList();

0 commit comments

Comments
 (0)