[openrtm-commit:02759] r1019 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 8月 18日 (金) 11:56:24 JST
Author: t-katami
Date: 2017-08-18 11:56:24 +0900 (Fri, 18 Aug 2017)
New Revision: 1019
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-18 02:23:32 UTC (rev 1018)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/Manager.java 2017-08-18 02:56:24 UTC (rev 1019)
@@ -3955,11 +3955,8 @@
}
}
- //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);
+ File otherref
+ = new File(m_config.getProperty("manager.refstring_path"));
if (!otherref.exists()) {
FileWriter reffile = null;
try {
More information about the openrtm-commit
mailing list