Hi Gary,

Le 24/10/2024 à 19:25, Gary Gregory a écrit :

No copypasta, please. I want to reduce code patterns that are duplicated
all over the place.

What do you mean by "copypasta"? Are you concerned about the maintenance cost of the 3 lines of reflection code appearing twice in Pack200UnpackerAdapter?

  Field field = FilterInputStream.class.getDeclaredField("in");
  field.setAccessible(true);
  return (InputStream) field.get(filterInputStream);

Emmanuel Bourg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to