Permalink
Browse files

Bug 765070 - Java: final keyword on a parameter brakes docs inherinance

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed May 7, 2016
1 parent 8480d35 commit dfd0336f1a97e189d49e29860db1c43915aced76
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/util.cpp
View
@@ -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());
}

0 comments on commit dfd0336

Please sign in to comment.