@@ -232,7 +232,7 @@ public class ArchitectureTest {
232232 .orShould ().beDeclaredInClassesThat ().areAnnotatedWith (JsxClasses .class );
233233
234234 private static final DescribedPredicate <? super JavaClass > isAssignableToScriptable =
235- new DescribedPredicate <JavaClass >("@is not assignable to Scriptable" ) {
235+ new DescribedPredicate <>("@is not assignable to Scriptable" ) {
236236 @ Override
237237 public boolean test (final JavaClass javaClass ) {
238238 // we have to build a more complex implemenation because
@@ -399,7 +399,7 @@ public boolean test(final JavaClass javaClass) {
399399 .orShould ().haveNameStartingWith ("is" );
400400
401401 private static final DescribedPredicate <JavaMethod > haveJsxGetterWithNonDefaultPropertyName =
402- new DescribedPredicate <JavaMethod >("@JsxGetter has a non default propertyName" ) {
402+ new DescribedPredicate <>("@JsxGetter has a non default propertyName" ) {
403403 @ Override
404404 public boolean test (final JavaMethod method ) {
405405 return StringUtils .isNotEmpty (method .getAnnotationOfType (JsxGetter .class ).propertyName ());
@@ -424,7 +424,7 @@ public boolean test(final JavaMethod method) {
424424 .should ().haveNameStartingWith ("set" );
425425
426426 private static final DescribedPredicate <JavaMethod > haveJsxSetterWithNonDefaultPropertyName =
427- new DescribedPredicate <JavaMethod >("@JsxSetter has a non default propertyName" ) {
427+ new DescribedPredicate <>("@JsxSetter has a non default propertyName" ) {
428428 @ Override
429429 public boolean test (final JavaMethod method ) {
430430 return StringUtils .isNotEmpty (method .getAnnotationOfType (JsxSetter .class ).propertyName ());
@@ -441,7 +441,7 @@ public boolean test(final JavaMethod method) {
441441 .should ().haveNameEndingWith ("_js" );
442442
443443 private static final ArchCondition <JavaMethod > hasMatchingGetter =
444- new ArchCondition <JavaMethod >("every @JsxSetter needs a matching @JsxGetter" ) {
444+ new ArchCondition <>("every @JsxSetter needs a matching @JsxGetter" ) {
445445 @ Override
446446 public void check (final JavaMethod method , final ConditionEvents events ) {
447447 String getterName = "g" + method .getName ().substring (1 );
0 commit comments