Skip to content
Closed
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
7 changes: 7 additions & 0 deletions tests/cicd/generate_docstring/java_test_file.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ class Test {
* @return The sum of the two input integers
*/

/**
* Sums up two integers and returns the result.
*
* @param a The first integer to be added
* @param b The second integer to be added
* @return The sum of the two input integers
*/
public static int a_plus_b(Integer a, Integer b) {
return a + b;
}
Expand Down
5 changes: 5 additions & 0 deletions tests/cicd/generate_docstring/js_test_file.py.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ const sqlite = (db, query, callback) => {
* @returns {undefined} This method doesn't return a value
*/

/**
* Serializes the database operation by running the provided function within a transaction.
* @param {Function} callback - The function to be executed within the transaction.
* @returns {void}
*/
db.serialize(function () {
db.each(query, callback);
});
Expand Down