summaryrefslogtreecommitdiffstats
path: root/codemaker
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/javamaker/javaoptions.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/codemaker/source/javamaker/javaoptions.cxx b/codemaker/source/javamaker/javaoptions.cxx
index 612b3d6b2d97..2d583e51ac3f 100644
--- a/codemaker/source/javamaker/javaoptions.cxx
+++ b/codemaker/source/javamaker/javaoptions.cxx
@@ -86,8 +86,7 @@ bool JavaOptions::initOptions(int ac, char* av[], bool bCmdFile)
case 'n':
if (av[i][2] != 'D' || av[i][3] != '\0')
{
- OString tmp("'-nD', please check");
- tmp += " your input '" + OString(av[i]) + "'";
+ OString tmp("'-nD', please check your input '" + OString(av[i]) + "'");
throw IllegalArgument(tmp);
}
@@ -189,8 +188,8 @@ bool JavaOptions::initOptions(int ac, char* av[], bool bCmdFile)
if (av[i][0] == '@')
{
FILE* cmdFile = fopen(av[i]+1, "r");
- if( cmdFile == nullptr )
- {
+ if( cmdFile == nullptr )
+ {
fprintf(stderr, "%s", prepareHelp().getStr());
ret = false;
} else