cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f545472fe8
commit
e5d5b16033
1 changed files with 2 additions and 2 deletions
|
|
@ -1500,7 +1500,7 @@ class JAVA : public Language {
|
||||||
}
|
}
|
||||||
else if (Strcmp(code,"shadowclassmodifiers") == 0) {
|
else if (Strcmp(code,"shadowclassmodifiers") == 0) {
|
||||||
Printf(stderr,"%s : Line %d. Ignored: Deprecated pragma. Please use %typemap(javaclassmodifiers).\n", input_file, line_number);
|
Printf(stderr,"%s : Line %d. Ignored: Deprecated pragma. Please use %typemap(javaclassmodifiers).\n", input_file, line_number);
|
||||||
} else {
|
} else {
|
||||||
Printf(stderr,"%s : Line %d. Unrecognized pragma.\n", input_file, line_number);
|
Printf(stderr,"%s : Line %d. Unrecognized pragma.\n", input_file, line_number);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -3460,7 +3460,7 @@ class JAVA : public Language {
|
||||||
Delete(class_desc);
|
Delete(class_desc);
|
||||||
|
|
||||||
/* Terminate wrapper code */
|
/* Terminate wrapper code */
|
||||||
Printf(w->code, "} else {\n");
|
Printf(w->code, "} else {\n");
|
||||||
Printf(w->code, "SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, \"null upcall object\");\n");
|
Printf(w->code, "SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, \"null upcall object\");\n");
|
||||||
Printf(w->code, "}\n");
|
Printf(w->code, "}\n");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue