Menu

#4 xmlformat and sb (StringBuffer)

open
nobody
None
5
2006-05-18
2006-05-18
ivanxma
No

The section inside

public synchronized void addSolution( int solverIndex )

throws nullpointer exception if xmlformat is
specified. The sb doesn't get created.

StringBuilder sb = ! xmlFormat ? new
StringBuilder() : null ;
if( logical ){
category = EASY ;
if( lockedSectorCandidates ){
category = MEDIUM ; ...

Discussion


Log in to post a comment.