Removed unnecessary "else"s

This commit is contained in:
Deluan
2016-03-10 09:37:35 -05:00
parent d8e6076d66
commit 2437eed586
3 changed files with 13 additions and 13 deletions
+1 -2
View File
@@ -31,9 +31,8 @@ func (m *MockProperty) Put(id string, value string) error {
func (m *MockProperty) Get(id string) (string, error) {
if m.err {
return "", errors.New("Error!")
} else {
return m.data[id], nil
}
return m.data[id], nil
}
func (m *MockProperty) DefaultGet(id string, defaultValue string) (string, error) {