Skip to content

Commit 371ad5f

Browse files
author
Joel Allred
committed
Doc linting
1 parent d539940 commit 371ad5f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

jbmc/src/java_bytecode/generic_parameter_specialization_map_keys.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ void generic_parameter_specialization_map_keyst::insert_pairs_for_symbol(
147147
// - an incomplete class or
148148
// - a class that is neither generic nor implicitly generic (this
149149
// may be due to unsupported class signature)
150-
// then ignore the generic types in the struct_tag_type and do not add any pairs.
150+
// then ignore the generic types in the struct_tag_type and do not add any
151+
// pairs.
151152
// TODO TG-1996 should decide how mocking and generics should work
152153
// together. Currently an incomplete class is never marked as generic. If
153154
// this changes in TG-1996 then the condition below should be updated.

jbmc/src/java_bytecode/java_types.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -918,10 +918,10 @@ void get_dependencies_from_generic_parameters(
918918
/// This assumes that the class named \p class_name_prefix extends or implements
919919
/// the class \p type, and that \p base_ref corresponds to a generic class.
920920
/// For instance since HashMap<K,V> extends Map<K,V> we would call
921-
/// `java_generic_struct_tag_typet(struct_tag_typet("Map"), "Ljava/util/Map<TK;TV;>;",
922-
/// "java.util.HashMap")` which generates a symbol type with identifier "Map",
923-
/// and two generic types with identifier "java.util.HashMap::K" and
924-
/// "java.util.HashMap::V" respectively.
921+
/// `java_generic_struct_tag_typet(struct_tag_typet("Map"),
922+
/// "Ljava/util/Map<TK;TV;>;", "java.util.HashMap")` which generates a symbol
923+
/// type with identifier "Map", and two generic types with identifier
924+
/// "java.util.HashMap::K" and "java.util.HashMap::V" respectively.
925925
java_generic_struct_tag_typet::java_generic_struct_tag_typet(
926926
const struct_tag_typet &type,
927927
const std::string &base_ref,

0 commit comments

Comments
 (0)