Skip to content

Wrong call detected on Date.parse(String, String) #372

@mauromol

Description

@mauromol

Consider the following:

class TestDateParse {
	static main(args) {
		Date.parse('dd/MM/y', "16/09/1980")
	}
}

As you can see, Greclipse is highlighting the call as deprecated, but if you use F2 or F3 over parse you see that this is because it's thinking it's calling Date.parse(String) rather than Date.parse(String, String) (which is not deprecated).

This is a regression, because the exact same problem was fixed already in the past with GRECLIPSE-1396.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions