code: private boolean hasChanged( int[] oldValue, int[] newValue ) {
          if( oldValue.length == newValue.length ) {
              for( int i = 0; i < newValue.length; i++ ) {
                  if( oldValue[i] != newValue[i] ) {
                      return true;
                  }
              }
              return false;
          }
          return true;
      }
docs: See if two arrays are different.