[openrtm-commit:02726] r991 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleIO
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 8月 8日 (火) 09:46:17 JST
Author: t-katami
Date: 2017-08-08 09:46:17 +0900 (Tue, 08 Aug 2017)
New Revision: 991
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleIO/get_actual_ec.java
Log:
[compat,bugfix,->RELENG_1_2] Fixed the items pointed out by the static code analysis tool.
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleIO/get_actual_ec.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleIO/get_actual_ec.java 2017-08-07 08:36:22 UTC (rev 990)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleIO/get_actual_ec.java 2017-08-08 00:46:17 UTC (rev 991)
@@ -118,6 +118,10 @@
CorbaConsumer<DataFlowComponent> conout =
new CorbaConsumer<DataFlowComponent>(DataFlowComponent.class);
// find ConsoleOut0 component
+ if(conout == null){
+ System.out.println("Failed to create CorbaConsumer.");
+ return;
+ }
try {
conout.setObject(naming.resolve(".host_cxt/ConsoleOut0.rtc"));
} catch (NotFound e) {
More information about the openrtm-commit
mailing list