From 696c9bc84a26aad82397353601ecd0a7a505ab66 Mon Sep 17 00:00:00 2001 From: raghav-deepsource <71248328+raghav-deepsource@users.noreply.github.com> Date: Fri, 3 Dec 2021 12:56:52 +0530 Subject: [PATCH 1/2] Update Main.java --- source/com/example/Main.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/com/example/Main.java b/source/com/example/Main.java index 399d5d3..2cc01f4 100644 --- a/source/com/example/Main.java +++ b/source/com/example/Main.java @@ -26,6 +26,13 @@ static Main getThis() { double getThing() { return thing; } + + private String doSomething() { + for(int i=3; i < 10;i++){ + System.out.println("abc" + + i); + } + } /** * The main entrypoint. From c2f1bd63577023b80b989b8188dfbb5140faf26c Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 3 Dec 2021 07:27:04 +0000 Subject: [PATCH 2/2] Format code with google-java-format --- source/com/example/Main.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/source/com/example/Main.java b/source/com/example/Main.java index 2cc01f4..6fa1a47 100644 --- a/source/com/example/Main.java +++ b/source/com/example/Main.java @@ -1,7 +1,6 @@ package com.example; import com.example.api.APIQueryHandler; -import com.example.api.UrlRequest; import com.example.data.ConfigData; import java.io.BufferedReader; import java.io.File; @@ -26,13 +25,12 @@ static Main getThis() { double getThing() { return thing; } - - private String doSomething() { - for(int i=3; i < 10;i++){ - System.out.println("abc" + - i); - } - } + + private String doSomething() { + for (int i = 3; i < 10; i++) { + System.out.println("abc" + i); + } + } /** * The main entrypoint.