Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions src/main/java/smells/eventtest/EventTest.java
Original file line number Diff line number Diff line change
@@ -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;
}

}