Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
P
print-demo
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Administrator
  • print-demo
  • Merge Requests
  • !1

Merged
Opened Apr 22, 2020 by Administrator@root 
  • Report abuse
Report abuse

Develop

合并测试sonar

×

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b develop origin/develop

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git checkout master
git merge --no-ff develop

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 1
  • Commits 6
  • Pipelines 5
  • Changes 3
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Administrator
    @root started a discussion on commit 4dec70b8 Apr 22, 2020
    • Administrator @root commented Apr 22, 2020
      Master

      SonarQube analysis reported 9 issues

      • 🚫 1 critical
      • ⚠ 4 major
      • 🔽 4 minor

      Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:

      1. 🚫 Make sure this expression can't be zero before doing this division. 📘
      2. ⚠ This block of commented-out lines of code should be removed. 📘
      3. ⚠ Replace this use of System.out or System.err by a logger. 📘
      4. ⚠ Remove this useless assignment to local variable "result". 📘
      5. ⚠ Either remove or fill this block of code. 📘
      6. 🔽 Remove this unused import 'org.apache.commons.logging.Log'. 📘
      7. 🔽 Remove this unused import 'org.apache.commons.logging.LogFactory'. 📘
      8. 🔽 Remove this empty class, write its code or make it an "interface". 📘
      9. 🔽 Remove this unused "result" local variable. 📘
      SonarQube analysis reported 9 issues * :no_entry_sign: 1 critical * :warning: 4 major * :arrow_down_small: 4 minor Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here: 1. :no_entry_sign: [Make sure this expression can't be zero before doing this division.](http://git.zhiweidata.top/root/print-demo/blob/4dec70b8f40b3d94b93b22ffbe1050aa7f3e4227/src/main/java/com/zhiweidata/printdemo/PrintDemoApplication.java#L19) [:blue_book:](http://192.168.0.51:9000/coding_rules#rule_key=squid%3AS3518) 1. :warning: [This block of commented-out lines of code should be removed.](http://git.zhiweidata.top/root/print-demo/blob/4dec70b8f40b3d94b93b22ffbe1050aa7f3e4227/src/main/java/com/zhiweidata/printdemo/PrintDemoApplication.java#L3) [:blue_book:](http://192.168.0.51:9000/coding_rules#rule_key=squid%3ACommentedOutCodeLine) 1. :warning: [Replace this use of System.out or System.err by a logger.](http://git.zhiweidata.top/root/print-demo/blob/4dec70b8f40b3d94b93b22ffbe1050aa7f3e4227/src/main/java/com/zhiweidata/printdemo/PrintDemoApplication.java#L18) [:blue_book:](http://192.168.0.51:9000/coding_rules#rule_key=squid%3AS106) 1. :warning: [Remove this useless assignment to local variable "result".](http://git.zhiweidata.top/root/print-demo/blob/4dec70b8f40b3d94b93b22ffbe1050aa7f3e4227/src/main/java/com/zhiweidata/printdemo/PrintDemoApplication.java#L19) [:blue_book:](http://192.168.0.51:9000/coding_rules#rule_key=squid%3AS1854) 1. :warning: [Either remove or fill this block of code.](http://git.zhiweidata.top/root/print-demo/blob/4dec70b8f40b3d94b93b22ffbe1050aa7f3e4227/src/main/java/com/zhiweidata/printdemo/PrintDemoApplication.java#L25) [:blue_book:](http://192.168.0.51:9000/coding_rules#rule_key=squid%3AS00108) 1. :arrow_down_small: [Remove this unused import 'org.apache.commons.logging.Log'.](http://git.zhiweidata.top/root/print-demo/blob/4dec70b8f40b3d94b93b22ffbe1050aa7f3e4227/src/main/java/com/zhiweidata/printdemo/LogTest.java#L4) [:blue_book:](http://192.168.0.51:9000/coding_rules#rule_key=squid%3AUselessImportCheck) 1. :arrow_down_small: [Remove this unused import 'org.apache.commons.logging.LogFactory'.](http://git.zhiweidata.top/root/print-demo/blob/4dec70b8f40b3d94b93b22ffbe1050aa7f3e4227/src/main/java/com/zhiweidata/printdemo/LogTest.java#L5) [:blue_book:](http://192.168.0.51:9000/coding_rules#rule_key=squid%3AUselessImportCheck) 1. :arrow_down_small: [Remove this empty class, write its code or make it an "interface".](http://git.zhiweidata.top/root/print-demo/blob/4dec70b8f40b3d94b93b22ffbe1050aa7f3e4227/src/main/java/com/zhiweidata/printdemo/LogTest.java#L7) [:blue_book:](http://192.168.0.51:9000/coding_rules#rule_key=squid%3AS2094) 1. :arrow_down_small: [Remove this unused "result" local variable.](http://git.zhiweidata.top/root/print-demo/blob/4dec70b8f40b3d94b93b22ffbe1050aa7f3e4227/src/main/java/com/zhiweidata/printdemo/PrintDemoApplication.java#L19) [:blue_book:](http://192.168.0.51:9000/coding_rules#rule_key=squid%3AS1481)
    Please register or sign in to reply
  • Administrator @root

    mentioned in commit c7923da1

    Apr 22, 2020

    mentioned in commit c7923da1

    mentioned in commit c7923da1479378e9661a037bca9b1d2802cd08a9
    Toggle commit list
  • Administrator @root

    merged

    Apr 22, 2020

    merged

    merged
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Reference: root/print-demo!1
×

Revert this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
×

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.