removed print line to fix #1

This commit is contained in:
Karl Seguin
2014-03-23 07:52:26 +08:00
parent 4456358470
commit 7e109b11cc
2 changed files with 1 additions and 2 deletions

View File

@@ -2,8 +2,8 @@ package ccache
import ( import (
"github.com/karlseguin/gspec" "github.com/karlseguin/gspec"
"testing"
"strconv" "strconv"
"testing"
"time" "time"
) )

View File

@@ -39,7 +39,6 @@ func newItem(key string, value interface{}, expires time.Time) *Item {
} }
func (i *Item) shouldPromote(getsPerPromote int32) bool { func (i *Item) shouldPromote(getsPerPromote int32) bool {
println(atomic.LoadInt32(&i.promotions))
return atomic.AddInt32(&i.promotions, 1) == getsPerPromote return atomic.AddInt32(&i.promotions, 1) == getsPerPromote
} }