diff --git a/Source/Modules/java.cxx b/Source/Modules/java.cxx index 18e6cb71c..a2687ab6e 100644 --- a/Source/Modules/java.cxx +++ b/Source/Modules/java.cxx @@ -2556,7 +2556,7 @@ public: } generateThrowsClause(n, function_code); - Printf(function_code, " %s\n\n", tm ? (const String *) tm : empty_string); + Printf(function_code, " %s\n\n", tm ? tm : empty_string); Printv(proxy_class_code, function_code, NIL); Delete(pre_code); @@ -3032,7 +3032,7 @@ public: } generateThrowsClause(n, function_code); - Printf(function_code, " %s\n\n", tm ? (const String *) tm : empty_string); + Printf(function_code, " %s\n\n", tm ? tm : empty_string); Printv(module_class_code, function_code, NIL); Delete(pre_code);