[openrtm-commit:02713] r983 - in trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC: . log
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 7月 27日 (木) 11:50:45 JST
Author: t-katami
Date: 2017-07-27 11:50:45 +0900 (Thu, 27 Jul 2017)
New Revision: 983
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/ModuleManager.java
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/log/Logbuf.java
Log:
[compat,bugfix,->RELENG_1_2] Fixed the item 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-07-26 08:20:53 UTC (rev 982)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/Manager.java 2017-07-27 02:50:45 UTC (rev 983)
@@ -616,7 +616,7 @@
+ bl.value[ic].binding_name[0].kind;
//String nspath = "/" + nsname + "/" + tmp;
String nspath = nsname + "/" + tmp;
- nspath.replace("\\","");
+ nspath = nspath.replace("\\","");
Object obj;
try {
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ModuleManager.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ModuleManager.java 2017-07-26 08:20:53 UTC (rev 982)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ModuleManager.java 2017-07-27 02:50:45 UTC (rev 983)
@@ -631,7 +631,7 @@
}
}
else{
- String str[] = dlls.elementAt(ic).split(".class");
+ String str[] = dlls.elementAt(ic).split("\\.class");
str[0] = str[0].replace(separator,".");
str[0] = str[0].replace("..",".");
try {
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/log/Logbuf.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/log/Logbuf.java 2017-07-26 08:20:53 UTC (rev 982)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/log/Logbuf.java 2017-07-27 02:50:45 UTC (rev 983)
@@ -115,7 +115,7 @@
}
String str;
- if((parent.length() == 0) || (parent == null)) {
+ if((parent == null) || (parent.length() == 0)) {
str = "OpenRTM-aist.logging." + name;
} else {
str = "OpenRTM-aist.logging." + parent + "." + name;
More information about the openrtm-commit
mailing list