summaryrefslogtreecommitdiff
path: root/lib/bitbucket
diff options
context:
space:
mode:
authorDinesh Panda <dineshpanda92@gmail.com>2019-09-10 08:11:43 +0000
committerLin Jen-Shin <godfat@godfat.org>2019-09-10 08:11:43 +0000
commit736b5908da637cbb35eb5fd1a10790c2ee17fcde (patch)
tree50d6d25be103c767e920cbfdf7df650670572fe6 /lib/bitbucket
parent4e9a93a38d0bbc6940a54b484b5d902f2d481a4d (diff)
downloadgitlab-ce-736b5908da637cbb35eb5fd1a10790c2ee17fcde.tar.gz
Avoid calling freeze on already frozen strings in lib
Diffstat (limited to 'lib/bitbucket')
-rw-r--r--lib/bitbucket/connection.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bitbucket/connection.rb b/lib/bitbucket/connection.rb
index 0041634f9e3..9937236fc44 100644
--- a/lib/bitbucket/connection.rb
+++ b/lib/bitbucket/connection.rb
@@ -2,8 +2,8 @@
module Bitbucket
class Connection
- DEFAULT_API_VERSION = '2.0'.freeze
- DEFAULT_BASE_URI = 'https://api.bitbucket.org/'.freeze
+ DEFAULT_API_VERSION = '2.0'
+ DEFAULT_BASE_URI = 'https://api.bitbucket.org/'
DEFAULT_QUERY = {}.freeze
attr_reader :expires_at, :expires_in, :refresh_token, :token