public static void assertTrueOrInvalidPropertyName ( boolean expression , SQLProperty item1 , SQLProperty item2 ) { if ( ! expression ) { String msg = String . format ( "Properties '%s#%s' and '%s#%s' must have same column name" , item1 . getParent ( ) . name , item1 . name , item2 . getParent ( ) . name , item2 . name ) ; throw ( new InvalidPropertyToColumnConversion ( msg ) ) ; } }
Assert true or invalid property name .