Clean up warnings

This commit is contained in:
Sam Brannen
2019-05-10 18:00:29 +02:00
parent 0cff7eb32c
commit 64819bbc1d
13 changed files with 19 additions and 13 deletions

View File

@@ -18,6 +18,7 @@ package org.springframework.orm.jpa.hibernate.beans;
public class NoDefinitionInSpringContextTestBean extends TestBean {
@SuppressWarnings("unused")
private NoDefinitionInSpringContextTestBean() {
throw new AssertionError("Unexpected call to the default constructor. " +
"Is Spring trying to instantiate this class by itself, even though it should delegate to the fallback producer?"