Skip to content

Commit

Permalink
removing unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Kausale committed Dec 4, 2024
1 parent ed94159 commit 7f1ae63
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
public class HelloWorldApplication {

// Example of dead code that will generate a warning in SonarQube
private void unusedMethod() {
System.out.println("This method is never used!");
}
// private void unusedMethod() {
// System.out.println("This method is never used!");
// }

public static void main(String[] args) {
SpringApplication.run(HelloWorldApplication.class, args);
Expand Down

0 comments on commit 7f1ae63

Please sign in to comment.