private static void innerSetHelperClass ( Class < ? extends OrmLiteSqliteOpenHelper > openHelperClass ) { // make sure if that there are not 2 helper classes in an application if ( openHelperClass == null ) { throw new IllegalStateException ( "Helper class was trying to be reset to null" ) ; } else if ( helperClass == null ) { helperClass = openHelperClass ; } else if ( helperClass != openHelperClass ) { throw new IllegalStateException ( "Helper class was " + helperClass + " but is trying to be reset to " + openHelperClass ) ; } }
Set the helper class and make sure we aren t changing it to another class .