From 295d16572e22312399daef0cdd77c376be80066f Mon Sep 17 00:00:00 2001 From: asivache Date: Tue, 29 Dec 2009 22:00:03 +0000 Subject: [PATCH] synch; will go back to archive in a sec git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2477 348d0f76-0448-11de-a6fe-93d51630548a --- .../src/org/broadinstitute/sting/utils}/CountedObject.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename {archive/java/src/org/broadinstitute/sting/oldindels => java/src/org/broadinstitute/sting/utils}/CountedObject.java (93%) diff --git a/archive/java/src/org/broadinstitute/sting/oldindels/CountedObject.java b/java/src/org/broadinstitute/sting/utils/CountedObject.java similarity index 93% rename from archive/java/src/org/broadinstitute/sting/oldindels/CountedObject.java rename to java/src/org/broadinstitute/sting/utils/CountedObject.java index 632c4bff5..d2f7ffc5f 100755 --- a/archive/java/src/org/broadinstitute/sting/oldindels/CountedObject.java +++ b/java/src/org/broadinstitute/sting/utils/CountedObject.java @@ -1,4 +1,4 @@ -package org.broadinstitute.sting.playground.utils; +package org.broadinstitute.sting.utils; /** Utility class that makes working with counted objects slightly easier (and faster). * Consider a "generic" counter representation as Map: updating the counter would require @@ -20,7 +20,7 @@ public class CountedObject { * @param o object to start counting for */ public CountedObject(T o) { - assert o!=null : "Can not create counted object over null"; + if ( o==null ) throw new StingException("BUG: Can not wrap null as a counted object"); mObject = o; mCounter = 1; }