[openrtm-commit:02757] r1017 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 8月 18日 (金) 10:30:31 JST
Author: t-katami
Date: 2017-08-18 10:30:31 +0900 (Fri, 18 Aug 2017)
New Revision: 1017
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/Manager.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/Manager.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/Manager.java 2017-08-17 07:58:12 UTC (rev 1016)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/Manager.java 2017-08-18 01:30:31 UTC (rev 1017)
@@ -3955,8 +3955,11 @@
}
}
- File otherref
- = new File(m_config.getProperty("manager.refstring_path"));
+ //File otherref
+ // = new File(m_config.getProperty("manager.refstring_path"));
+ String filename
+ = (new File(m_config.getProperty("manager.refstring_path"))).getName();
+ File otherref = new File(filename);
if (!otherref.exists()) {
FileWriter reffile = null;
try {
More information about the openrtm-commit
mailing list