Buggy code:
public class POM { private static final XMLInputFactory XML_INPUT_FACTORY = POM . initializeXmlInputFactory ( ) ; private final Logger logger = LoggerFactory . getLogger ( POM . class ) ; private File pomFile ; private ModifiedPomXMLEventReader pom ; private boolean changed = false ; private String projectVersion ; private String parentVersion ; private String projectIdentifier ; private Model rawModel ; public POM ( String pomFileAsString ) throws IOException , XMLStreamException { } private static XMLInputFactory initializeXmlInputFactory ( ) throws FactoryConfigurationError { } private void initialize ( ) throws IOException , XMLStreamException { } private String calculateProjectIdentifier ( ) { } public String getProjectVersion ( ) { } public String getParentVersion ( ) { } public String getProjectIdentifier ( ) { } public void setParentVersion ( String newVersion ) { } public void setProjectVersion ( String newVersion ) { } public void savePom ( ) throws IOException , XMLStreamException { } public String getPath ( ) { } public String getProfileProperty ( String profileId , String property ) { } public Properties getProfileProperties ( String profileId ) { } public Properties getProperties ( ) { } public void setPropertyToValue ( String property , String newPropertyValue ) throws IOException , XMLStreamException { } public void setPropertyToValue ( String profileId , String property , String newPropertyValue ) throws IOException , XMLStreamException { if ( property == null ) { <START_BUG> logger . debug ( "Property<seq2seq4repair_space>[{}]<seq2seq4repair_space>is<seq2seq4repair_space>null,<seq2seq4repair_space>nothing<seq2seq4repair_space>to<seq2seq4repair_space>do." ) ; <END_BUG> return ; } if ( newPropertyValue == null ) { logger . debug ( "newPropertyValue<seq2seq4repair_space>of<seq2seq4repair_space>property<seq2seq4repair_space>[{}]<seq2seq4repair_space>is<seq2seq4repair_space>null,<seq2seq4repair_space>nothing<seq2seq4repair_space>to<seq2seq4repair_space>do." , property ) ; return ; } if ( ( profileId == null ) && ( newPropertyValue . equals ( getProperties ( ) . getProperty ( property ) ) ) ) { return ; } if ( ( profileId != null ) && ( newPropertyValue . equals ( getProfileProperties ( profileId ) . getProperty ( property ) ) ) ) { return ; } if ( profileId == null ) { logger . debug ( "Adjusting<seq2seq4repair_space>property<seq2seq4repair_space>[{}]<seq2seq4repair_space>from<seq2seq4repair_space>[{}]<seq2seq4repair_space>to<seq2seq4repair_space>[{}]<seq2seq4repair_space>of<seq2seq4repair_space>[{}]" , property , getProperties ( ) . getProperty ( property ) , newPropertyValue , getPath ( ) ) ; } else { logger . debug ( "Adjusting<seq2seq4repair_space>property<seq2seq4repair_space>[{}]<seq2seq4repair_space>from<seq2seq4repair_space>[{}]<seq2seq4repair_space>to<seq2seq4repair_space>[{}]<seq2seq4repair_space>of<seq2seq4repair_space>profile<seq2seq4repair_space>[{}]<seq2seq4repair_space>of<seq2seq4repair_space>[{}]" , property , getProperties ( ) . getProperty ( property ) , newPropertyValue , profileId , getPath ( ) ) ; } boolean propertyChanged = PomHelper . setPropertyVersion ( pom , profileId , property , newPropertyValue ) ; if ( propertyChanged ) { changed = true ; rawModel = PomHelper . getRawModel ( pom ) ; } } public List < Profile > getProfiles ( ) { } private Model getRawModel ( ) { } }

Fix:
logger . debug ( "Property<seq2seq4repair_space>is<seq2seq4repair_space>null,<seq2seq4repair_space>nothing<seq2seq4repair_space>to<seq2seq4repair_space>do." ) ;