Ignore:
Timestamp:
08/28/13 15:22:43 (12 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/simulator/workload/reader/archive/swf/QcgSWFJobReader.java

    r1189 r1202  
    4141        private Log log = LogFactory.getLog(QcgSWFJobReader.class); 
    4242         
    43         private static String DEFAULT_PATH_TO_APP_PROFILES = ""; 
     43        //private static String DEFAULT_PATH_TO_APP_PROFILES = ""; 
    4444         
    4545        protected String currntJobID; 
     
    224224                                        String appName = null; 
    225225                                        if(pathToAppProfile == null){ 
    226                                                 if(value != -1){ 
     226                                                if(value == -1 && appTypeGen != null){ 
     227                                                        appName = appTypeGen.randomAppType(); 
     228                                                } 
     229                                                /*if(value != -1){ 
    227230                                                        appName = String.valueOf(value); 
    228231                                                } else if(appTypeGen != null){ 
    229232                                                        appName = appTypeGen.randomAppType(); 
    230233                                                } 
    231                                                 pathToAppProfile =  DEFAULT_PATH_TO_APP_PROFILES + appName; 
     234                                                pathToAppProfile =  DEFAULT_PATH_TO_APP_PROFILES + appName;*/ 
    232235                                        } else { 
    233236                                                String fullAppName = pathToAppProfile.substring(pathToAppProfile.lastIndexOf('/') + 1, pathToAppProfile.length()); 
Note: See TracChangeset for help on using the changeset viewer.