[openrtm-commit:01204] r513 - branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.toolscommon/src/jp/go/aist/rtm/toolscommon/util
openrtm @ openrtm.org
openrtm @ openrtm.org
2014年 1月 30日 (木) 12:15:43 JST
Author: win-ei
Date: 2014-01-30 12:15:43 +0900 (Thu, 30 Jan 2014)
New Revision: 513
Modified:
branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.toolscommon/src/jp/go/aist/rtm/toolscommon/util/RtcProfileHandler.java
Log:
Deleted processings for debugging.
Modified: branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.toolscommon/src/jp/go/aist/rtm/toolscommon/util/RtcProfileHandler.java
===================================================================
--- branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.toolscommon/src/jp/go/aist/rtm/toolscommon/util/RtcProfileHandler.java 2014-01-30 02:59:41 UTC (rev 512)
+++ branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.toolscommon/src/jp/go/aist/rtm/toolscommon/util/RtcProfileHandler.java 2014-01-30 03:15:43 UTC (rev 513)
@@ -42,39 +42,26 @@
private final String CATEGORY_COMPOSITE = "composite.";
public static boolean validateXml(String targetString) throws Exception {
- System.out.println("validateXml entry");
XmlHandler handler = new XmlHandler();
try {
- System.out.print("validateXml 010 "+targetString);
handler.restoreFromXmlRtc(targetString);
} catch (IOException e) {
throw new Exception("XML Validation Error", e);
}
- System.out.println("validateXml return");
return true;
}
public ComponentSpecification createComponentFromXML(String targetXML) throws Exception {
- System.out.println("createComponentFromXML entry");
XmlHandler handler = new XmlHandler();
- System.out.println("createComponentFromXML 010 "+targetXML);
RtcProfile profile = handler.restoreFromXmlRtc(targetXML);
- System.out.println("createComponentFromXML 011 ");
- System.out.println("createComponentFromXML 012 Language="+profile.getLanguage().getKind());
ComponentSpecification component = profile2ComponentEMF(profile, null);
- System.out.println("createComponentFromXML 015 Language="+profile.getLanguage().getKind());
component.setLanguage(profile.getLanguage().getKind());
- System.out.println("createComponentFromXML 016 Language="+component.getLanguage());
- System.out.println("createComponentFromXML 020 "+component.getRtcType());
- System.out.println("createComponentFromXML return");
return component;
}
public ComponentSpecification createComponent(String targetFile) throws Exception {
- System.out.println("createComponent entry");
- System.out.println("createComponent 010 "+targetFile);
//対象ファイルの読み込み
BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(targetFile), "UTF-8"));
String tmp_str = null;
@@ -85,14 +72,12 @@
br.close();
ComponentSpecification component = createComponentFromXML(tmp_sb.toString());
- System.out.println("createComponent return");
return component;
}
@SuppressWarnings("static-access")
private ComponentSpecification profile2ComponentEMF(RtcProfile module,
ComponentSpecification specification) throws Exception {
- System.out.println("profile2ComponentEMF entry");
if( !checkProfile(module) ) throw new Exception("Incorrect Profile.");
if (specification == null) {
specification = ComponentFactory.eINSTANCE.createComponentSpecification();
@@ -148,7 +133,6 @@
+ specification.getVersionL();
specification.setComponentId(moduleId);
- System.out.println("profile2ComponentEMF return");
return specification;
}
More information about the openrtm-commit
mailing list