OpenMRS
Move refactoring
In OpenMRS REST Module's SwaggerSpecificationCreator.java you'll see these two static methods:
//FIXME: move to separate util class
public static String[] getEnums(Class<? extends Enum<?>> e) {
//..
}
public static List<String> getEnumsAsList(Class<? extends Enum<?>> e) {
//..
}
Move these two methods to EnumProperty class as they better belong in there.
If you're using IntelliJ IDEA please refer to Performing a Move refactoring.
Once done make sure you also remove these two lines:
//FIXME: move to separate util calls
// see: https://stackoverflow.com/q/13783295/3647002{code}
Students who completed this task
Bartłomiej Rasztabiga