Why does the error say duplicates step definitions when its not

Continuing the discussion from Duplicate step definition when they are actually different methods:

This is the methods I have

HMDA_Transmittal_Apply Filter{
def ToLogIn() {
@Given(“I am logged into HMDA Transmittal with email and password”)
def ToLogIn() {

	WebUI.openBrowser('')
	WebUI.navigateToUrl(GlobalVariable.URL)
	/
}

}

THE OTHER ONE IS

class HMDA_Transmittal_Exclude_Smoke {

//Call login steps in feature 03 environment
@Given("I am logged into HMDA Transmittal with email and password")
def **navigateToLogInPage**() {

	WebUI.openBrowser('')
	WebUI.navigateToUrl(GlobalVariable.URL)

}

The codes in your post have a lot of curious stuff. They look syntactically wrong. Wrong code will result in errors of course. However I guess that you failed to present your code correctly in the post.

Please use the Code Formatting syntax to present your codes correctly.