Range : restrict some functions (failed api, leak, warning data) at range page 77/23477/1
authorseokgil.kang <seokgil.kang@samsung.com>
Thu, 26 Jun 2014 08:26:51 +0000 (17:26 +0900)
committerseokgil.kang <seokgil.kang@samsung.com>
Thu, 26 Jun 2014 08:26:51 +0000 (17:26 +0900)
Change-Id: Iecf1e9044e4eb088c71f519a84d06357abe41fbe
Signed-off-by: seokgil.kang <seokgil.kang@samsung.com>
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/summary/failed/FailedApiTable.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/summary/leaks/LeakTable.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/summary/warning/WarningTable.java

index 37afefa..a010888 100644 (file)
@@ -195,9 +195,12 @@ public class FailedApiTable extends DATableComposite {
 //             } else {
 //                     failedList = AnalyzerManager.getFailedChecker().getFailedList();
 //             }
+               
+               if (isRange)    return null;
        
-               List<TableInput> input = new ArrayList<TableInput>();
                List<List<Object>> failedData = failedApiDataMaker.getFailedApiDataFromDB();
+               if (failedData == null) return null;
+               List<TableInput> input = new ArrayList<TableInput>();
                int size = failedData.size();
                for (int i = 0; i < size; i++) {
                        List<Object> idata = failedData.get(i);
index 3e94f91..9261bd8 100644 (file)
@@ -167,6 +167,7 @@ public class LeakTable extends DATreeComposite {
                        // TODO : currently this feature (DB refactoring) does not applied to the range page.
 //                     leaks = RangeDataManager.getInstance().getLeakDetector2()
 //                                     .getLeakHash();
+                       return null;
                } else {
                        leaks = AnalyzerManager.getNewLeakDetector().getLeakHash();     
                }
index 85359bb..31b7594 100644 (file)
@@ -140,8 +140,11 @@ public class WarningTable extends DATableComposite {
 //                     warningList = AnalyzerManager.getWarningChecker().getWarningData();
 //             }
                
-               List<TableInput> input = new ArrayList<TableInput>();
+               if (isRange)    return null;
+               
                List<List<Object>> warningData = warningDataMaker.getWarningDataFromDB();
+               if (warningData == null)        return null;
+               List<TableInput> input = new ArrayList<TableInput>();
                int size = warningData.size();
                for (int i = 0; i < size; i++) {
                        List<Object> idata = warningData.get(i);