Skip to content

Commit

Permalink
Merge pull request #1359 from hcoles/bug/remove_reflective_equals
Browse files Browse the repository at this point in the history
remove use of reflection based toString generator
  • Loading branch information
hcoles authored Nov 1, 2024
2 parents 6716b3f + 9c9bba8 commit d93b3c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pitest-entry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.10.0</version>
<version>1.12.0</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
import java.util.List;
import java.util.Locale;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.apache.maven.doxia.sink.Sink;
import org.apache.maven.plugin.logging.Log;

Expand Down Expand Up @@ -97,8 +95,11 @@ public void setSourceDataFormats(List<String> sourceDataFormats) {

@Override
public String toString() {
return ToStringBuilder.reflectionToString(this,
ToStringStyle.MULTI_LINE_STYLE);
return "ReportGenerationContext{"
+ "locale=" + locale
+ ", reportsDataDirectory=" + reportsDataDirectory
+ ", siteDirectory=" + siteDirectory
+ ", sourceDataFormats=" + sourceDataFormats
+ '}';
}

}

0 comments on commit d93b3c2

Please sign in to comment.