Style fixes.

This commit is contained in:
Andrey Smirnov
2014-02-25 14:25:14 +04:00
parent 70df28bdf4
commit e0cb43fbd3
3 changed files with 14 additions and 16 deletions
+2 -4
View File
@@ -375,9 +375,8 @@ func (p *Package) Equals(p2 *Package) bool {
found = true
if f.Checksums != f2.Checksums {
return false
} else {
break
}
break
}
}
@@ -554,9 +553,8 @@ func (collection *PackageCollection) Update(p *Package) error {
found = true
if f.Checksums != f2.Checksums {
return fmt.Errorf("unable to save: %s, conflict with existing packge", p)
} else {
break
}
break
}
}