commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From comcol.e.wu...@spamgourmet.com
Subject [collections] TreeBidiMap$Inverse bug?
Date Thu, 03 Aug 2006 17:23:01 GMT
Around line 2042, should this code

        public Set entrySet() {
            if (entrySet == null) {
                return new EntryView(main, VALUE, INVERSEMAPENTRY);
            }
            return entrySet;
        }

be

        public Set entrySet() {
            if (entrySet == null) {
                entrySet = new EntryView(main, VALUE, INVERSEMAPENTRY);
            }
            return entrySet;
        }

so it matches keySet() and values() ?  Otherwise the entrySet member
variable is unused.

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


Mime
View raw message