The mysterious Finalruct

Just worked through some big java code base of a client. Quite often, I would come across a method call named like this:

Finalruct? What the hell does that? My english is not perfect, but I'm pretty sure this isn't a word. Some company internal term maybe? But then, something similar popped up in a comment:
// but can be implemented without this finalructor, in this case

And suddently, I understood what happened. Do you see it?
That code has obviously been ported to java from a language like C++ or Actionscript, where there is a keyword named const. When they ported it, they simply replaced all occurrences of 'const' with the Java near equivalent 'final'. Also replacing all words within comments, functions, and similar. FinalructDatabase once obviously had the name ConstructDatabase. Funny. Also entertaining is, that this seems to happen quite a lot. Searching for the Finalruct with google, or for Finalructor reveals quite a lot of results, most in .java source code. :)

three comments, already:

clbuttic! ;-)
Someone - 11 10 12 - 13:33

Daniel - 11 10 12 - 22:07

Thank you for this blog. That’s all I can say. You most definitely have made this blog into something thats eye opening and important. You clearly know so much about.
miumiu purses (link) - 23 10 12 - 18:52

Displayed name:  
Remember personal info?
Website (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile


Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.