Ignore:
Timestamp:
07/15/13 17:18:22 (12 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/simulator/stats/implementation/out/CoolEmAllStringSerializer.java

    r1096 r1140  
    104104                                buffer.append(nodeMetricName); 
    105105                                buffer.append(fieldSeparator); 
    106                                 buffer.append(resourceEnergyStats.getResourceName()); 
     106                                if(resourceEnergyStats.getResourceName().startsWith("/")) 
     107                                        buffer.append(resourceEnergyStats.getResourceName().substring(1)); 
     108                                else buffer.append(resourceEnergyStats.getResourceName()); 
    107109                                buffer.append(fieldSeparator); 
    108110                                Double value = resourceEnergy.get(timestamp); 
     
    158160                                buffer.append(nodeMetricName); 
    159161                                buffer.append(fieldSeparator); 
    160                                 buffer.append(resourceAirFlowStats.getResourceName()); 
     162                                if(resourceAirFlowStats.getResourceName().startsWith("/")) 
     163                                        buffer.append(resourceAirFlowStats.getResourceName().substring(1)); 
     164                                else buffer.append(resourceAirFlowStats.getResourceName()); 
    161165                                buffer.append(fieldSeparator); 
    162166                                Double value = resourceAirFlow.get(timestamp); 
Note: See TracChangeset for help on using the changeset viewer.