[openrtm-commit:02751] r1011 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 8月 17日 (木) 11:02:21 JST
Author: t-katami
Date: 2017-08-17 11:02:21 +0900 (Thu, 17 Aug 2017)
New Revision: 1011
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingManager.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/jp/go/aist/rtm/RTC/NamingManager.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingManager.java 2017-08-17 01:21:26 UTC (rev 1010)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingManager.java 2017-08-17 02:02:21 UTC (rev 1011)
@@ -397,7 +397,7 @@
*/
public Vector<NamingService> getNameServices() {
synchronized (m_names) {
- return m_names;
+ return (Vector<NamingService>)m_names.clone();
}
}
/**
More information about the openrtm-commit
mailing list