need help reviewing code

🙂
21 Replies
JavaBot
JavaBot•13mo ago
⌛ This post has been reserved for your question.
Hey @timo! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Unknown User
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
Timo
TimoOP•13mo ago
No description
Timo
TimoOP•13mo ago
need the getmapping but people i don t need interface
Unknown User
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
Timo
TimoOP•13mo ago
not gonna pay
Unknown User
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
Timo
TimoOP•13mo ago
ur just money hungry lol
Unknown User
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
Defective
Defective•13mo ago
@ARCHIMEDES don't advertise your services in #java-help You can do so in #legacy-looking-for-programmer only
Unknown User
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
Timo
TimoOP•13mo ago
Def ur able to help 🙂
Defective
Defective•13mo ago
I'm not sure. Please provide as many details as possible and post all relevant code, preferably in codeblocks, like this: ```java // your code here ``` Also we have a new channel - #code-review. You might want to check it out 😄
Timo
TimoOP•13mo ago
package com.example.Demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
public class DemoApplication {

// Entry point for the Spring Boot application
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}

// Example API endpoint (can be customized for your specific needs)
@GetMapping
public String hello() {
return "Hello World!";
}
}
package com.example.Demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
public class DemoApplication {

// Entry point for the Spring Boot application
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}

// Example API endpoint (can be customized for your specific needs)
@GetMapping
public String hello() {
return "Hello World!";
}
}
oh that is more fitting should i close this one?
Defective
Defective•13mo ago
It's up to you, we don't currently enforce posting in the code-review channel only. By the way, what exactly do you want us to review here?
Timo
TimoOP•13mo ago
ppl said the interface for the getmapping was wrong
Unknown User
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
YoungMoneyMitch
YoungMoneyMitch•13mo ago
Ditto to this^ the path is required
Unknown User
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st•13mo ago
I think they have already done that
JavaBot
JavaBot•13mo ago
Post Closed
This post has been closed by <@591288621345275915>.

Did you find this page helpful?