~tritone-team/tritone/eucalyptus

« back to all changes in this revision

Viewing changes to clc/modules/core/src/main/java/edu/ucsb/eucalyptus/cloud/entities/VolumeInfo.java

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2009-12-01 21:09:28 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: james.westby@ubuntu.com-20091201210928-o2dvg0ubljhb0ft6
Tags: upstream-1.6.1~bzr1083
ImportĀ upstreamĀ versionĀ 1.6.1~bzr1083

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
 
198
198
    @Override
199
199
        public int hashCode() {
200
 
                final int prime = 31;
201
 
                int result = 1;
202
 
                result = prime * result + ((scName == null) ? 0 : scName.hashCode());
203
 
                result = prime * result
204
 
                                + ((volumeId == null) ? 0 : volumeId.hashCode());
205
 
                return result;
 
200
        return scName.hashCode() + volumeId.hashCode();         
206
201
        }
207
202
 
208
203
}