using the Language::abstractTestClass, since now it also considers the director case, and is more complete
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
075611fad0
commit
288f1dc402
1 changed files with 8 additions and 2 deletions
|
|
@ -3620,8 +3620,14 @@ class JAVA : public Language {
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
virtual int abstractClassTest(Node *n) {
|
virtual int abstractClassTest(Node *n) {
|
||||||
if (!Cmp(Getattr(n, "feature:director"), "1"))
|
/*
|
||||||
return 0;
|
This is not needed anymore, since Language::abstractClassTest
|
||||||
|
implements now a test considering the director case, which can
|
||||||
|
be abstract.
|
||||||
|
|
||||||
|
if (!Cmp(Getattr(n, "feature:director"), "1"))
|
||||||
|
return 0;
|
||||||
|
*/
|
||||||
return Language::abstractClassTest(n);
|
return Language::abstractClassTest(n);
|
||||||
}
|
}
|
||||||
}; /* class JAVA */
|
}; /* class JAVA */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue