Skip to content

Commit

Permalink
Address several typo fixes (#483)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <[email protected]>
  • Loading branch information
fujitatomoya authored Dec 13, 2024
1 parent e51c2ec commit 990406c
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion ddsrouter_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ find_package(cmake_utils REQUIRED)
# - Set installation paths
configure_project()

# Call explictly project
# Call explicitly project
project(
${MODULE_NAME}
VERSION
Expand Down
4 changes: 2 additions & 2 deletions ddsrouter_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ find_package(cmake_utils REQUIRED)
# - Set installation paths
configure_project()

# Call explictly project
# Call explicitly project
project(
${MODULE_NAME}
VERSION
Expand All @@ -57,7 +57,7 @@ if(BUILD_COMPOSE_TESTS)
add_subdirectory(compose)
endif()
# NOTE: this is done explicitly and not by a CMake macro (compile_test) as other packages
# because it does not feel like reusable, so adding it to cmake_utils does not seems appropiate.
# because it does not feel like reusable, so adding it to cmake_utils does not seems appropriate.

###############################################################################
# Packaging
Expand Down
2 changes: 1 addition & 1 deletion ddsrouter_yaml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ find_package(cmake_utils REQUIRED)
# - Set installation paths
configure_project()

# Call explictly project
# Call explicitly project
project(
${MODULE_NAME}
VERSION
Expand Down
2 changes: 1 addition & 1 deletion ddsrouter_yaml/src/cpp/YamlReader_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ YamlReader::get<std::shared_ptr<participants::ParticipantConfiguration>>(
default:
// Non recheable code
throw eprosima::utils::ConfigurationException(
utils::Formatter() << "Unkown or non valid Participant kind: " << kind << ".");
utils::Formatter() << "Unknown or non valid Participant kind: " << kind << ".");
}
}

Expand Down
2 changes: 1 addition & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ find_package(cmake_utils REQUIRED)
# - Set installation paths
configure_project()

# Call explictly project
# Call explicitly project
project(
${MODULE_NAME}
VERSION
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/filewatch/FileWatch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class FileWatch
return *this;
}

// Const memeber varibles don't let me implent moves nicely, if moves are really wanted std::unique_ptr should be used and move that.
// Const member variables don't let me implement moves nicely, if moves are really wanted std::unique_ptr should be used and move that.
FileWatch<T>(
FileWatch<T>&&) = delete;
FileWatch<T>& operator =(
Expand Down
16 changes: 8 additions & 8 deletions thirdparty/optionparser/optionparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ class Option
}

/**
* @brief Returns true iff this is the first element of the linked list.
* @brief Returns true if this is the first element of the linked list.
*
* The first element in the linked list is the first option on the command line
* that has the respective Descriptor::index value.
Expand All @@ -587,7 +587,7 @@ class Option
}

/**
* @brief Returns true iff this is the last element of the linked list.
* @brief Returns true if this is the last element of the linked list.
*
* The last element in the linked list is the last option on the command line
* that has the respective Descriptor::index value.
Expand Down Expand Up @@ -1453,7 +1453,7 @@ class Parser
/**
* @internal
* @brief This is the core function that does all the parsing.
* @retval false iff an unrecoverable error occurred.
* @retval false if an unrecoverable error occurred.
*/
static bool workhorse(
bool gnu,
Expand All @@ -1467,7 +1467,7 @@ class Parser

/**
* @internal
* @brief Returns true iff @c st1 is a prefix of @c st2 and
* @brief Returns true if @c st1 is a prefix of @c st2 and
* in case @c st2 is longer than @c st1, then
* the first additional character is '='.
*
Expand Down Expand Up @@ -1497,7 +1497,7 @@ class Parser
* @internal
* @brief Like streq() but handles abbreviations.
*
* Returns true iff @c st1 and @c st2 have a common
* Returns true if @c st1 and @c st2 have a common
* prefix with the following properties:
* @li (if min > 0) its length is at least @c min characters or the same length as @c st1 (whichever is smaller).
* @li (if min <= 0) its length is the same as that of @c st1
Expand Down Expand Up @@ -1534,7 +1534,7 @@ class Parser

/**
* @internal
* @brief Returns true iff character @c ch is contained in the string @c st.
* @brief Returns true if character @c ch is contained in the string @c st.
*
* Returns @c true for @c ch==0 .
*/
Expand Down Expand Up @@ -1581,7 +1581,7 @@ struct Parser::Action
* options if they have a Descriptor whose Descriptor::check_arg does not return
* @ref ARG_ILLEGAL.
*
* Returns @c false iff a fatal error has occured and the parse should be aborted.
* Returns @c false if a fatal error has occured and the parse should be aborted.
*/
virtual bool perform(
Option&)
Expand All @@ -1595,7 +1595,7 @@ struct Parser::Action
* @param args pointer to the first remaining non-option argument (if numargs > 0).
*
* @return
* @c false iff a fatal error has occurred.
* @c false if a fatal error has occurred.
*/
virtual bool finished(
int numargs,
Expand Down
2 changes: 1 addition & 1 deletion tools/ddsrouter_tool/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ find_package(cmake_utils REQUIRED)
# - Set installation paths
configure_project()

# Call explictly project
# Call explicitly project
project(
${MODULE_NAME}
VERSION
Expand Down

0 comments on commit 990406c

Please sign in to comment.