Skip to content

Commit 9863371

Browse files
Merge remote-tracking branch 'origin/develop' into fb_disableCacheByDefault
2 parents 259ad46 + f8f44e6 commit 9863371

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

protein/api-src/org/labkey/api/protein/go/GoLoader.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package org.labkey.api.protein.go;
1818

19-
import jakarta.servlet.ServletException;
2019
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
2120
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
2221
import org.apache.commons.io.IOUtils;
@@ -25,6 +24,7 @@
2524
import org.labkey.api.data.DbSchema;
2625
import org.labkey.api.data.DbScope;
2726
import org.labkey.api.data.JdbcType;
27+
import org.labkey.api.data.SQLFragment;
2828
import org.labkey.api.data.SqlExecutor;
2929
import org.labkey.api.data.TableInfo;
3030
import org.labkey.api.data.TableSelector;
@@ -146,16 +146,16 @@ public void load()
146146
public static void dropGoIndexes()
147147
{
148148
DbSchema schema = ProteinSchema.getSchema();
149-
new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "drop_go_indexes", ""));
149+
new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "drop_go_indexes", new SQLFragment()));
150150
}
151151

152152
public static void createGoIndexes()
153153
{
154154
DbSchema schema = ProteinSchema.getSchema();
155-
new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "create_go_indexes", ""));
155+
new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "create_go_indexes", new SQLFragment()));
156156
}
157157

158-
private void loadGoFromGz() throws SQLException, IOException, ServletException
158+
private void loadGoFromGz() throws SQLException, IOException
159159
{
160160
Map<String, GoLoadBean> map = getGoLoadMap();
161161
long start = System.currentTimeMillis();

0 commit comments

Comments
 (0)