summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-05-07 17:59:36 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-05-07 17:59:36 (GMT)
commitdfd0336f1a97e189d49e29860db1c43915aced76 (patch)
tree449f80610826267bf8d8ab1a0c8b3b3fc07f4472 /src/util.cpp
parent8480d35beef57ed08139b58972bfb83a3b37422c (diff)
downloadDoxygen-dfd0336f1a97e189d49e29860db1c43915aced76.zip
Doxygen-dfd0336f1a97e189d49e29860db1c43915aced76.tar.gz
Doxygen-dfd0336f1a97e189d49e29860db1c43915aced76.tar.bz2
Bug 765070 - Java: final keyword on a parameter brakes docs inherinance
Diffstat (limited to 'src/util.cpp')
-rwxr-xr-xsrc/util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 9899c79..6d66abd 100755
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -2981,6 +2981,8 @@ static void stripIrrelevantString(QCString &target,const QCString &str)
So the following example, show what is stripped by this routine
for const. The same is done for volatile.
+ For Java code we also strip the "final" keyword, see bug 765070.
+
\code
const T param -> T param // not relevant
const T& param -> const T& param // const needed
@@ -2993,6 +2995,7 @@ void stripIrrelevantConstVolatile(QCString &s)
//printf("stripIrrelevantConstVolatile(%s)=",s.data());
stripIrrelevantString(s,"const");
stripIrrelevantString(s,"volatile");
+ stripIrrelevantString(s,"final");
//printf("%s\n",s.data());
}