diff --git a/src/main/java/org/apache/commons/collections4/map/LRUMap.java b/src/main/java/org/apache/commons/collections4/map/LRUMap.java index 7f411cb0e..ee13d397a 100644 --- a/src/main/java/org/apache/commons/collections4/map/LRUMap.java +++ b/src/main/java/org/apache/commons/collections4/map/LRUMap.java @@ -271,8 +271,7 @@ public class LRUMap // remove if(entry.before == null) { throw new IllegalStateException("Entry.before is null." + - " Please check that your keys are immutable, and that you have used synchronization properly." + - " If so, then please report this to dev@commons.apache.org as a bug."); + " This should not occur if your keys are immutable, and you have used synchronization properly."); } entry.before.after = entry.after; entry.after.before = entry.before; @@ -283,7 +282,7 @@ public class LRUMap header.before = entry; } else if (entry == header) { throw new IllegalStateException("Can't move header to MRU" + - " (please report this to dev@commons.apache.org)"); + " This should not occur if your keys are immutable, and you have used synchronization properly."); } } @@ -334,8 +333,7 @@ public class LRUMap throw new IllegalStateException( "Entry.after=null, header.after=" + header.after + " header.before=" + header.before + " key=" + key + " value=" + value + " size=" + size + " maxSize=" + maxSize + - " Please check that your keys are immutable, and that you have used synchronization properly." + - " If so, then please report this to dev@commons.apache.org as a bug."); + " This should not occur if your keys are immutable, and you have used synchronization properly."); } } else { removeLRUEntry = removeLRU(reuse); @@ -346,9 +344,8 @@ public class LRUMap throw new IllegalStateException( "reuse=null, header.after=" + header.after + " header.before=" + header.before + " key=" + key + " value=" + value + " size=" + size + " maxSize=" + maxSize + - " Please check that your keys are immutable, and that you have used synchronization properly." + - " If so, then please report this to dev@commons.apache.org as a bug."); - } + " This should not occur if your keys are immutable, and you have used synchronization properly."); + } reuseMapping(reuse, hashIndex, hashCode, key, value); } else { super.addMapping(hashIndex, hashCode, key, value); @@ -387,8 +384,7 @@ public class LRUMap throw new IllegalStateException( "Entry.next=null, data[removeIndex]=" + data[removeIndex] + " previous=" + previous + " key=" + key + " value=" + value + " size=" + size + " maxSize=" + maxSize + - " Please check that your keys are immutable, and that you have used synchronization properly." + - " If so, then please report this to dev@commons.apache.org as a bug."); + " This should not occur if your keys are immutable, and you have used synchronization properly."); } // reuse the entry @@ -400,8 +396,7 @@ public class LRUMap throw new IllegalStateException( "NPE, entry=" + entry + " entryIsHeader=" + (entry==header) + " key=" + key + " value=" + value + " size=" + size + " maxSize=" + maxSize + - " Please check that your keys are immutable, and that you have used synchronization properly." + - " If so, then please report this to dev@commons.apache.org as a bug."); + " This should not occur if your keys are immutable, and you have used synchronization properly."); } }