Skip to content

Commit

Permalink
Fix Sonar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Oct 5, 2019
1 parent 457e63a commit b53c934
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ public boolean isProcessInTransaction() {
* @see #setKafkaTemplate(KafkaTemplate)
*/
@Override
public void setCommitRecovered(boolean commitRecovered) {
super.setCommitRecovered(commitRecovered); // NOSONAR enhanced javadoc
public void setCommitRecovered(boolean commitRecovered) { // NOSONAR enhanced javadoc
super.setCommitRecovered(commitRecovered);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ private static BinaryExceptionClassifier configureDefaultClassifier() {
classified.put(MethodArgumentResolutionException.class, false);
classified.put(NoSuchMethodException.class, false);
classified.put(ClassCastException.class, false);
ExtendedBinaryExceptionClassifier defaultClassifier = new ExtendedBinaryExceptionClassifier(classified, true);
return defaultClassifier;
return new ExtendedBinaryExceptionClassifier(classified, true);
}

/**
Expand Down

0 comments on commit b53c934

Please sign in to comment.