diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-24 16:27:43 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-27 12:23:26 -0500 |
commit | b73b16798dd0fe402df42a1e706f3b1034c22270 (patch) | |
tree | 4e57f7dad65d7a530d32481e6f6aa5810dc901db /lib/gitlab/git/blob.rb | |
parent | 0b3ff9c80494307746f79c05f85cfbedc0efe3f6 (diff) | |
download | gitlab-ce-b73b16798dd0fe402df42a1e706f3b1034c22270.tar.gz |
Small code tweaks
Diffstat (limited to 'lib/gitlab/git/blob.rb')
-rw-r--r-- | lib/gitlab/git/blob.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/git/blob.rb b/lib/gitlab/git/blob.rb index 98fd4e78126..e8bb9e1f805 100644 --- a/lib/gitlab/git/blob.rb +++ b/lib/gitlab/git/blob.rb @@ -109,10 +109,6 @@ module Gitlab @binary.nil? ? super : @binary == true end - def empty? - !data || data == '' - end - def data encode! @data end |