[svn] 3127: Updating asdoc to replace the avmplus call with new set of java files.

Revision: 3127
Author: [email protected]
Date: 2008-09-05 14:16:53 -0700 (Fri, 05 Sep 2008)
Log Message:
Updating asdoc to replace the avmplus call with new set of java files.
Removing all files related to asdochelper.
QA: Yes, also please test on non windows platform.
Doc:
Tests: checkintests, asdoc
Reviewed by: Pete Farland
Modified Paths:
flex/sdk/trunk/asdoc/templates/ASDoc_Config_Base.xml
flex/sdk/trunk/asdoc/templates/asdoc-util.xslt
flex/sdk/trunk/modules/compiler/build.xml
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
Added Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsClass.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocHelper.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/QualifiedNameInfo.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/SortComparator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va
Removed Paths:
flex/sdk/trunk/asdoc/templates/asDocHelper
flex/sdk/trunk/asdoc/templates/asDocHelper.linux
flex/sdk/trunk/modules/compiler/asdoc/

I had a generic record class that has a HashMap to hold the data fields (...)
method called createRecord() for each record type which would populate the HashMap with the correct data fieldsI'm not sure I understand: are the contents of this field map the same between two records of the same type? Then yes, you don't need to clone the map per record instance.
one thing that needs fixing is the fact that each time the createRecord() method is called I'm creating a new fieldMap to define the dataFields in the record class.Probably, but that will only get you a little bigger files; you won't gain an order of magnitude on the size of files. The problem for huge files is that as soon as their content is bigger than the available memory, you'll run into problems. A more radical approach if you need to address huge files is to process the records on the fly, and not load all records in memory. Of course not all algorithms or business logic can afford that...
I know I could rewrite the code and create a class for each record type and declare the fieldMap static but I was wondering if anyone had any better suggestions The Record instance could receive and keep a reference to its RecordType instance, and ask the RecordType instance the DataType for a field's name. That way the RecordType encapsulates the map, and there's less risk that a clumsy other class modifies the static map.
before I go rewriting a load of code.A load of code?!? Even with the idea of the static map, you only have to edit the enum type (well more accurately, each RecordType enumerated constant's createRecord() method).

Similar Messages

  • Replacing the old value with new value on the website

    Hi ,
    I have two input fields CLIN # and PR#.When i enter the text,for the first it is working fine,second time when i enter it is replacing the value which i enter with the first one.I should not replace the old value.
    ex:
    Example when i enter test5 for the first time
    CLIN # :Test 5
    Next when i enter Test6 ,this value replaces the first one
    CLIN#: Test6
    CLIN#:Test6(there is no test5)
    I am doing for my istore application.Any ideas

    As the user that created the anonymous block ruun:
    select count(*) from general_acct_mast_table;
    and
    select tbaadm.count(*) from general_acct_mast_table;I strongly suspect that they are actually two different tables, and the tbaadm version is substantially larger that the non-qualified one.
    In any case I would not be doing this as a row-by-row procedure. I would create two lookup tables like:
    create table masked_general as
    select acid, foracid, round(dbms_random.value(81000000,85000000)) masked
    from (select distinct acid, foracid
          from general_acct_mast_table
          where acct_ownership not in ('O'));
    create table masked_stmnt as
    select * from masked_general;
    alter table masked_general add constraint masked_general_pk
       primary key (acid);
    alter table masked_stmnt add constraint masked_stmnt_pk
       primary key (foracid);Then do the updates as:
    update (select g.foracid, g.acid, gm.masked
            from general_acct_mast_table g
               join masked_general gm
                  on g.acid = gm.acid)
    set foracid = masked;
    update (select s.foracid, sm.masked
            from mini_stmnt_details_table s
               join masked_stmnt sm
                  on s.foracid = sm.acid)
    set foracid = masked;Note that this assumes that both acid and foracid are individually unique in general_acct_mast_table, which seems to be implied by your procedure, and that you want to be able to roll the whole thing back if there are problems (that is, you do not want to commit between the update of general_acct_mast_table and mini_stmnt_details_table).
    I would also probably a a verification step after creating the first masked table to ensire that you did get unique vluaes back fo the masked column.
    John

  • Downloaded 4.o firefox, my mac even tho it is osx,is not compatible,replaced the older version with new...now new won't run, old is gone.. want my older version back,bookmarks,etc...how can i restore ,or at least download the 3.6 i had before?

    have tried to recover files from hard drive,folders..etc...figuring the older version must be somewhere on my computer....but i haven't been able to locate it,or successfully download my old version

    Firefox 4 requires at least OS X 10.5 and an Intel Mac.
    * http://www.mozilla.com/firefox/4.0/system-requirements/
    You can look at:
    * http://www.floodgap.com/software/tenfourfox/
    Firefox 3.6.x can be found here:
    * http://www.mozilla.com/en-US/firefox/all-older.html

  • 10.6.8 software update won't reboot. It replaces the Apple logo with a circle with a diagonal line though it. What's the best course of action from here?

    I used software update last night and my iMac didn't restart afterwards. I spun the little "dashed" wheel for a bit and then replaced the Apple Logo with a slashed circle symbol. I"ve tried several fixes without success and would like to know what my best approach might be.
    I've tried to boot into single user mode but that failed the same as above. I've tried disk verify and repair permissions using Disk Utility, again without success in fixing the problem.

    com.apple.iokiast.IOUSBMassStorageClass
    is a Apple kext file and likely necessary.
    What you can do is backup your Users folders to another external drive (not TimeMachine) first so you have your files outside of TM. Disconnect this drive for safety reasons.
    Then hold c and boot off the OS X 10.6 installer disk and simply reinstall OS X on top of the installed version, then use the 10.6.8 Combo Update here
    http://support.apple.com/kb/DL1399
    That should replace the troubled kext file with a fresh version.
    This shouldn't bother your files or third party programs unless they have kext files or other "hooks" into OS X, if these programs fail, then just reinstall them from fresh sources and/or update to reinstall their missing parts.
    Consider cloning your boot drive to a external HFS+ journaled formatted drive with Carbon Copy Cloner.

  • I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the bad template with a blank.

    I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the unwanted template with a blank. It was previously possible to go to MY TEMPLATES and remove the unwanted templates. I don't if this issue is before or since installation of 10.8 (a nightmare in my case, which led to significant failure issues).  And because I haven't tried to remove templates since finally managing to install 10.8 (now at 10.8.4), I don't know if this is typical of the newer OS or a problem. I've been a Mac user for more than 25 years, but I think I'm nearing the end of the road. By the way, I've never needed to do this before because the manuals always offered an answer... they don't seem to do that anymore. In any case, I don't know how this works... I'd prefer an email reply if that's possible. But that would probably be too easy, and I don't know how to get a reply.

    Thanks, I appreciate the help.  I think this is one of the problems Apple is creating by changing the OS so often. I had fomer colleagues at [a major aerospace contractor] who told me that so many original files were ultimately lost because of the deadly change in the "Save As" operation that they are now afraid of every OS update. Apple has badly damaged their support base with that very prominent company (they won't update now until they've fully examined and understand changes in the pre-conditioned nature of OS computer functions), and they are a whole lot less enthaled with Mac-related equipment/software. Can't blame them, I too used orginal files that way (as easy-to-use templates), and lost some important files before I realized what was happening (to late to revert). Companies should not have to retrain employees each time an OS gets an update, it's can be very expensive several different ways. They learned a painful lesson with that one. And because I'm now retired and don't use multiple devices, I need iCloud like I need a hole in the head... but I'm told there's no way to keep Apple out of my computer. Fortunately, because of major problems when initially installing Mountain Lion, one hold-over of the hardware/software damage I experienced was that iCloud can no longer access my computer even though everything else is working fine again. That was the only "good luck" I had as a result of that expensive nightmare.

  • Just replaced my iphone 4 with new 4.  restore from icloud is hung on an app I no longer use (password probably expired) how can i get the restore to move on to the next app

    just replaced my iphone 4 with new 4.  restore from icloud is hung on an app I no longer use (password probably expired) how can i get the restore to move on to the next app

    Read another post in the forum about this and it appears this app also installs a profile with a proxy service that you will have to try and delete as well. Check that out.

  • I had a problem with the hard disk on a 2010 macbook pro. Replaced the hard disk with an Hitachi 1TB and when I tried to erase and format It fails with input/output error. Any help much appreciated!

    I had a problem with the hard disk on a 13" 2010 macbook pro. Replaced the hard disk with an Hitachi 1TB disk but when I tried to erase and format, it fails with input/output error and at other times saying unable to allocate memory. Any help much appreciated!

    Zap the PRAM and Reset the SMC, then try again.

  • (2011 13" Macbook Pro Model 8,1) I want to replace my 320GB HDD and replace it with a 6gb/s 120GB SSD. I also want to replace the optical drive with a 7200RPM HDD 750GB.

    I want to use:
    The SSD and enclosure to replace the optical drive with the new HDD
    So basically, I want to use the SSD in the link above. I want to set this up as either preferrably a fusion drive. If not the smoothest most stable configuration. I have a Macbook Pro Early 2011 13" with 8 GB of ram, 2.3 GHz Intel Core i5, 320GB HDD.
    I want to install the SSD directly to the SATA port where the 320 GB HDD is currently. I then want to install the new HDD, preferrably a name brand 750 GB 7200RPM hard drive where the optical drive is now. I want the storage to work in a way in which the OS, and my most used programs and files get stored on the SSD, and everything else gets stored on the larger hard drive. My most preferred method would be Fusion drive, or a SPAN drive.
    I would like to use a Seagate Momentus XT, but I learned that there might be issues with compatability with this. I dont mind using the 3 gb/s 500GB option, but would like to know if it would even be smart to do it. I also have no problem settling for a regular 7200 RPM hard drive.
    I have read a bunch of stuff online but I still am not sure if this is even possible. I want my machine to run as fluid as possible so any info would be appreciated.

    bump

  • How to replace the Losing fonts with scrip in photoshop,by script

    Frequently,I Receive some PSD files, It is did by Other people.
    When I open it with my computer,I find it missed a lot of fonts.
    Some times,I have this fonts, but the name is not  like with the fonts of the PSD file.
    So,I need to replae the Losing fonts, but it  always have a lot, It wast my much times.
    In Indesign, it is Very easy~~
    Could you help me Achieve it by scrip in Photoshop?
    Thank you very much

    Hi Sridhar,
    I would like to Replace the Charecter values with numeric value in my string.
    Exp : first in my string I am having the value like this : 'ABCD1234' ( may be any char and num values ), and I want too get it by '99991234'.
    So, if i understand you correctly, you want to replace all characters in a string with 9 as in the above example, irrespective of position of the character, if so try with the below code.
    DATA: l_str TYPE string.
    l_str = 'ASKHSIUDNSBDKJSDH124312431243124saasdfsf'.
    REPLACE ALL OCCURRENCES OF REGEX '\D' IN l_str WITH '9'.
    IF sy-subrc EQ 0.
      WRITE: l_str. "Result will be 9999999999999999912431243124312499999999
    ENDIF.
    Regards,
    Chen
    Edited by: Chen K V on Jun 13, 2011 12:36 PM

  • Replace the Glossy Screen with the Matte Screen on a 2008 Macbook Pro?

    Can you replace the Glossy Screen with the Matte Screen on a 2008 Macbook Pro?
    Where would I get a Matte Screen for a reasonable price if I could change it?

    There are a number of issues you should consider before embarking on this project.
    1. If you have a late-2008 unibody MBP, you are undoubtedly aware that there was never any anti-glare option offered for that machine. So there is no anti-glare display that was made to work with it.
    2. If you choose to replace only the LCD panel and not the entire display assembly — which is probably feasible but involves a great deal of painstaking work — you will also need to buy (separately) the aluminum bezel that takes the place of the glossy cover glass panel in models that came equipped with the nonglare screen. The bezel covers and protects the edges of the LCD and the delicate electronic connections there, and hides all that from view.
    3. If you go that route, you will have to make sure that the cabling related to the display you are installing is identical to the cabling related to your original display. This means checking to make sure the cable lengths, connectors and routing both within the display assembly and hinge cover and within the lower case of the computer are all the same.
    4. If you choose to replace the entire display assembly with one that contains a nonglare LCD, you will have the entire, intact glossy display assembly available to sell afterward. If you replace only the LCD panel, the LCD and glass cover panel that you remove will have much less resale value and are likely to be much harder to sell at all, because you won't practically be able to offer any warranty with them and because there are probably far fewer people willing to tackle the fussy, risky display disassembly process than are willing to replace the whole assembly as a unit.
    5. Even if you choose to replace the entire assembly, you will need to verify that the cables dangling from the replacement display assembly are the right lengths and have the right connectors to tie into your lower case properly. Because the assembly will have come from a later MBP model than yours, cable routing and connectors may have changed from one to the other.
    If this all sounds more daunting than you were expecting, you may want to consider just applying a nonglare film to the glass covering your present screen. If you aren't happy with the results, you can fall back on the replacement option.

  • I have down loaded a track which was initially missing 1min 30 seconds. iTunes enabled my to reload the rack which is complete on the PC. However, syncing with my Ipad2 does not seem to replace the incomplete version with the full version. Thanks S

    I have down loaded a track which was initially missing 1min 30 seconds. iTunes enabled me to reload the rack which is now complete on the PC. However, syncing with my Ipad2 does not seem to replace the incomplete version with the full version.  Can anyone out there help?
    Thanks S

    Thanks for the response. Unfortunately, I've un-checked the track and re-synced the Ipad as suggested, but then re-checking and re-syncing han no effect. The track is still missing the final minute and a half or so. I've tried it twice, but the effect is the same.
    Any other ideas? Would un-checking the entire music collection and staring again work, or is that a road to disaster?

  • Is there any way to to have the "Home" icon open a new tab instead of replacing the current page with the home page?

    I would prefer that the "Home" icon on the Navigation Toolbar open a new tab instead of replacing the current tab with the home page. Is there any way to accomplish this?
    Thank you.

    If you middle-click on the home icon it will open a new tab containing the home page.

  • Error when I replaced  the DOM parcer with JAXP

    I replaced the DOM parcer with JAXP ....
    We moved from DOM parcer �import org.apache.xerces.parsers.DOMParser;� to JAXP.
    Here is my code:
    // Step 1: create a DocumentBuilderFactory and setNamespaceAware
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    // Step 2: create a DocumentBuilder
      DocumentBuilder db = dbf.newDocumentBuilder();
    // Step 3: parse the input file to get a Document object
    Document doc = db.parse(location);
      root = doc.getDocumentElement();
      root.normalize();
    AND when we run stress test after a while we start getting error
    java.lang.NullPointerException
    at org.apache.xerces.dom.DeepNodeListImpl.nextMatchingElementAfter(Unknown Source)
    at org.apache.xerces.dom.DeepNodeListImpl.item(Unknown Source)
    at org.apache.xerces.dom.DeepNodeListImpl.getLength(Unknown Source)
    at com.xxx.yyy.WfStartTasksXmlDAO.getActionPerformed(Unknown Source)
    at com.xxx.yyy.WfStartTasksXmlDAO.getAction(Unknown Source)
    - Any idea why we are getting this error. Is this server (Linux) problem? or JAXP?
    Message was edited by:
    TamerBasha

    This is happening because JAXP is not thread safe. need to synchronize bracket or use thread safe parser.

  • Opening a new tab in safari opens an untitled tab while replacing the existing tab with top sites

    When I open a new tab in safari, it opens an untitled tab while replacing the existing tab with top. Then if I have other tabs open, the website url of the page I was on before I opened the untitled tab freezes and is shown on each other tab.
    How can i fix this problem? It is starting to occur with increasing frequency.

    I had the same problem and I suspect you are using Glims. I uninstalled Glims and voila, problem gone. I reinstalled Glims and the problem returned.
    Link to Glims uninstaller for those who have this problem http://www.MacHangout.com/dwnlds/Glims-UnInstall.dmg.zip
    I'll report the bug and hope they fix it soon, I like Glims.

  • HT1414 shall i update my software update in Any of the Apple showroom with free of cost?

    shall i update my software update in Any of the Apple showroom with free of cost?

    Most Apple Stores have free Wi-Fi so yes you can update your apps.

Maybe you are looking for

  • Mini dvi to vga wont fit

    just bought the cable but it doesent seem to plug in maybe theres a different cable

  • [SOLVED] Archiso: problem with script build.sh

    Hi guys, i have this problem when I run ./build.sh, cp: cannot create hard link ‘work/root-image/usr/src/linux-3.11.6-1-ARCH/vmlinux’ to ‘work/i686/root-image/usr/src/linux-3.11.6-1-ARCH/vmlinux’: Invalid cross-device link cp: cannot create hard link

  • Oracle portal 3.0.8

    Oracle portal 3.0.8 when? thanks [email protected] sr. systems analyst Sultan Qaboos University CIS dept.

  • Problem Using 420EX stobe with Canon 1Ds

    I am trying to use my 420EX mounted on my 1Ds camera.  The camera triggers the flash but the pictures are dark or the flash has no effect on the exposure.  I used normal and high speed sync but nothing helps.  The flash works fine with other cameras,

  • Can't install flash 10.3 in IE/Firefox

    Hi, I'm trying to install flash 10.3 in IE 8/Firefox 3.6 and both give an error: "A required file (c:\windows\system32\macromed\flash\flashutil10v_activex.exe:5) could not be written due to insufficient permissions." Help is needed... Thanks in advan