[openrtm-commit:01909] r814 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 4月 21日 (木) 16:47:11 JST
Author: win-ei
Date: 2016-04-21 16:47:10 +0900 (Thu, 21 Apr 2016)
New Revision: 814
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingOnCorba.java
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingOnManager.java
Log:
Fiexd bugs. refs #3396
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingOnCorba.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingOnCorba.java 2016-04-21 07:20:33 UTC (rev 813)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingOnCorba.java 2016-04-21 07:47:10 UTC (rev 814)
@@ -272,10 +272,10 @@
public RTObject[] string_to_component(String name){
rtcout.println(Logbuf.PARANOID, "string_to_component("+name+")");
RTCListHolder rtc_list = new RTCListHolder();
- String[] tmps = name.split("//");
+ String[] tmps = name.split("://");
if(tmps.length > 1){
rtcout.println(Logbuf.PARANOID, "tmps[0]:"+tmps[0]);
- if(tmps[0].equals("rtcname:")){
+ if(tmps[0].equals("rtcname")){
String tag = tmps[0];
String url = tmps[1];
rtcout.println(Logbuf.PARANOID, "tmps[1]:"+tmps[1]);
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingOnManager.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingOnManager.java 2016-04-21 07:20:33 UTC (rev 813)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingOnManager.java 2016-04-21 07:47:10 UTC (rev 814)
@@ -279,10 +279,10 @@
public RTObject[] string_to_component(String name){
rtcout.println(Logbuf.PARANOID, "string_to_component("+name+")");
RTCListHolder rtc_list = new RTCListHolder();
- String[] tmps = name.split("//");
+ String[] tmps = name.split("://");
if(tmps.length > 1){
rtcout.println(Logbuf.PARANOID, "tmps[0]:"+tmps[0]);
- if(tmps[0].equals("rtcloc:")){
+ if(tmps[0].equals("rtcloc")){
String tag = tmps[0];
String url = tmps[1];
rtcout.println(Logbuf.PARANOID, "tmps[1]:"+tmps[1]);
More information about the openrtm-commit
mailing list