Skip to content

Commit d609842

Browse files
remove (Integer) casts
1 parent 2664af8 commit d609842

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/pipeline/CreateReferenceLibraryTask.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
import java.util.Map;
7070
import java.util.Set;
7171

72+
import static org.labkey.api.exp.api.ExperimentService.asInteger;
73+
7274
/**
7375
* User: bbimber
7476
* Date: 8/6/12
@@ -204,7 +206,7 @@ public RecordedActionSet run() throws PipelineJobException
204206
throw errors;
205207
}
206208
libraryRow = new CaseInsensitiveHashMap<>(inserted.get(0));
207-
rowId = (Integer) libraryRow.get("rowid");
209+
rowId = asInteger(libraryRow.get("rowid"));
208210
}
209211
else
210212
{

0 commit comments

Comments
 (0)