Skip to content

Commit

Permalink
Merge pull request eclipse-birt#283 from sguan-actuate/master
Browse files Browse the repository at this point in the history
Summary: Failed to close the indexes java.io.IOException
  • Loading branch information
greatyan committed Mar 7, 2016
2 parents f340456 + fbb8157 commit 2d4331a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,20 +528,20 @@ protected boolean removeEldestEntry(
if ( !value.isLocked( ) )
{
// remove this node
if ( node.isDirty( ) )
if ( value.isDirty( ) )
{
try
{
writeNode( node );
writeNode( value );
}
catch ( IOException ex )
{
logger.log(
Level.WARNING,
"failed to write node "
+ node.getNodeId( )
+ value.getNodeId( )
+ " type "
+ node.getNodeType( ), ex );
+ value.getNodeType( ), ex );
return false;
}
}
Expand Down

0 comments on commit 2d4331a

Please sign in to comment.