code: public static short[] toPrimitive(Short[] array) {
          if (array == null) {
              return null;
          } else if (array.length == 0) {
              return EMPTY_SHORT_ARRAY;
          }
          final short[] result = new short[array.length];
          for (int i = 0; i < array.length; i++) {
              result[i] = array[i];
          }
          return result;
      }
docs: <p>Converts an array of object Shorts to primitives.</p>
  <p>
  <p>This method returns <code>null</code> for a <code>null</code> input array.</p>
  
  @param array a <code>Short</code> array, may be <code>null</code>
  @return a <code>byte</code> array, <code>null</code> if null array input
  @throws NullPointerException if array content is <code>null</code>