[Mobies-commit] [commit] r4370 - UDM/trunk/src/Udm/JavaAPIGen
ksmyth at redhat3.isis.vanderbilt.edu
ksmyth at redhat3.isis.vanderbilt.edu
Thu Nov 12 18:05:51 CST 2015
Author: ksmyth
Date: Thu Nov 12 18:05:51 2015
New Revision: 4370
Log:
JavaAPIGen: fix tags in javadoc
Modified:
UDM/trunk/src/Udm/JavaAPIGen/ClassGen.cpp
UDM/trunk/src/Udm/JavaAPIGen/FactoryGen.cpp
Modified: UDM/trunk/src/Udm/JavaAPIGen/ClassGen.cpp
==============================================================================
--- UDM/trunk/src/Udm/JavaAPIGen/ClassGen.cpp Thu Nov 12 18:01:12 2015 (r4369)
+++ UDM/trunk/src/Udm/JavaAPIGen/ClassGen.cpp Thu Nov 12 18:05:51 2015 (r4370)
@@ -359,7 +359,7 @@
if ( (ccr.max() == -1) || (ccr.max() > 1) )
{
m_output << "\t/**" << endl;
- m_output << "\t * Returns all the children of type <code>" << c_i_name << "<code> of this container. " << endl;
+ m_output << "\t * Returns all the children of type <code>" << c_i_name << "</code> of this container. " << endl;
m_output << "\t * @return The children in an array" << endl;
m_output << "\t * @throws UdmException If any Udm related exception occurred" << endl;
m_output << "\t */ " << endl;
@@ -389,7 +389,7 @@
else
{
m_output << "\t/**" << endl;
- m_output << "\t * Return the child of type <code>" << c_i_name << "<code> of this container. " << endl;
+ m_output << "\t * Return the child of type <code>" << c_i_name << "</code> of this container. " << endl;
m_output << "\t * @return The child" << endl;
m_output << "\t * @throws UdmException If any Udm related exception occurred" << endl;
m_output << "\t */ " << endl;
@@ -419,7 +419,7 @@
{
//generate a common getter function for these types of children
m_output << "\t/**" << endl;
- m_output << "\t * Returns all the children of type <code>" << c_i_name << "<code> of this container. " << endl;
+ m_output << "\t * Returns all the children of type <code>" << c_i_name << "</code> of this container. " << endl;
m_output << "\t * @return The children in an array" << endl;
m_output << "\t * @throws UdmException If any Udm related exception occurred" << endl;
m_output << "\t */ " << endl;
@@ -462,8 +462,8 @@
if ( (ccrs_i->max() == -1) || (ccrs_i->max() > 1) )
{
m_output << "\t/**" << endl;
- m_output << "\t * Returns the children <code>" << child_name << "<code> of this container. " << endl;
- m_output << "\t * which have role <code>" << ccr_name << "<code>." << endl;
+ m_output << "\t * Returns the children <code>" << child_name << "</code> of this container. " << endl;
+ m_output << "\t * which have role <code>" << ccr_name << "</code>." << endl;
m_output << "\t * @return The children in an array" << endl;
m_output << "\t * @throws UdmException If any Udm related exception occurred" << endl;
m_output << "\t */ " << endl;
@@ -485,8 +485,8 @@
else
{
m_output << "\t/**" << endl;
- m_output << "\t * Returns the child <code>" << child_name << "<code> of this container. " << endl;
- m_output << "\t * which has role <code>" << ccr_name << "<code>." << endl;
+ m_output << "\t * Returns the child <code>" << child_name << "</code> of this container. " << endl;
+ m_output << "\t * which has role <code>" << ccr_name << "</code>." << endl;
m_output << "\t * @return The children in an array" << endl;
m_output << "\t * @throws UdmException If any Udm related exception occurred" << endl;
m_output << "\t */ " << endl;
Modified: UDM/trunk/src/Udm/JavaAPIGen/FactoryGen.cpp
==============================================================================
--- UDM/trunk/src/Udm/JavaAPIGen/FactoryGen.cpp Thu Nov 12 18:01:12 2015 (r4369)
+++ UDM/trunk/src/Udm/JavaAPIGen/FactoryGen.cpp Thu Nov 12 18:05:51 2015 (r4370)
@@ -194,7 +194,7 @@
m_example_output << "\t */" << endl;
m_example_output << "\tpublic void testOpenFromString_" << m_root_name << "_" << containerDescriptionFunc( ) << "() \n\t\tthrows UdmException " << endl;
m_example_output << "\t{" << endl;
- m_example_output << "\t\tjava.lang.String xmlString = \"<...>\";" << endl;
+ m_example_output << "\t\tjava.lang.String xmlString = \"...\";" << endl;
m_example_output << "\t\t// open the data network" << endl;
m_example_output << "\t\t" << Utils::toPackageName( m_package_name ) << "." << m_root_name << "StringFactory gtf \n\t\t\t= FactoryRepository.get" << namespaceOrDiagramName( ) << m_root_name << "StringFactory();" << endl;
m_example_output << "\t\t" << Utils::toPackageName( m_package_name ) << "." << m_root_name << " root \n\t\t\t= gtf.open(xmlString);" << endl;
@@ -334,7 +334,7 @@
m_output << " * where the type of the root object is <code>"<< m_root_name << "</code>." << endl;
m_output << " * <blockquote><pre>" << endl;
m_output << " * ....;" << endl;
- m_output << " * String xmlString = \"<...>\";" << endl;
+ m_output << " * String xmlString = \"...\";" << endl;
m_output << " * // open the data network" << endl;
m_output << " * " << m_root_name << "StringFactory gtf = FactoryRepository.get" << namespaceOrDiagramName( ) << m_root_name << "StringFactory();" << endl;
m_output << " * " << m_root_name << " root = gtf.open(xmlString);" << endl;
More information about the Mobies-commit
mailing list