@@ -709,7 +709,7 @@ public void visitJavaClass(final JavaClass obj) {
709709 foundInnerClasses = true ;
710710 } else if (hasInnerClass ) {
711711 throw new ClassConstraintException ("A Classfile structure (like '" + tostring (obj ) + "') must have exactly one InnerClasses attribute"
712- + " if at least one Inner Class is referenced (which is the case)." + " More than one InnerClasses attribute was found." );
712+ + " if at least one Inner Class is referenced (which is the case). More than one InnerClasses attribute was found." );
713713 }
714714 if (!hasInnerClass ) {
715715 addMessage ("No referenced Inner Class found, but InnerClasses attribute '" + tostring (att )
@@ -837,7 +837,7 @@ public void visitMethod(final Method obj) {
837837 // it!
838838 if (name .equals (Const .STATIC_INITIALIZER_NAME ) && ts .length != 0 ) {
839839 throw new ClassConstraintException ("Method '" + tostring (obj ) + "' has illegal name '" + name + "'."
840- + " Its name resembles the class or interface initialization method" + " which it isn't because of its arguments (==descriptor)." );
840+ + " Its name resembles the class or interface initialization method which it isn't because of its arguments (==descriptor)." );
841841 }
842842
843843 if (jc .isClass ()) {
@@ -888,7 +888,7 @@ public void visitMethod(final Method obj) {
888888 if (jc .getMajor () >= Const .MAJOR_1_8 ) {
889889 if (obj .isPublic () == obj .isPrivate ()) {
890890 throw new ClassConstraintException (
891- "Interface method '" + tostring (obj ) + "' must have" + " exactly one of its ACC_PUBLIC and ACC_PRIVATE modifiers set." );
891+ "Interface method '" + tostring (obj ) + "' must have exactly one of its ACC_PUBLIC and ACC_PRIVATE modifiers set." );
892892 }
893893 if (obj .isProtected () || obj .isFinal () || obj .isSynchronized () || obj .isNative ()) {
894894 throw new ClassConstraintException ("Interface method '" + tostring (obj ) + "' must not have"
@@ -912,7 +912,7 @@ public void visitMethod(final Method obj) {
912912
913913 if ((obj .getAccessFlags () & ~(Const .ACC_PUBLIC | Const .ACC_PRIVATE | Const .ACC_PROTECTED | Const .ACC_STATIC | Const .ACC_FINAL |
914914 Const .ACC_SYNCHRONIZED | Const .ACC_NATIVE | Const .ACC_ABSTRACT | Const .ACC_STRICT )) > 0 ) {
915- addMessage ("Method '" + tostring (obj ) + "' has access flag(s) other than" + " ACC_PUBLIC, ACC_PRIVATE, ACC_PROTECTED, ACC_STATIC, ACC_FINAL,"
915+ addMessage ("Method '" + tostring (obj ) + "' has access flag(s) other than ACC_PUBLIC, ACC_PRIVATE, ACC_PROTECTED, ACC_STATIC, ACC_FINAL,"
916916 + " ACC_SYNCHRONIZED, ACC_NATIVE, ACC_ABSTRACT, ACC_STRICT set (ignored)." );
917917 }
918918
0 commit comments