Changeset 1475 for raptor-client


Ignore:
Timestamp:
09/10/12 18:02:57 (8 years ago)
Author:
philsmart
Message:

resource category default now set for all events without resourceId

Location:
raptor-client/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • raptor-client/trunk/.classpath

    r1445 r1475  
    1919                </attributes> 
    2020        </classpathentry> 
    21         <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"> 
    22                 <attributes> 
    23                         <attribute name="org.eclipse.jst.component.nondependency" value=""/> 
    24                 </attributes> 
    25         </classpathentry> 
    2621        <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/> 
    2722        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"> 
  • raptor-client/trunk/src/main/java/uk/ac/cardiff/raptor/event/expansion/ResourceCategoryAttributeAssociationDefinition.java

    r1467 r1475  
    7070            return true; 
    7171        } else { 
    72             // only set new resource information if has resource id. 
     72            // only set new resource information if has resource id. However, must set default resources category anyway 
    7373            if (event.getResourceId() != null) { 
    7474                ResourceMetadata resourceNew = new ResourceMetadata(); 
     
    8686                return true; 
    8787            } else { 
     88                event.setResourceIdCategory(2); 
    8889                return false; 
    8990            } 
Note: See TracChangeset for help on using the changeset viewer.