Skip to content

Commit

Permalink
rubocop: Lint/DuplicateMethods
Browse files Browse the repository at this point in the history
  • Loading branch information
cheerfulstoic committed Oct 28, 2017
1 parent c0059e8 commit a0daea9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Expand Up @@ -41,12 +41,6 @@ Lint/AmbiguousBlockAssociation:
- 'spec/neo4j/core/shared_examples/adaptor.rb'
- 'spec/shared_examples/label.rb'

# Offense count: 2
Lint/DuplicateMethods:
Exclude:
- 'lib/neo4j-embedded/embedded_session.rb'
- 'lib/neo4j-server/resource.rb'

# Offense count: 1
Lint/DuplicatedKey:
Exclude:
Expand Down
2 changes: 1 addition & 1 deletion lib/neo4j-embedded/embedded_session.rb
Expand Up @@ -10,7 +10,7 @@ class EmbeddedSession < Neo4j::Session
class Error < StandardError
end

attr_reader :graph_db, :db_location, :properties_file, :properties_map
attr_reader :graph_db, :db_location, :properties_file
extend Forwardable
extend Neo4j::Core::TxMethods
def_delegator :@graph_db, :begin_tx
Expand Down
2 changes: 1 addition & 1 deletion lib/neo4j-server/resource.rb
Expand Up @@ -4,7 +4,7 @@ module Resource
class ServerException < Exception
end

attr_reader :resource_data, :resource_url
attr_reader :resource_data

def init_resource_data(resource_data, resource_url)
fail "Exception #{resource_data[:exception]}" if resource_data[:exception]
Expand Down

0 comments on commit a0daea9

Please sign in to comment.