[openrtm-commit:02689] r966 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 7月 13日 (木) 16:56:42 JST
Author: t-katami
Date: 2017-07-13 16:56:42 +0900 (Thu, 13 Jul 2017)
New Revision: 966
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/InPortProviderFactory.java
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/OutPortProviderFactory.java
Log:
[compat,bugfix,->RELENG_1_2] Fixed bugs.
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/InPortProviderFactory.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/InPortProviderFactory.java 2017-07-13 06:54:28 UTC (rev 965)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/InPortProviderFactory.java 2017-07-13 07:56:42 UTC (rev 966)
@@ -27,14 +27,12 @@
*
*/
public static InPortProviderFactory instance() {
- if (factory_global == null) {
- synchronized (factory_global_mutex) {
- if (factory_global == null) {
- try {
- factory_global = new InPortProviderFactory();
- } catch (Exception e) {
- factory_global = null;
- }
+ synchronized (factory_global_mutex) {
+ if (factory_global == null) {
+ try {
+ factory_global = new InPortProviderFactory();
+ } catch (Exception e) {
+ factory_global = null;
}
}
}
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/OutPortProviderFactory.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/OutPortProviderFactory.java 2017-07-13 06:54:28 UTC (rev 965)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/OutPortProviderFactory.java 2017-07-13 07:56:42 UTC (rev 966)
@@ -26,14 +26,12 @@
*
*/
public static OutPortProviderFactory instance() {
- if (factory_global == null) {
- synchronized (factory_global_mutex) {
- if (factory_global == null) {
- try {
- factory_global = new OutPortProviderFactory();
- } catch (Exception e) {
- factory_global = null;
- }
+ synchronized (factory_global_mutex) {
+ if (factory_global == null) {
+ try {
+ factory_global = new OutPortProviderFactory();
+ } catch (Exception e) {
+ factory_global = null;
}
}
}
More information about the openrtm-commit
mailing list