Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1230

ContainerPriority.hasLocation does not working properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Slider 0.92
    • None
    • None
    • None

    Description

      ContainerPriority.hasLocation

      public static boolean hasLocation(int priority) {
        return (priority ^ NOLOCATION ) == 0;
      }
      

      it will be always false.

      1. priority that is set NOLOCATION bit
      priority 1000000000000000000000000000001
      NOLOCATION 1000000000000000000000000000000
      priority ^ NOLOCATION = 1

      2. prority that is not set NOLOCATION bit
      priority 1
      NOLOCATION 1000000000000000000000000000000
      priority ^ NOLOCATION = 1000000000000000000000000000001

      it is pointed out in SLIDER-1051 comments.
      but, it has not been fixed yet.

      Attachments

        1. SLIDER-1230.001.patch
          3 kB
          kyungwan nam

        Activity

          People

            Unassigned Unassigned
            kyungwan nam kyungwan nam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: