"Organize Imports" feature in Jdev10g will totally mess up my source code

I set "Use Wide Imports". The source code became a piece of junk after running "Organize Imports" against following code:
* @author
package test;
import java.io.*;
import java.util.*;
import javax.xml.parsers.*;
import org.apache.xerces.util.XMLChar;
import org.apache.xml.serialize.*;
import org.apache.xml.utils.*;
import org.w3c.dom.*;
import org.xml.sax.*;
public class Test {
This bug exists in preview version. I'm suprised this bug still in production release.

The javadoc comments is causing the behavior.
Removing the java doc comments seems to work
Bug 5006753

Similar Messages

  • Is there a way to Bulk Organize Imports?

    I love the "Organize Imports" feature in 4.7. I find myself using it quite a bit after merging branches because it's a very quick way to fix up long imports lists that got messed up as a result of refactoring in different branches. However, it is tedious because I have to do it file by agonizing file. I would _really_ like the ability to do this as a bulk operation, either by right-clicking on a project, or by selecting multiple files. Any chance a bulk "Organize Imports" is in the works? If not, does anyone know of a workaround?
    Many thanks in advance.

    I hope Apple adds some much needed features to the mail app. I heard they added landscape mode, which will be much appreciated. I wonder why the home screen doesn't go to landscape mode too when the Touch is rotated, like the Storm? Doesn't it seem logical that the home screen should rotate? Anyone? If you agree, and have a spare minute, PLEASE send Apple a product enhancement request.
    http://www.apple.com/feedback/ipodtouch.html

  • Bug in JDeveloper Remove Unused Imports feature

