Skip to content

rename add_throws_exceptions #4624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jbmc/src/java_bytecode/java_bytecode_convert_method.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ void java_bytecode_convert_methodt::convert(
method_symbol.location.set_function(method_identifier);

for(const auto &exception_name : m.throws_exception_table)
method_type.add_throws_exceptions(exception_name);
method_type.add_throws_exception(exception_name);

const std::string signature_string = pretty_signature(method_type);

Expand Down
2 changes: 1 addition & 1 deletion jbmc/src/java_bytecode/java_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class java_method_typet : public code_typet
return exceptions;
}

void add_throws_exceptions(irep_idt exception)
void add_throws_exception(irep_idt exception)
{
add(ID_exceptions_thrown_list).get_sub().push_back(irept(exception));
}
Expand Down