void log(String action,String scale,int value){
  if (test.isCollect()) {
    results.add(new Object[]{action,scale,Integer.valueOf(value)});
  }
}

void log ( String action , String scale , int value ) { if ( test . isCollect ( ) ) { results . add ( new Object [ ] { action , scale , Integer . valueOf ( value ) } ) ; } }
if data collection is enabled , add this information to the log .
