Artem Ervits created HBASE-21340:
------------------------------------

             Summary: Address rubocop warnings in shell module
                 Key: HBASE-21340
                 URL: https://issues.apache.org/jira/browse/HBASE-21340
             Project: HBase
          Issue Type: Task
            Reporter: Artem Ervits
            Assignee: Artem Ervits


While working on HBASE-21279 build reported warnings with rubocop 
[https://builds.apache.org/job/PreCommit-HBASE-Build/14735/artifact/patchprocess/diff-patch-rubocop.txt]
{code:java}

/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:86:20: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:97:81: C: 
Metrics/LineLength: Line is too long. [84/80]
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:98:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:104:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:110:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:116:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:117:25: C: 
Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls 
with no arguments.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:123:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:124:25: C: 
Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls 
with no arguments.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:125:61: C: 
Layout/SpaceInsideHashLiteralBraces: Space inside { missing.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:125:61: C: 
Style/BracesAroundHashParameters: Redundant curly braces around a hash 
parameter.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:125:80: C: 
Layout/SpaceInsideHashLiteralBraces: Space inside } missing.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:125:81: C: 
Metrics/LineLength: Line is too long. [81/80]
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:130:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:131:25: C: 
Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls 
with no arguments.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:137:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:138:39: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:142:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:178:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:184:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:190:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:191:25: C: 
Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls 
with no arguments.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:192:21: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:193:20: C: 
Security/Eval: The use of `eval` is a serious security risk.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:193:25: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:193:31: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:193:37: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:194:20: C: 
Security/Eval: The use of `eval` is a serious security risk.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:194:25: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:194:31: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:194:37: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:197:20: C: 
Security/Eval: The use of `eval` is a serious security risk.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:197:25: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:197:31: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:197:37: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:198:20: C: 
Security/Eval: The use of `eval` is a serious security risk.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:198:25: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:198:31: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:198:37: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:202:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:204:30: C: 
Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls 
with no arguments.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:208:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:209:25: C: 
Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls 
with no arguments.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:218:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:220:34: C: 
Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls 
with no arguments.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:224:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:225:25: C: 
Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls 
with no arguments.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:226:38: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:227:38: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:228:38: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:229:38: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:232:33: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:235:33: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:240:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:242:37: C: 
Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls 
with no arguments.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:246:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:247:25: C: 
Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls 
with no arguments.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:248:38: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:249:38: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:250:38: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:251:19: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:253:37: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:256:48: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:262:36: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:262:42: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:268:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:274:17: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:275:25: C: 
Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls 
with no arguments.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:276:38: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:277:38: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:278:38: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:279:19: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:281:37: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:282:45: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:284:57: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:288:36: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:289:45: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin2_test.rb:289:51: C: 
Style/StringLiterals: Prefer single-quoted strings when you don't need string 
interpolation or special symbols.
/testptch/hbase/hbase-shell/src/test/ruby/hbase/admin_test.rb:26:1: C: 
Style/MixinUsage: `include` is used at the top level. Use inside `class` or 
`module`.{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to