diff --git a/src/main/java/smells/eventtest/EventTest.java b/src/main/java/smells/eventtest/EventTest.java new file mode 100644 index 0000000..9c2696a --- /dev/null +++ b/src/main/java/smells/eventtest/EventTest.java @@ -0,0 +1,23 @@ +package smells.incorrectorderofmodifiers; + +/** + * According to the Java Language Specification (JLS), a certain order for + * modifiers must be adhered to. Otherwise, it makes the code more difficult to + * read, since most developers are used to this order. + */ +public class IncorrectOrderOfModifiers { + + /** + * expected: private static final int + */ + private final static int MULTIPLIER = 5; + + /** + * + * @return + */ + protected int getMultiplier() { + return MULTIPLIER; + } + +}