The left-hand side of an assignment must be a variable error in eclipse
<pre><code>public class CustomBlockFactory
{
private static final Logger logger = 
Logger.getLogger(TableListControllerFactory.class.getName());

public static AndroidTourController getController(TourControllerParameters 
paramTourControllerParameters, TourSequencer paramTourSequencer)
{
((CustomBlock)paramTourControllerParameters);
return new EnableTableController(paramTourControllerParameters, paramTourSequencer);
}
}
</code></pre>

<p>I'm getting error at ((CustomBlock)paramTourControllerParameters); as "The left-hand side of an assignment must be a variable".</p>

<p>Could anyone please rectify this error?</p>

<p>Thanks in advance</p>
