Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-639

Remove file checking from ResourceCaches.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.0.0
    • 5.0.10, 6.0.0
    • ZK Loader
    • None

      Hi,

      I have found that a ContentLoader is responsible for checking the existence of the File, so this check in ResourceCaches is somehow redundant. Also, removing this line can help the ContentLoader to load file from the different location.
      (It should not be a bug, actually.)

      Here's the pull request, if you can merge the patch from Github:

      https://github.com/zkoss/zk/pull/1

            Unassigned Unassigned
            chanwit chanwit
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m