code: public static short optShort(@Nullable Bundle bundle, @Nullable String key) {
          return optShort(bundle, key, (short) 0);
      }
docs: Returns a optional short value. In other words, returns the value mapped by key if it exists and is a short.
  The bundle argument is allowed to be {@code null}. If the bundle is null, this method returns (short) 0.
  @param bundle a bundle. If the bundle is null, this method will return (short) 0.
  @param key a key for the value.
  @return a short value if exists, (short) 0 otherwise.
  @see android.os.Bundle#getShort(String)