Github user afs commented on a diff in the pull request:

    https://github.com/apache/jena/pull/337#discussion_r159885344
  
    --- Diff: jena-base/src/main/java/org/apache/jena/atlas/lib/Pair.java ---
    @@ -37,6 +40,30 @@
         public A car() { return a ; }
         public B cdr() { return b ; }
         
    +    public static class OfSameType<T> extends Pair<T, T> {
    +
    --- End diff --
    
    It's just a suggestion from looking at the code.  With `OfSameType` a 
separate class, I'm not worried about the design.  It was coupling what looks 
to me like specific behaviour to a class that exists primarily because java 
only returns one thing from a method call.


---

Reply via email to