[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: org.xml.sax.ContentHandler conflicts with java.net.ContentHan dler
:I'm not sure I understand the objections to this style. Certainly :it's prevalent. I used the single class import in my first book, but :went back to import java.net.* after that to save space and time. That's different. A compressed style is good for a book. :Even accepting that "import java.net.*" is bad form, doesn't absolve :us of the responsibility to avoid the problem in the first place. The problem *is* avoided by not using wildcard imports. Java.net has thirty something names, what's the justification for importing them all? Suggestion. Retain the name and document the potential conflict in the interface. -Bill *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/threads.html ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|