Skip to main content



      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 05:57 Go to next message
Eclipse UserFriend
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 12:09 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Editor issues: reading text files
Next Topic:Eclipse MARS (neon)
Goto Forum:
  


Current Time: Thu Jul 10 03:59:04 EDT 2025

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

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

Back to the top