sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.instr/src/com/nokia/carbide/cpp/pi/instr/UndecidedPool.java
changeset 12 ae255c9aa552
parent 5 844b047e260d
--- a/sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.instr/src/com/nokia/carbide/cpp/pi/instr/UndecidedPool.java	Wed Jun 23 14:49:59 2010 +0300
+++ b/sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.instr/src/com/nokia/carbide/cpp/pi/instr/UndecidedPool.java	Wed Jun 23 15:05:09 2010 +0300
@@ -181,7 +181,7 @@
 			this.processedMostHits = 0;
 			this.processedUndecided = false;
 			
-			Object o = this.samplesForLocations.get(new Long(startAddress));
+			Object o = this.samplesForLocations.get(Long.valueOf(startAddress));
 			
 			if (o != null)
 			{
@@ -219,7 +219,7 @@
 				//System.out.println("Added unique sample "+sample.programCounter+" to "+this.binary.binaryName);
 				Vector sampleVec = new Vector();
 				sampleVec.add(sample);
-				samplesForLocations.put(new Long(startAddress),sampleVec);
+				samplesForLocations.put(Long.valueOf(startAddress),sampleVec);
 			}
 		}