[openrtm-commit:02743] r1004 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/AutoTest

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 8月 16日 (水) 11:01:07 JST


Author: t-katami
Date: 2017-08-16 11:01:07 +0900 (Wed, 16 Aug 2017)
New Revision: 1004

Modified:
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/AutoTest/MyServiceSVC_impl.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/RTMExamples/AutoTest/MyServiceSVC_impl.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/AutoTest/MyServiceSVC_impl.java	2017-08-16 01:18:28 UTC (rev 1003)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/AutoTest/MyServiceSVC_impl.java	2017-08-16 02:01:07 UTC (rev 1004)
@@ -31,7 +31,8 @@
     public String[] get_echo_history() {
         // Please insert your code here and remove the following warning pragma
         // TODO "Code missing in function <EchoList get_echo_history()>"
-        return null;
+        String[] ret = {""};
+        return ret;
     }
 
     public void set_value(float value) {
@@ -48,7 +49,8 @@
     public float[] get_value_history() {
         // Please insert your code here and remove the following warning pragma
         // TODO "Code missing in function <ValueList get_value_history()>"
-        return null;
+        float[] ret = {};
+        return ret;
     }
 
     public String get_echo_message() {



More information about the openrtm-commit mailing list