Skip to content

Commit

Permalink
Bug 765070 - Java: final keyword on a parameter brakes docs inherinance
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed May 7, 2016
1 parent 8480d35 commit dfd0336
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/util.cpp
Expand Up @@ -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
Expand All @@ -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());
}

Expand Down

0 comments on commit dfd0336

Please sign in to comment.