    Hi,
    I just detected the following funny behavior in the Remove Unused Imports feature in JDeveloper:
    Let's take the following dummy code:
    package mypackage;
    import oracle.jbo.domain.Date;
    public class MyClass {
    public MyClass() {
    oracle.jbo.domain.Date oracleDate;
    Date.getCurrentDate();
    If I'm applying Remove Unused Imports on this code, import oracle.jbo.domain.Date will be eliminated.
    Regards,
    Dan

    Hi Dan,
    This is the expected behavior. Since you have explicitly referenced the Date class by its fully qualified name in the MyClass constructor, the import is not required, and hence is unused.
    Thanks,
    Brian
    JDev Team

  • HT5367 Does anyone know if I can download this version of Java - for OS X 2012-005 - the new Java update is a total mess and it is preventing me from working... need to go back :-(

    Does anyone know if I can download this version of Java - for OS X 2012-005 - the new Java update is a total mess for me and is preventing me from working remotely...  :-( really need to go back to older Java, don't have the Time Machine set up ...  Thx

    I wonder if it's a variation of this, of which I've seen many different symptoms...
    http://km.support.apple.com/library/APPLE/APPLECARE_ALLGEOS/TS4135/TS4135_01-osx _1072-login_window-001-en.png
    Resolution
    Move the mouse or trackpad cursor over the center area of the login window so you can see the user icons. Click on the icon of the user that you would like to login as, type in the user's password, and press Return.
    If the login window is configured to show only the name and password fields, type in the user's name and password into the fields, and press Return (even if you cannot see the rest of the login window).
    Additional Information
    This issue will not occur if the display is not sleeping when the account is logged out. Use the steps below to confirm that the account is not configured to log out automatically while the display is sleeping:
    Open System Preferences > Security & Privacy > General.  Click the padlock to unlock the preference pane and enter your admin password. Click the Advanced button at the bottom, then see if the option "Log out after N minutes of inactivity" (where N is the number of minutes) is enabled.
    Open System Preferences > Energy Saver and configure Display Sleep to occur after the account is logged out, by dragging the slider to a number of minutes that is greater than N was set to in the previous step.
    Important: If automatic log out is not needed, disable "Log out after Nminutes of inactivity" in System Preferences > Security & Privacy > General. This will also prevent the issue.
    http://support.apple.com/kb/TS4135?viewlocale=en_US

  • Acrobat 9 installed on Windows 8.1; upon Save, error every time: "The Organizer Database is damaged and will be reset..."; no "Organizer90" file found (to be deleted, as www suggests for solution with XP, VIsta, 7)

    I've installed my old faithful Acrobat 9 Pro on my new Windows 8.1 computer. The program works, but every time I save the document, it tells me "The Organizer Database is damaged and will be reset. Quit the program and close all browsers." (Something close to that text.) I've entered the error online, and a solution does appear for XP, Vista, and Windows 7. It tells me to have Windows Explorer show hidden files, and then look for "Organizer90" within Users/[me]/AppData/LocalLow/Adobe/Acrobat/9.0, and then delete that file -- which will make Acrobat generate a new one. But there is no such file there. Please help with alternate solution. NOTE: When I "Check for Updates" in Acrobat, I'm told that there are no updates available at this time, but also told: "Please note that some updates for the following products cannot be determined at this time: Adobe Updater." Seems like things are out of whack.

    Thanks for help. Difficulties continue: When trying to install 9.5.5, I'm told it can't install because the program may not be on my computer, or may be the wrong version. I'm told to check that the program exists. The installed version (9.0) is totally legit, my serial numbers, etc., I've used it for many years. Automatic update seems to be on, but I downloaded Adobe Updater to be sure. Seemed to make no difference. Program does function, but not perfectly. Under "About," it calls itself 9.0, so it would not seem that auto update is taking place. Acrobat on previous machine (Windows Vista) indeed calls itself 9.5.5. (It was installed with same 9.0 package, and presumably updated itself to 9.5.5 over the years.) So summary of current problem: Acrobat 9.0 won't upgrade to 9.5.5 on Windows 8.1.

  • When Deploying SSIS Packages to SQL Server using SSMS Import feature, is the package configuration file deployed at the same time?

    Hello, everyone,
    I have an SSIS package with a XML package configuration file. I deployed it to the sql server using the import feature in SSMS (in Stored Packages, right click MSDB, select Import, select the package to deploy in file system). My question is 
    Is the XML package configuration file also deployed? If so, which folder is it stored so that I can change the values in it? If not, is setting up the Configuration tab when scheduling a agent job the way to go manually bring the configuration file in?
    Your help and information is much appreciated.
    Regards

    Thank you Arthur for your reply. I appreciate it.
    A followup questions:
    I used direct setting for the configuration file path on C:\. But it needs to be on D:\ on the remote server. I can't create the D:\ path because I don't have D:\ drive on my computer (I understand I could use indirect setting to change the path in the remote
    server. But that's not the concern here).
    My question is:  since the configuration is not deployed, can I make it up by setting up the Configurations in creating the agent job step? That is, copy the configuration file to the D:\ drive on the remote server, in Configurations tab, add the configuration
    file on D:\ to the configuration. Will it work? Will the package still look for the original config file on C:\?  and if it doesn't find it there, will it cause any error?
    Thank you in advance for your help.
    Regards

  • Organize Imports & Auto Importing/Class Lookup

    I've been working with Flex Builder 3 now for over a month. I
    love many of its features. It does so much for me in building
    AIR/ActionScript/Flex apps that there really is no other option.
    However, the "organize imports" function just doesn't work well.
    The only time it works is when declaring a new variable. If you are
    lucky enough to type perfectly, it very nicely adds imports to any
    class it finds. However, if you so much as mistype a letter, back
    up and type the class name correctly, you lose your automatic
    import. If you correctly type your class name and variable
    definition and think, "hey, I can go to the menu and choose
    Organize Imports," sadly, you are mistaken. Organize Imports does
    nothing. Sometimes it removes class imports that belong to code
    you've temporarily commented out, but it never pulls anything in.
    Further, if you access a static function from a class, that is, you
    are not declaring a variable, but simply calling a class function,
    no import at all occurs. Organize Imports doesn't work. You must go
    and type in the import yourself. It does try to help you at this
    point,but if you don't remember the exact place in the package
    structure, you must go to the docs to figure out where it is, type
    it in, and then you get function introspection. I love what Flex
    Builder does for me, but this is just lame. I used FDT for a while
    to see if that tool would work for me, but, sadly, it doesn't. It
    just doesn't give you all the power that Flex Builder does. But, I
    never have to type in my imports! Their class helper functions work
    great. I can type in a class, misspell it, retype it, and it
    catches the class. When I choose Organize Imports, it works just
    all the other Eclipse language plug-ins work. Why is this? Why am I
    expected to pay top dollars for a product that is broken in one of
    the simplest ways? Does anyone have any take on this? I can't be
    the only frustrated one... Thanks. Sorry for a pure rant, but I
    just needed to vent and wanted to know if Adobe plans to fix this
    obvious failing... Or if everyone just expects this to continue
    this way and accepts it.

    Thanks, Tanya. I posted two bugs:
    http://bugs.adobe.com/jira/browse/FB-11571
    http://bugs.adobe.com/jira/browse/FB-11572

  • PSE6.0 organizer import CR2 files results in 'no preview'

    When I import Canon CR2 files from my camera using the PSE Organizer (Windows "import with PSE6") I often get no RAW preview/thumbnails; a thumbnail is created for some of the imported RAW pictures but most of them not. When I have opened the picture (camera raw 5.3 start by double click, and close) in most cases a thumbnail is created and displayed. This shouldn't be necessary, I suppose ????
    Does someone know this bug and how to fix it?

    So, now I have to buy PSE 7? Isn't there a cheap(er) upgrade possibility? After all, it is a bug in PSE6. PSE7 costs almost as much as a 'new' / first install version, isn't it.
    I would love to have the latest version, mostly not for the new features but mainly for bug fixes and/or performance enhancements.
    Date: Sun, 6 Sep 2009 09:30:40 -0600
    From: [email protected]
    To: [email protected]
    Subject: PSE6.0 organizer import CR2 files results in 'no preview'
    The bug was fixed in PSE 7 (one of the few PSE 6 bugs that were).
    >

  • OS Lion is a total mess

    Why do Apple think its clever to upgrade their OS only to leave us all in a mess. I see pages and pages of complaints on these discussion boards.
    I upgraded only because of my email account didn't work without it. Now I have so many issues, and please don't tell me its not because of Lion.
    1- Wireless works only sporadically, I can never get on line via Safari, Email, or refresh my Podcasts, If I have my iPad (without Lion upgrade) next to me that works fine, but my MacPro takes 10 minutes of rebooting and trying to establish my wireless network, it's a total mess
    2 - Time Machine keeps failing, I have to reboot my ex HD over and over again.
    3 - Syncing my iPhone and iPad especailly photos to iPhoto constantly fails.
    For a number of years I had everything working fine, Lion comes along, and now its like working with a computer in the early 90's, full of problems.
    How can I remove Lion. I'll simply do without iCloud.

    softwater wrote:
    The issues you are experiencing ARE because of Lion - either its a corrupt install or its software conflict with something/s else on your system that is not compatible with Lion. This is evident by the fact that your system runs fine under Snow but not under Lion.
    However, solutions are available if you are willing to work towards them.
    Given the range of symptoms you reports, as I indicated above, you should try to reinstall Lion with a fresh download from the App Store because sometimes the original download is itself corrupted in some way (I learned this the hard way through personal experience).
    If that doesn't solve your problems then you need to go the lengthier road of isolating the s/w conflicts. The first step in doing that is to remove everything from here:
     > System Preferences.. > Users & Groups | Login Items
    then restart and test without firing up anything else.
    If the problems persist, create a new user account (again in  > System Preferences...> Users & Groups), log in to it, and test. If the problems are seen in that account also, then restart the mac in Safe Mode and test again.
    If after having done all this the problems remain, then post back and I or someone else will take you through the next steps.
    It's not because of Lion.
    Pete

  • Can I invoke "Organize Imports" for whole project?

    On the features page on labs.adobe.com there is a mention that Organize Imports should work for "projects". Does this mean that I can invoke this function for a whole project or do I need to do it file by file? If it should work for a whole project, how to invoke it?
    Thanks,
    Borek

    "Organize Imports" isn't available at project level.
    It has to be invoked file by file, as it not just removes unused imports but adds any missing ones, resolves ambiguous references and consolidates the import statements
    Thanks,
    Guriya

  • Latest update 3.3 only for lion users? total mess

    apple did a major step to indicate that aperture is no app for "pro"users. If it should be that it should support not only the latest system version!
    latest update 3.3 only for lion users? total mess.
    I will look for another solution. Sad.

    Hi,
    I was wondering if somebody could give me some guidance please?
    I bought an N73 in September after much research and a lot of deliberating, I decided to purchase one (via O2 in England) even though i had heard lots of unhappy people claiming the phone had ruined their life etc due to its software faults.
    I haven't updated my phone yet since buying it mainly due to being put off by the number of NEW problems the updates can cause.
    I dont have any major problems with my phone, its got a bit slower with time and the camera isnt very quick when uploading and sometimes switches off (but i think its to do with the slide mechanism on the back), anyway i would be grateful if you would give me your honest opinion as to whether i should upgrade to the latest firmware or not!
    Many Thanks
    Richie

  • Auto Import feature lacking convert to DNG and move to subfolders...

    Folks,
        As many of you may be aware, when setting up a folder for auto import, LR 3.3 does not give you the same options as you might see in the regular import functionality.  Namely, the ability to convert to RAW images to DNG on the import as well as move to subfolders is not available.  This is a real bugger for me as I have a nice new Eye-Fi Pro card that I have setup to dump all images from my camera to a "watched" folder which is then imported into LR automatically.  Unfortunately, auto import doesn't solve the issue for me, so I am back to doing the same old import routine I had done before which is tethering the camera back up via USB (or popping out the card and mounting it instead) and use the regular import feature.
        I realize a lot of the design impetus for auto import is around tethered usage, where a photographer may want to see the images as fast as possible, but why would Adobe cripple the auto import functionality deliberately.  Give the auto import the same functionality as the regular import and let the customers decide which works best for their setup.  Geez!!
    ~David

    I believe I watched a tutorial that indicated that Lightroom now downloads the raw files first and then does the conversion. This speeds up the download process and enables you to go back to my room to do other work more quickly. I cannot comment on the speed of the conversion because I don't convert to DNG. But my thoughts are that 700 raw files will take some time to convert.

  • Organize Imports does nothing

    Am I missing something obvious? The Organize Imports menu item and key shortcut flat-out don't do anything to my actionscript source. When I use the code completion feature, new imports are inserted for my completed class name. However, when I try to organize imports, it doesn't pull in imports for classes that are not yet imported (which is what that feature does over in the Eclipse JDT). Does this feature just not do the same thing as its namesake?

    You are correct. Organize imports only rearranges and removes imports, it does not add imports when they're missing. See https://bugs.adobe.com/jira/browse/FB-9309. Imports are automatically inserted when using code completion and other code generation features.
    Jason San Jose
    Software Engineer, Flash Builder

  • Help! The most important feature to me now gone?

    The most important feature to now gone? Where is the search/find text in a page gone??!!  Help!

    Spotlight Search
    1. From any Home screen page of your iPhone or iPad, drag your finger down anywhere on the Home screen.
    2. Spotlight search will now appear and you can search for apps, texts, or any other content you'd like just as you did on previous versions of iOS.

  • Most important feature addition to search

    Hi, what is the most important feature addition has been in SharePoint 2013 search?
    I know there are many points to say? But apart from the fast search integration which one is most important feature?
    Plz share your knowledge.

    None of the above answers are correct as my question was totally different.
    "What is the most important feature addition has been in SharePoint 2013 search?
    I know there are many points to say? But apart from the fast search integration which one is most important feature?
    Plz share your knowledge."
    Plz give the proper answer.

Maybe you are looking for

  • HT5934 iOS 7 problem

    I have downloaded the iOS 7 but i had many problems such: i dont receive masseges from whatsapp, kik, twitter,.... ect and it shows me a notification. Also, I cant call any body. please help me...

  • Two macs. Mail trouble

    Hello there. I use two macs, one at home and another in my office, under one apple id. Im trying to use mail.app with two mail accounts (corporate, not gmail or similar). So, i create both accounts on my office mac and it's work ok - i can receive an

  • Problems with my new printer

    I just installed my new printer HP deskjet F4400 and after the set-up, when i try and print a page,,it comes out with a page of horizontal grey lines. Any help would be appreciated.

  • JTable - Custom cell editor lossing commit

    Hello, I have a custom cell editor and a default renderer assigned to a specific cell in my table... I have the following problem : If i change the value of cell 'c1' from value 'v1' to 'v2' and press enter and go to another cell the value in 'c1' is

  • My ibook doesn't detect an existing wireless connection...please help

    Hello, just moved into a new house with wireless connection. all the other computers (PCs) can easily detect the wireless signal but my iBook doesn't. The airport is working properly since I can detect wireless connection in the university, cafes, tr