profile: used interface instead of specific class type
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 22 Jun 2015 02:57:45 +0000 (11:57 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 22 Jun 2015 04:19:38 +0000 (13:19 +0900)
Change-Id: I08d80a31071ff851a9473984e8f47dfa0459387d

src/org/tizen/emulator/manager/platform/ProfileList.java

index 015cf47..0f4aa89 100644 (file)
@@ -47,10 +47,10 @@ import org.tizen.emulator.manager.vms.VMProperty.FSImageType;
 import org.tizen.emulator.manager.vms.helper.VMWorkerException;
 
 public class ProfileList {
-       private static final ArrayList<Profile> profileList;
+       private static final List<Profile> profileList;
        private static final Profile totalProfile;
        // for making platform
-       private static final ArrayList<EMPlugin> pluginList;
+       private static final List<EMPlugin> pluginList;
 
        static {
                totalProfile = new Profile(StringResources.TOTAL_PROFILE);
@@ -60,7 +60,7 @@ public class ProfileList {
                initProfileList();
        }
 
-       public static ArrayList<Profile> getProfileList() {
+       public static List<Profile> getProfileList() {
                return profileList;
        }
 
@@ -78,7 +78,7 @@ public class ProfileList {
                return null;
        }
 
-       public static ArrayList<EMPlugin> getPluginList() {
+       public static List<EMPlugin> getPluginList() {
                return pluginList;
        }