Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Import statements in wrong order(Getting an error with the order of my import statements even though I think they're correct)
Import statements in wrong order [message #1771463] Fri, 25 August 2017 09:57 Go to next message
Paul Carron is currently offline Paul CarronFriend
Messages: 1
Registered: August 2017
Junior Member
Hi,

I get an error on my import statement saying:

Quote:
Import statement for 'java.net.URI' is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group, expecting not assigned imports on this line.


I've attached screenshots of my import statements and the xml.

As far as I can tell I have my imports in the correct order. Am I missing something?
Re: Import statements in wrong order [message #1771548 is a reply to message #1771463] Sun, 27 August 2017 16:09 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

I think we're missing what tool you're using to enforce this at all, and what it has to do with Eclipse. Eclipse's JDT doesn't care about the order just for the sake of its ordering.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Editor issues: reading text files
Next Topic:Eclipse MARS (neon)
Goto Forum:
  


Current Time: Sat Apr 20 02:22:38 GMT 2024

Powered by FUDForum. Page generated in 0.04366 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top