Skip to content

Commit a69d1e5

Browse files
Fix bootstrapping
1 parent c6ee46d commit a69d1e5

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

api/src/org/labkey/api/module/DefaultModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ public final Set<String> getSqlScripts(@NotNull DbSchema schema)
10401040

10411041
for (String script : dir.listNames())
10421042
{
1043-
if ((Strings.CI.endsWith(script, ".sql") || Strings.CI.endsWith(script, ".jsp")) && Strings.CI.endsWith(script, schema.getResourcePrefix() + "-"))
1043+
if ((Strings.CI.endsWith(script, ".sql") || Strings.CI.endsWith(script, ".jsp")) && Strings.CI.startsWith(script, schema.getResourcePrefix() + "-"))
10441044
fileNames.add(script);
10451045
}
10461046

query/src/org/labkey/query/controllers/QueryController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3283,7 +3283,7 @@ public ActionURL getSuccessURL(QueryUpdateForm form)
32833283
if (isBlank(str))
32843284
str = form.getReturnUrl();
32853285

3286-
if (Strings.CS.equals(str, "details.view"))
3286+
if ("details.view".equals(str))
32873287
{
32883288
if (null == insertedRow)
32893289
return super.getSuccessURL(form);
@@ -8290,7 +8290,7 @@ private Map<Integer, Object> getRowFiles()
82908290
return rowFiles;
82918291
}
82928292

8293-
private List<Pair<String, String>> getUploadedTemplates(QueryImportTemplateForm form, DomainKind kind) throws ValidationException, QueryUpdateServiceException, ExperimentException
8293+
private List<Pair<String, String>> getUploadedTemplates(QueryImportTemplateForm form, DomainKind<?> kind) throws ValidationException, QueryUpdateServiceException, ExperimentException
82948294
{
82958295
FileContentService fcs = FileContentService.get();
82968296
if (fcs == null)

query/src/org/labkey/query/olap/BitSetQueryImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ Result union(OP op, Collection<Result> resultsIN) throws OlapException
13181318
if (!(r instanceof MemberSetResult))
13191319
throw new IllegalArgumentException();
13201320
Hierarchy h = r.getHierarchy();
1321-
if (null == h || (null != hierarchyName && !Strings.CS.equals(hierarchyName, h.getUniqueName())))
1321+
if (null == h || (null != hierarchyName && !hierarchyName.equals(h.getUniqueName())))
13221322
return new UnionResult(results);
13231323
hierarchyName = h.getUniqueName();
13241324
}

study/src/org/labkey/study/model/DatasetDefinition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ public static TableInfo getTemplateTableInfo()
633633
/**
634634
* For consistency, now return the equivalent of
635635
* StudyUserSchema().createSchema().getSchema("Datasets").getTable(_dataset.getLabel());
636-
@*
636+
*
637637
* Internal study code can still use the DatasetSchemaTableInfo methods, however, we should try hard to
638638
* remove usages of DatasetSchemaTableInfo.
639639
*/

wiki/src/org/labkey/wiki/model/WikiVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public HtmlString render(@Nullable HttpView<?> view, Container c, Wiki wiki)
142142
public String getTitle()
143143
{
144144
if (null == _title)
145-
_title = (null == _wikiName || Strings.CS.equals(_wikiName, "default")) ? "Wiki" : _wikiName;
145+
_title = (null == _wikiName || "default".equals(_wikiName)) ? "Wiki" : _wikiName;
146146
return _title;
147147
}
148148

0 commit comments

Comments
 (0)