[openrtm-commit:02749] r1009 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 8月 17日 (木) 08:51:03 JST
Author: t-katami
Date: 2017-08-17 08:51:03 +0900 (Thu, 17 Aug 2017)
New Revision: 1009
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/FiniteStateMachineComponent_impl.java
Log:
[bugfix,->FSM4RTC] Fixed the items pointed out by the static code analysis tool.
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/FiniteStateMachineComponent_impl.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/FiniteStateMachineComponent_impl.java 2017-08-16 08:27:56 UTC (rev 1008)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/FiniteStateMachineComponent_impl.java 2017-08-16 23:51:03 UTC (rev 1009)
@@ -3066,10 +3066,14 @@
return ret;
}
public final Vector<InPortBase> getInPorts() {
- return m_inports;
+ synchronized (m_inports){
+ return m_inports;
+ }
}
public final Vector<OutPortBase> getOutPorts() {
- return m_outports;
+ synchronized (m_outports){
+ return m_outports;
+ }
}
/**
More information about the openrtm-commit
mailing list