Buggy code:
public class GravitationalImpl extends HttpServlet { private Timestamp driverTimeStamp ; private Hashtable < Integer , Double > mGForceDistance ; private boolean isParkingSpaceAvailable ( final int block ) { } public TrialData computeGravityRoadNetwork ( final Location userLoc , final int congestionLevel ) { Iterator < Integer > it = sInMemoryEdges . getKeySet ( ) . iterator ( ) ; mGForceDistance = new Hashtable < Integer , Double > ( ) ; GravitationalComputation gComp = new GravitationalComputation ( ) ; while ( it . hasNext ( ) ) { RoadNetworkEdge edge = sInMemoryEdges . getEdge ( it . next ( ) ) ; double userToBlockDistance = 0 ; userToBlockDistance = DistanceUtils . distance ( userLoc . getLatitude ( ) , userLoc . getLongitude ( ) , edge . latitude1 , edge . longitude1 , 'M' ) ; int blockId = edge . blockId ; int totalAvailableParkingLots = GeneralUtils . getAvailableParkingLots ( blockId , driverTimeStamp , congestionLevel ) ; double gForce = gComp . getGForce ( totalAvailableParkingLots , userToBlockDistance ) ; System . out . println ( ( ( ( ( ( "Block:<seq2seq4repair_space>" + blockId ) + "<seq2seq4repair_space>:<seq2seq4repair_space>GForce:" ) + gForce ) + "<seq2seq4repair_space>:<seq2seq4repair_space>congestionLevel:<seq2seq4repair_space>" ) + congestionLevel ) ) ; if ( ( edge . numOperational ) > 0 ) { mGForceDistance . put ( edge . blockId , gForce ) ; } } int parkingBlock = GeneralUtils . getBlockWithMaxForce ( mGForceDistance ) ; HashMap < String , Location > blockLoc = GeneralUtils . getBlockLocation ( parkingBlock ) ; Location blockStartLoc = blockLoc . get ( "start" ) ; Location blockEndLoc = blockLoc . get ( "end" ) ; double userToBestParkingDistance = DistanceUtils . distance ( userLoc . getLatitude ( ) , userLoc . getLongitude ( ) , blockStartLoc . getLatitude ( ) , blockStartLoc . getLongitude ( ) , 'M' ) ; System . out . println ( ( ( ( ( "The<seq2seq4repair_space>Parking<seq2seq4repair_space>Block:<seq2seq4repair_space>" + parkingBlock ) + "<seq2seq4repair_space>allocated<seq2seq4repair_space>is<seq2seq4repair_space>located<seq2seq4repair_space>at<seq2seq4repair_space>a<seq2seq4repair_space>distance<seq2seq4repair_space>of:<seq2seq4repair_space>" ) + userToBestParkingDistance ) + "<seq2seq4repair_space>from<seq2seq4repair_space>the<seq2seq4repair_space>user<seq2seq4repair_space>location" ) ) ; int totalTime = DistanceUtils . totalTime ( userLoc . getLatitude ( ) , userLoc . getLongitude ( ) , blockStartLoc . getLatitude ( ) , blockStartLoc . getLongitude ( ) , 'M' ) ; System . out . println ( ( "Total<seq2seq4repair_space>Minutes<seq2seq4repair_space>to<seq2seq4repair_space>the<seq2seq4repair_space>parking<seq2seq4repair_space>lot<seq2seq4repair_space>in<seq2seq4repair_space>seconds:<seq2seq4repair_space>" + totalTime ) ) ; <START_BUG> TrialData returnTrialData = new TrialData ( totalTime , parkingBlock , userLoc , blockStartLoc ) ; <END_BUG> return returnTrialData ; } @ Deprecated private void computeGravityFreeSpace ( final Location userLoc ) { } public void initializeDriverTime ( ) { } @ Override protected void doPost ( HttpServletRequest req , HttpServletResponse resp ) throws IOException , ServletException { } public static void main ( String [ ] args ) { } }

Fix:
TrialData returnTrialData = new TrialData ( parkingBlock , totalTime , userLoc , blockStartLoc ) ;