Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan E. Cook2016-06-09 19:42:29 -0400
committerAngel Avila2016-06-09 19:42:29 -0400
commit80b18f92c6a612c884767cfe23e4b88cc391f62c (patch)
tree1465b6fce36fc2a83c657c3f6b723a25d816881d /plugins/org.eclipse.osee.framework.messaging
parentde190f34a36b1df492bccec98d6e7a37baf79d5f (diff)
downloadorg.eclipse.osee-80b18f92c6a612c884767cfe23e4b88cc391f62c.tar.gz
org.eclipse.osee-80b18f92c6a612c884767cfe23e4b88cc391f62c.tar.xz
org.eclipse.osee-80b18f92c6a612c884767cfe23e4b88cc391f62c.zip
refactor[ats_ATS284247]: Add missing null checks
Signed-off-by: Morgan E. Cook <Morgan.e.cook@boeing.com> Change-Id: Ib9f7cd6fac1690741e653c574107a3a010390b44 Signed-off-by: Morgan E. Cook <Morgan.e.cook@boeing.com>
Diffstat (limited to 'plugins/org.eclipse.osee.framework.messaging')
-rw-r--r--plugins/org.eclipse.osee.framework.messaging/src/org/eclipse/osee/framework/messaging/internal/MessageServiceImpl.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.messaging/src/org/eclipse/osee/framework/messaging/internal/MessageServiceImpl.java b/plugins/org.eclipse.osee.framework.messaging/src/org/eclipse/osee/framework/messaging/internal/MessageServiceImpl.java
index 243a8028fd..a0a6537932 100644
--- a/plugins/org.eclipse.osee.framework.messaging/src/org/eclipse/osee/framework/messaging/internal/MessageServiceImpl.java
+++ b/plugins/org.eclipse.osee.framework.messaging/src/org/eclipse/osee/framework/messaging/internal/MessageServiceImpl.java
@@ -56,7 +56,11 @@ public class MessageServiceImpl implements MessageService {
OseeLog.log(MessageServiceImpl.class, Level.SEVERE, ex1);
}
}
- OseeLog.logf(Activator.class, Level.FINER, "Default URI for message Service [%s]", defaultURI.toASCIIString());
+ String message = "Default URI is null";
+ if(defaultURI != null) {
+ message = defaultURI.toASCIIString();
+ }
+ OseeLog.logf(Activator.class, Level.FINER, "Default URI for message Service [%s]", message);
return defaultURI;
}

Back to the top