add static modifier to the level condition constants

This commit is contained in:
Siwat Sirichai 2020-11-10 13:36:19 +07:00
parent 27b840e0df
commit 6c9ea0fe19
5 changed files with 5 additions and 5 deletions

Binary file not shown.

View File

@ -5,8 +5,8 @@ public class Witch {
private String school;
private int magicPower;
final int MAX_LEVEL = 100;
final int MIN_LEVEL = 0;
static final int MAX_LEVEL = 100;
static final int MIN_LEVEL = 0;
// Constructors
public Witch() {

View File

@ -1,6 +1,6 @@
Manifest-Version: 1.0
Built-By: siwat
Build-Jdk: 14.0.2
Build-Jdk: 15
Class-Path: log4j-1.2.17.jar jsp-api-2.2.jar
Main-Class: it.ramecera.screwdriver.Hammer
Created-By: Maven Integration for Eclipse

View File

@ -1,5 +1,5 @@
#Generated by Maven Integration for Eclipse
#Thu Oct 29 16:39:34 ICT 2020
#Tue Nov 10 13:35:16 ICT 2020
m2e.projectLocation=C\:\\Users\\siwat\\GitHub\\ise-comprog-after-midterm\\screwdriver-3.5.6
m2e.projectName=screwdriver-3.5.6
groupId=it.ramecera.ict

View File

@ -1,5 +1,5 @@
#Generated by Maven Integration for Eclipse
#Tue Nov 03 01:02:01 ICT 2020
#Tue Nov 10 13:35:17 ICT 2020
m2e.projectLocation=C\:\\Users\\siwat\\GitHub\\ise-comprog-after-midterm\\waxds-copper
m2e.projectName=waxds-copper
groupId=it.ramecera.ict