From e147966cec5e7a7da26bfee4394c4533a24383af Mon Sep 17 00:00:00 2001 From: cramakri <cramakri> Date: Fri, 8 Jun 2012 09:12:33 +0000 Subject: [PATCH] MINOR Fixing warnings SVN: 25601 --- .../plugin/generic/server/SampleRegisterOrUpdateUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/server/SampleRegisterOrUpdateUtil.java b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/server/SampleRegisterOrUpdateUtil.java index f1f56d39afb..182cb9137e3 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/server/SampleRegisterOrUpdateUtil.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/server/SampleRegisterOrUpdateUtil.java @@ -122,6 +122,7 @@ public class SampleRegisterOrUpdateUtil return false; } + @SuppressWarnings("null") String newSampleSubCode = newSampleIdentifier.getSampleSubCode(); if (existingSample.getSubCode().equalsIgnoreCase(newSampleSubCode) == false) { -- GitLab