Skip to main content
1 of 5
geisterfurz007
  • 5.8k
  • 10
  • 15

How big is the scope for duplicates?

This question has been dupe-hammered by Jens a few minutes ago.

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.

These have nothing in common with each other if you take a look at it.

Jens argument for the dupe vote is one line in the code which is not at all the primary question:

if(LetterString == PressedKey){ Which is how OP of the linked question tries to compare the Strings. Which is currently not even relevant because LetterString does not contain the updated value (which is what the question really is about).

My question: Is that a reason for a close vote/hammer? Is the scope to close something as duplicate THAT big?

Below is a conversation between Jens and me in the comments (if they are removed/moved to chat):

Conversation

EDIT: It is reopened again; question still persists though :)

geisterfurz007
  • 5.8k
  • 10
  • 15