[This question](https://stackoverflow.com/questions/47070935/java-get-a-randomly-generated-string-from-one-method-to-another) has been dupe-hammered by Jens earlier today. It has been reopened (and reclosed) since; but my question about the validity of dupe votes remains. 

Quick summary of the question: OP generates a String in one method and wants to make it accessible to another.

Quick summary of the dupe link: OP asks how to compare Strings in Java.

I believe these two have nothing in common with each other.

Jens argument for the dupe vote is based on one line in the code which I believe is not at main point of the question:

`if(LetterString == PressedKey){`

Which is how OP of the linked question tries to compare the Strings. Besides, that is not even currently relevant because `LetterString` does not contain the updated value (which is what the question really is about).

My question: Is that a good enough reason for a close vote/hammer? Is the degree of similarity that small to cast a duplicate vote?

Below is the conversation Jens and me had in the comments regarding this (in case they are removed/moved to chat):

> 
> [![Conversation](https://i.stack.imgur.com/Zvag5.jpg)](https://i.stack.imgur.com/Zvag5.jpg)
> 
> 
>