A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Changing the Import statement refer to same class name in different package
Joined: Nov 04, 2010
Jul 03, 2012 14:02:15
I have two classes with same name in different packages. I am referring to one of those in my classes but I need to change the import to other one. Is there a quick way to change the import statements in all my classes other than changing manually.
Dhaval J. Patel
Joined: Mar 10, 2011
Jul 03, 2012 14:33:26
Not unless you are using an IDE. You can do a search and replace.
I agree. Here's the link:
subject: Changing the Import statement refer to same class name in different package
Import or inline?
Concearn about classloading in a "Seti@Home" kind of setup
question about java import
Class is Thread-Safe or not?
workaround for fully qualified class names?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014