ArneBab/plugin-WoT-staging — comment on commit f70c2d0a36586b2efdffb1a09188367ef7163394
File: src/plugins/WebOfTrust/ui/fcp/FCPInterface.java line 561
By xor-freenet:

This compares the object identity of the nameType pointer and the "Nickname" constant string.
In other word, it checks whether the nameType String pointer points to the same object as the "Nickname" constant is.
So it will return false even when nameType IS the text "Nickname".

What you want to do is if("Nickname".equals(nameType))
Also, notice that calling the equals upon the "Nickname"-string-constant prevents NullPointerExceptions - nameType.equals() could throw an NPE if nameType was null, constants are never null because you defined them.