Skip to content

Commit bd1edfc

Browse files
committed
Instead of writing 'no usage found', usage returns an empty string when not found.
1 parent 48336d6 commit bd1edfc

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

-21 Bytes
Binary file not shown.

java_generate/ReferenceGenerator/src/writers/BaseWriter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ protected static String getUsage(ProgramElementDoc doc){
433433
if(tags.length != 0){
434434
return tags[0].text();
435435
}
436-
return "No usage found";
436+
// return empty string if no usage is found
437+
return "";
437438
}
438439

439440
protected static String getInstanceName(ProgramElementDoc doc){

0 commit comments

Comments
 (0)