Ignore:
Timestamp:
09/26/08 13:03:26 (16 years ago)
Author:
ra33
Message:

Fixed minor bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/FrameIO.java

    r311 r336  
    180180                String fullPath = FrameIO.getFrameFullPathName(PUBLIC_PATH, frameName);
    181181
    182                 if(fullPath == null)
     182                if (fullPath == null)
    183183                        return null;
    184                
     184
    185185                File frameFile = new File(fullPath);
    186186                if (frameFile.exists() && frameFile.canRead()) {
     
    209209                        }
    210210                }
    211                
     211
    212212                if (loaded == null && FrameShare.getInstance() != null) {
    213213                        loaded = FrameShare.getInstance().loadFrame(framename, knownPath);
     
    359359
    360360                        // do not put 0 frames or virtual frames into the cache
     361                        // Why are zero frames not put in the cache
    361362                        if (_Cache.size() > MAX_CACHE)
    362363                                _Cache.clear();
     
    601602
    602603                // disable caching of 0 frames
    603                 SuspendCache();
     604                // Mike says: Why is caching of 0 frames being disabled?
     605                /*
     606                 * Especially since 0 frames are not event put into the cache in the
     607                 * frist place
     608                 */
     609                // SuspendCache();
     610                /*
     611                 * Suspending the cache causes infinate loops when trying to load a zero
     612                 * frame which has a ao which contains an v or av which contains a link
     613                 * to the ao frame
     614                 */
     615
    604616                String zeroFrameName = frameset + "0";
    605617                Frame destFramesetZero = LoadFrame(zeroFrameName);
Note: See TracChangeset for help on using the changeset viewer.