Changeset 336 for trunk/src/org/expeditee/gui/FrameIO.java
- Timestamp:
- 09/26/08 13:03:26 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/FrameIO.java
r311 r336 180 180 String fullPath = FrameIO.getFrameFullPathName(PUBLIC_PATH, frameName); 181 181 182 if (fullPath == null)182 if (fullPath == null) 183 183 return null; 184 184 185 185 File frameFile = new File(fullPath); 186 186 if (frameFile.exists() && frameFile.canRead()) { … … 209 209 } 210 210 } 211 211 212 212 if (loaded == null && FrameShare.getInstance() != null) { 213 213 loaded = FrameShare.getInstance().loadFrame(framename, knownPath); … … 359 359 360 360 // do not put 0 frames or virtual frames into the cache 361 // Why are zero frames not put in the cache 361 362 if (_Cache.size() > MAX_CACHE) 362 363 _Cache.clear(); … … 601 602 602 603 // 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 604 616 String zeroFrameName = frameset + "0"; 605 617 Frame destFramesetZero = LoadFrame(zeroFrameName);
Note:
See TracChangeset
for help on using the changeset viewer.